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 )