PDA

View Full Version : How to put topictitle as decription in metatag


TCB
09-14-2004, 07:31 PM
I tried to set the topictitle as content for the "description" metatag:

In the headinclude template I now have:<meta name="description" content="$thread[title]" />

But that gives a blanc description. But that same $thread[title] works for the title:$vboptions[bbtitle] - $thread[title]

Can somebody help me with this? :D

nexialys
09-14-2004, 07:40 PM
the headinclude is filtered before the content of the site,... to have that description tag, you have to put that in the top of the showthread template..

kall
09-14-2004, 08:25 PM
Can somebody help me with this? :D

I just posted how to do it here: http://www.vbulletintemplates.com/mods/showthread.php?p=54501#post54501

nexialys
09-14-2004, 08:47 PM
KAll.. if you have an answer for this request, please post it here. vbulletintemplates.com is not accessible by everybody, and the need to register to all these sites is not really appreciate.

i see your hack is interesting, but even me that is a coder here have no access to downloads because i'm not a regular of that site... please release it here to make this members happy !!!

;)

kall
09-14-2004, 09:40 PM
KAll.. if you have an answer for this request, please post it here. vbulletintemplates.com is not accessible by everybody, and the need to register to all these sites is not really appreciate.

i see your hack is interesting, but even me that is a coder here have no access to downloads because i'm not a regular of that site... please release it here to make this members happy !!!

;)
I can't man. I wish I could, but it's against the rules.

It's pure template modification. Headinclude, with a THIS_SCRIPT conditional, and SHOWTHREAD and FORUMDISPLAY.

If an admin or mod wants to post it, then they can...cos they can bend the rules.

KW802
09-30-2004, 06:34 PM
the headinclude is filtered before the content of the site,... to have that description tag, you have to put that in the top of the showthread template..HHhhmm.... looks like I can include the foruminfo variables in the headinclude but not the thread variables. :(

TCB
01-08-2005, 10:20 AM
the headinclude is filtered before the content of the site,... to have that description tag, you have to put that in the top of the showthread template..

Thanks! That did the trick :up: