Log in

View Full Version : Adding Popup Code to Forum Template


Mondi
05-15-2012, 01:03 AM
Hi all -

I am planning to add a popup email subscription form to my board and have found an application that helps me with this.

The application instructs me to use the code it generates as shown in the attachment:

I am now looking for the template(s) to which the two code blocks need to be added - could anyone give me advise on which one(s) please?

I am specifically referring to the code/instructions under Step 1,2 and 3, as shown in the attachment.

Thanks heaps for assistance in advance - look forward to receiving your response(s).

Mondi

kh99
05-16-2012, 09:52 AM
Step 1 would go in the headinclude template. If the popup's only going to be on the forum home page, then you'd want an 'if' around it, like:

<vb:if condition="THIS_SCRIPT == 'index'">
// paste code here
</vb:if>


Steps 2 and 3, you should just be able to edit the FORUMHOME template and follow the instructions.