Forums / General / Meta tags problem
K259
Thursday 31 August 2006 1:54:00 am
I got problems with the meta tag "description". Meta tag author and keywords are working great (fetching data/info from override/site.ini.append..), but in the sourcecode the description-tag just prints the path of the structure, even if I've specified another text in override/site.ini..
I don't really know why this is happening. In the pagelayout.tpl I 've: {section name=meta loop=$site.meta} <meta name="{$meta:key}" content="{$meta:item}" />{/section}
And this shall fetch the content from site.ini...
Hope someone know a solution on this.
Kristof Coomans
Thursday 31 August 2006 6:02:57 am
What do you mean with "the path of the structure"?
independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org
Thursday 31 August 2006 8:34:59 am
I got a variable path in the layout, to show the users the navigation path..it seems like it's this content the description var prints..but don't know why.
Claudia Kosny
Saturday 02 September 2006 3:47:38 am
Hello K259
Does the same happen if you use a foreach to go though site.meta?
What do you get if you do a {$site.meta|attribute('show', 2)}in your pagelayout, preferably right at the beginning of the template?
What happens if you do not include the part with the navigation path in your pagelayout?
Greetings from Luxembourg
Claudia