[SOLVED] Meta-Tags for keywords & description in News

General project discussion. NOT for help questions.
Post Reply
nils73
Power Poster
Power Poster
Posts: 520
Joined: Wed Sep 08, 2004 3:32 pm

[SOLVED] Meta-Tags for keywords & description in News

Post by nils73 »

Has anyone ever tried to put some meta-information using fields in news-module into the template? There are a few workarounds for title around here, but I kept wondering if it was possible to do this in any way.

Regards
Nils
Last edited by nils73 on Sun Mar 30, 2008 5:20 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Meta-Tags for keywords & description in News

Post by calguy1000 »

I posted a howto in the tips & tricks about how to modify the title

Well, you can do the same thing with keywords and description
it'd just take a bit more smarty logic, and some custom fields in News.

It's ugly, but it can be done.

There'll be a solution for this in 2.0
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
nils73
Power Poster
Power Poster
Posts: 520
Joined: Wed Sep 08, 2004 3:32 pm

Re: Meta-Tags for keywords & description in News

Post by nils73 »

That is good news. Both - the hint (could have thought of it on my own) and the changes in 2.0 --- I am really curious what 2.0 will be like.

Thank you for your help. If I get it working I will post my solution here ... maybe I am able to figure out some smart solution.

Regards
Nils
faglork

Re: Meta-Tags for keywords & description in News

Post by faglork »

Hi!
calguy1000 wrote: I posted a howto in the tips & tricks about how to modify the title
Where do I find that? I looked in the Handbook's tips and tricks section:
http://wiki.cmsmadesimple.org/index.php ... And_Tricks

but did not find anything?

Cheers,
Alex
alby

Re: Meta-Tags for keywords & description in News

Post by alby »

faglork wrote:
calguy1000 wrote: I posted a howto in the tips & tricks about how to modify the title
Where do I find that? I looked in the Handbook's tips and tricks section:
http://wiki.cmsmadesimple.org/index.php ... And_Tricks
In forum Tips And Tricks

Alby
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: [SOLVED] Meta-Tags for keywords & description in News

Post by calguy1000 »

I just found this plugin by doing some searching around the smarty site.

It's similar to what we're doing in 2.0

and should solve the problem for you.  It's a nice, elegant solution.

http://smarty.incutio.com/?page=BlockHeadPlugin
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Post Reply

Return to “General Discussion”