PDA

View Full Version : Editing footer of home page only?


Fergal C
02-23-2012, 09:33 PM
I want to add some text to the footer of my forum home page. The text should only appear on the home page, i.e. it should not appear on every page of the site.

How do I do that?

Thanks,

Fergal

kh99
02-23-2012, 10:28 PM
You could edit the footer template and add your text inside a vb:if tag, like:

<vb:if condition="THIS_SCRIPT == 'index'">
This text only on forum home page
</vb:if>

Fergal C
02-24-2012, 06:52 AM
You could edit the footer template and add your text inside a vb:if tag, like:

<vb:if condition="THIS_SCRIPT == 'index'">
This text only on forum home page
</vb:if>

Thanks for your help kh99. For the "THIS_SCRIPT" part, do I write that exactly as it is, or do I need to replace the "THIS_SCRIPT" with something specific to my site?

kh99
02-24-2012, 10:38 AM
Thanks for your help kh99. For the "THIS_SCRIPT" part, do I write that exactly as it is, or do I need to replace the "THIS_SCRIPT" with something specific to my site?

I think it should work exactly like it is.

Fergal C
02-26-2012, 02:24 PM
Thanks very much kh99, that works perfectly.