What does the menu meta option do?
Last Updated on Tuesday, 20 July 2010 19:26 Written by Matthew Faulds Thursday, 28 January 2010 01:24
If we look at a standard Joomla install with default content.
Backend screenshot, default setup for The News menu item (screenshot 1), no way to set keywords or description for each menu:

Backend screenshot, Welcome to Joomla article in The News category (screenshot 2):

If we look at the frontend source for menu item: The News (Category blog layout) we can see the default metadata
keywords = joomla, Joomla description = Joomla! - the dynamic portal engine and content management system
and the frontend source for the Welcome to Joomla article in that category blog, we can see that child articles do have metadata:
keywords = joomla, cms, addkeywords description = Hello there, this is Joomla the great CMS!
Now install AddKeywords 0.7.x with "Add metadata to menus" set to yes:
Backend screenshot, setup for The News menu item (3), there is now the option to add metadata:

Frontend source for The News menu item: The News (Category blog layout), there is now menu specific metadata but the default Joomla description still overrides the menu's description:
keywords = News, latest, menu, metadata description = Joomla! - the dynamic portal engine and content management system
To enable custom menu descriptions we need to delete the default Joomla meta description in the Global Configuration. Once we've done that, the frontend source for The News menu item reads:
keywords = News, latest, menu, metadata description = This is the News menu item!
Frontend source for the Welcome to Joomla article in that category blog, meta data still from the article:
keywords = joomla, cms, addkeywords description = Hello there, this is Joomla the great CMS!
So, Add Keywords allows you to have separate metadata for your top level content pages! As far as we're aware, no other Joomla metadata solution does this yet! All others that add metadata to the menu item which makes the child article inherit the metadata from the menu.
Login
Make a Donation...