PDA

View Full Version : How do I set a different Logo per page with <if condition="THIS_SCRIPT?


Alfa1
01-05-2008, 06:06 PM
I want to have 3 different logo's on various pages:

1 one standard logo
2 one logo which becomes active if THIS_SCRIPT ='blog' OR 'groups'
3 one logo which becomes active if forumid = 176, 190, 174

2 Code: <if condition="in_array(THIS_SCRIPT, array(blog,groups))">
3 Code: <if condition="in_array($foruminfo['forumid'], array(176, 190, 174))">

How can I do this? Where should I place this code and how should i use it?

Opserty
01-05-2008, 08:05 PM
Well put it where ever your logo is, like in your header template probably.