Forums / Setup & design / Problem with meta tag

Problem with meta tag

Author Message

Siw Helen Thorslund

Friday 18 August 2006 7:17:57 am

We have a site that display the meta data like this:

<meta name="author" content="eZ systems" />

<meta name="copyright" content="eZ systems" />

<meta name="description" content="Content Management System" />

<meta name="keywords" content="cms, publish, e-commerce, content management, development framework" />

<meta name="0" content="Some text here" />

<meta name="1" content="Some text here" />

<meta name="2" content="Some text hereSome text hereSome text here" />

<meta name="3" content="Some text hereSome text hereSome text hereSome text hereSome text here" />

Anyone with any expreience from this problem?

www.VZT.no ( http://www.VZT.no )
VZT References ( http://http://vzt.no/index.php/vzt_eng/referanser )
VZT Extensions ( http://vzt.no/index.php/vzt_eng/extensions )
www.MediaBase.no ( http://www.MediaBase.no )

Claudia Kosny

Friday 18 August 2006 2:31:58 pm

Hello Siw

my apologies in advance for the rather obvious question but have you searched for the text 'some text here' in your (or better all) template files? To be on the safe side I would also look through the translation files. The lines '<meta name="1" till "3" seem to be created in a loop so I would check the templace code for that as well.

Good luck

Claudia

Per-Espen Kindblad

Saturday 19 August 2006 1:43:39 am

Hi Siw!

I would check out you settings/site.ini file, or settings/override/site.ini.append file.
In:
[SiteSettings]
....

And in your page_head.tpl, you'll see this code which extracts data from your site.ini file..

{section name=meta loop=$site.meta} <meta name="{$meta:key|wash}" content="{$meta:item|wash}" /> {/section}

Per-Espen Kindblad
-----------------------------
www.eznor.no

Siw Helen Thorslund

Saturday 19 August 2006 3:02:48 am

The tekst: "Some text here" is just some dummytekst I use in this forum. The tekst "Some text here" are on the site the correct author, copyright, description, keywords. So it display the correct data under the dummy-data from eZ. But with meta name="0", meta name="1" and so on.

Translation is not an issue with the meta tag.

Site.ini contains what it is supposed to contain (We have used this feature in all other sites too...).

Page_head.tpl is linked in from pagelayout.tpl, and contains the correct data.

This is set up the standard way, like we have done in a number of sites, but this time it just do not work correct. Strange...

www.VZT.no ( http://www.VZT.no )
VZT References ( http://http://vzt.no/index.php/vzt_eng/referanser )
VZT Extensions ( http://vzt.no/index.php/vzt_eng/extensions )
www.MediaBase.no ( http://www.MediaBase.no )

eZ debug

Timing: Jan 18 2025 02:50:44
Script start
Timing: Jan 18 2025 02:50:44
Module start 'content'
Timing: Jan 18 2025 02:50:45
Module end 'content'
Timing: Jan 18 2025 02:50:45
Script end

Main resources:

Total runtime0.9527 sec
Peak memory usage4,096.0000 KB
Database Queries199

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 587.7031180.8438
Module start 'content' 0.00660.8413 768.5469594.6406
Module end 'content' 0.84790.1048 1,363.1875337.3828
Script end 0.9526  1,700.5703 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00430.4545210.0002
Check MTime0.00160.1721210.0001
Mysql Total
Database connection0.00080.081710.0008
Mysqli_queries0.880192.38501990.0044
Looping result0.00160.17131970.0000
Template Total0.922496.820.4612
Template load0.00220.227320.0011
Template processing0.920296.592620.4601
Template load and register function0.00010.012710.0001
states
state_id_array0.00130.136510.0013
state_identifier_array0.00060.066620.0003
Override
Cache load0.00170.1806310.0001
Sytem overhead
Fetch class attribute can translate value0.00170.175640.0004
Fetch class attribute name0.00150.161660.0003
XML
Image XML parsing0.00290.307740.0007
class_abstraction
Instantiating content class attribute0.00000.001470.0000
General
dbfile0.00440.4607300.0001
String conversion0.00000.000830.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs