![]() |
[CMS] Meta Tags for CMS only
Hi there,
I have to insert a javascript inside the <head></head> of my sites. So far that works for every page but the CMS. As the CMS is the homepage/starting page, I have to insert a different javascript, that identifies this one as the "homepage" to seperate the function of that javascript from subsites in the forum. In the headinclude template I can make use of Code:
<vb:if condition="$show['threadinfo']"> What I am looking for is something similiar for the CMS. I know that some meta-tags can be inserted through the CMS editor. Though, these meta tags are only for keywords etc so this doesn?t help me to include a javascript for CMS-pages only. Isn?t there something around like a Code:
<vb:if condition="$show[CMS_CONTENT']"> Anyone an idea? |
Maybe this is what you're looking for:
Code:
<vb:if condition="THIS_SCRIPT == 'vbcms'"> |
Thanks for being helpful, Andrea. :up:
Found out about that yesterday, too. Mark at vb.com gave me a hand on that. Sometimes the secret of a riddle lies right in front of you - but your eyes keep ignoring it until someone else sticks his finger into the wound ;) |
You're welcome :)
|
All times are GMT. The time now is 10:50 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|