I was told to tell about how I imagine adding some features to this great plugin here: [url:1awprm6f]http://extensions.joomla.org/extensions/site-management/seo-a-metadata/9882[/url:1awprm6f]
So here's the idea: Add an 'Add new meta' button to the plugin that opens fields for 'content' + either 'name' or 'http-equiv'.
I was trying to 'hack' it together myself by adding a line to the plugins xml file:
<param name="http-equiv" type="text" default="" label="http-equiv" description="This is the http-equiv metadata to set." />
And also change some lines in the php code in the onAfterInitialise function:
// Try to get our http-equiv parameters
$http_equiv = $this->params->get('http-equiv', '');
$content = $this->params->get('content', '');
// If we have both a name and content, set it.
if($http_equiv && $content)
So an http-equiv and a new content filed appeared in the plugin configuration, but it didn't become displayed on the page source. I would guess the $document->setMetaData doesn't accept http-equiv.
Get back to me when you can
We hired a developer to help us make the changes you were requesting to the setMetaData plugin. If we email you a copy, can you test it out for us before we make it available for everyone?
Thanks for your help!
I installed the plugin and it seems to be doing exactly what I wanted - checked the page source and all the tags were added.
It's nice to have the 'scheme' property, too - though I had to look it up what it is for
Cool. Glad it works.
We can add a better description to scheme so people don't have to go look it up. I don't know what it means, either, so I will have to look it up to add the description
If it has your thumbs up, I will go ahead and package it up and release it for everyone else.
Thanks again for your suggestion and help testing.