Best way to have meta infos by rubrik

Author Message

Christophe Saint-Pierre

Friday 21 November 2008 12:30:33 am

Hi ,
we have a site with severals rubriks.
We would want to specifu a decription meta and keyword meta by rubrik.
What's teh best way to do this ?
Create a rubrique in site.ini.append.php like this :
[MiniSiteSettings]
MetaDataArray[description_doctorat]=Doctorat
MetaDataArray[keywords_doctorat]=Les enseignements de Doctorat

MetaDataArray[description_groupe]=Groupe
MetaDataArray[keywords_groupe]=Les enseignements de Groupe

Is it clean for ez ?

Thanks

Grégory BECUE

Friday 21 November 2008 1:10:33 am

Why not. It's not possible for you to add meta attribute in the class folder definition ? you can use this value in your template.

Christophe Saint-Pierre

Friday 21 November 2008 2:17:00 am

Oui.
Merci , c'est pas bete effectivement.
Je prefere cette solution qui permet aux editeurs du site de mettre a jour ces infos sans toucher aux fichiers de settings.
Merci pour l'idée.

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