Wednesday 30 September 2009 4:17:03 am
For meta tags in your html headers, you have basically a couple of options, but there will be some coding required - add them in some custom ini files, and alter the pagelayout template to read those ini files and echo the appropriate meta-tags depending on node url; easy to code, hard to maintain - add some html_meta attributes to your classes, and use them in the pagelayout template. To avoid fetching again the current node in your pagelayout template on every page view, optimize this by using a cache block or, even better, the persistent_variable; a bit harder to setup (you will need to add the same attributes to all your content classes) but it will allow editors to manage those meta tags. As an alternative, you can look up extensions on projects.ez.no or http://ez.no/developer/contribs. One that seems to fit your bill is http://projects.ez.no/fezmetadata
Principal Consultant International Business
Member of the Community Project Board
|