Forum is closed

setMetaData extension

setMetaData extension

Hi
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:

Code:

<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:

Code:

// 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)
            {
                $document->setMetaData($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  current/big_smile

Administrator has disabled public posting. Please login or register in order to proceed.

Re: setMetaData extension

Thanks for submitting this.  I will pass it along to the other developers and we will get back to you as soon as possible.

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24140 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: setMetaData extension

gabore,

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!

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24140 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: setMetaData extension

Yes I would be glad to help.

Administrator has disabled public posting. Please login or register in order to proceed.

Re: setMetaData extension

Thanks.  I just PM'd you a link.  Let me know how your testing goes.  Thanks again for the suggestions.

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24140 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: setMetaData extension

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  current/big_smile

Administrator has disabled public posting. Please login or register in order to proceed.

Re: setMetaData extension

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  current/big_smile

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.

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24140 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: setMetaData extension

It definitely has my thumbs up. Like this it should become more popular. Well, it is a great help anyway if you want to avoid rewriting (and in some cases breaking) main template files.

Administrator has disabled public posting. Please login or register in order to proceed.

Re: setMetaData extension

Thanks for all your help.  I will try to make it available for the rest of the world as soon as I can.

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24140 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests also viewing this topic
There are 0 users also viewing this topic

Board Info

Board Stats
 
Total Topics:
11684
Total Polls:
0
Total Posts:
49047
Posts today:
3
User Info
 
Total Users:
47816
Newest User:
[email protected]
Members Online:
0
Guests Online:
911

Online: 
There are no members online
Social Stream
SourceCoast Joomla Social Extensions
Friday, 25 May 2018
JFBConnect 8.0 Coming Soon! Stay tuned.
Refer and Earn

Like our extensions? You're not alone! That's why they're used on tens of thousands of websites. Now you can earn 20% of any sale you refer to SourceCoast.com.

We provide excellent documentation, well laid out sales pages and great support. All you need to do is spread the word and we'll take care of the rest.

Learn About Our Affiliate Program