Keywords from Joomla Category....sheesh!
Posted on 2013-01-29
I'm using Joomla (2.5)
I have a Joomla plugin that will serve ads based on the keywords in the source. I am using a directory component that utilizes Joomla's CORE CATEGORIES and ARTICLES as the directory tree structure..
Within the CORE Joomla you can add keywords to the source at the GLOBAL SITE CONFIG level; and at the ARTICLE level. All you have to do is fill in the provided META fields and you are set.
Even though the CATEGORY level has the same META fields, the Developers decided that only way CATEGORY's can generate keywords from the META fields is if you publish a menu item for them......(Who develops like that?)
So, I need a custom script that I can place in the head of my template or use as an include that will pull the META DATA from which ever CATEGORY Page is being viewed and places it in the source...i.e. <meta name="keywords" content="keyword1, keyword2...
I thought this was a no brainer and I thought there might be an extension that does this but I cant find one..
Any assistance with the code would be much appreciated.