The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
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']"> <vb:elseif condition="$show['foruminfo']" /> <meta name="keywords" content="{vb:raw foruminfo.title_clean}, {vb:raw vboptions.keywords}" /> <meta name="description" content="<vb:if condition="$pagenumber > 1">{vb:rawphrase page_x, {vb:raw pagenumber}}-</vb:if>{vb:raw foruminfo.description_clean}" /> <vb:else /> <meta name="keywords" content="{vb:raw vboptions.keywords}" /> <meta name="description" content="{vb:raw vboptions.description}" /> </vb:if> 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? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|