PDA

View Full Version : using conditional template edits


cmedic101
07-17-2008, 01:12 PM
lets ask the experts..

I am trying to use this command to display a ticker in one forum only.

Here is the command...<if condition="$forum[forumid] ==50"></if><center><SCRIPT LANGUAGE="JavaScript1.2" src="http://www.codeamber.org/js/hcodea.js">
</script>
</P>
</center>
<!-- end of Code Amber Ticker code (c)Copyright codeamber.org 2002 - 2008

This entry was made in the forumdisplay template. however the ticker shows in all forum.
I just want it to display in one forum only:)

any ideas where I went wrong?

regards
Cmedic101

Opserty
07-17-2008, 01:15 PM
<if condition="$forum[forumid] ==50"></if><center><SCRIPT LANGUAGE="JavaScript1.2" src="http://www.codeamber.org/js/hcodea.js">
</script>
</P>
</center>

There's your problem. ;)

(See: Template Conditionals (http://www.vbulletin.com/docs/html/main/template_conditionals) if you're still stuck).

cmedic101
07-17-2008, 01:28 PM
Got it! Thanks for your help and the link to the conditionals.

Sincerely!

Cmedic101