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 )

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 05:16:00
Script start
Timing: Jan 18 2025 05:16:00
Module start 'layout'
Timing: Jan 18 2025 05:16:00
Module start 'content'
Timing: Jan 18 2025 05:16:01
Module end 'content'
Timing: Jan 18 2025 05:16:01
Script end

Main resources:

Total runtime0.7712 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 589.0234152.6250
Module start 'layout' 0.00510.0033 741.648439.4453
Module start 'content' 0.00840.7617 781.0938589.5625
Module end 'content' 0.77010.0011 1,370.656312.1719
Script end 0.7712  1,382.8281 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4175160.0002
Check MTime0.00140.1859160.0001
Mysql Total
Database connection0.00080.100010.0008
Mysqli_queries0.715992.8224620.0115
Looping result0.00050.0690600.0000
Template Total0.741296.120.3706
Template load0.00200.264120.0010
Template processing0.739295.842920.3696
Template load and register function0.00010.013910.0001
states
state_id_array0.00120.161410.0012
state_identifier_array0.00090.111720.0004
Override
Cache load0.00180.2299310.0001
Sytem overhead
Fetch class attribute can translate value0.00120.154430.0004
Fetch class attribute name0.00110.146860.0002
XML
Image XML parsing0.00110.138930.0004
class_abstraction
Instantiating content class attribute0.00000.001570.0000
General
dbfile0.00250.3302190.0001
String conversion0.00000.001240.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs