obey-robots.txt
View Thread
All Panels and their Supported Threads goes here in this section.
 Print Thread
Showing a side panel under certain conditions
Wanabo
Trying to code a side panel that only appears if a certain condition is met (viewforum.php?forum_id=9). But I seem to be stuck. :(


if (FUSION_SELF."?forum_id=9" == "viewforum.php?forum_id=9") {
openside("test");
echo THEME_BULLET." test
";
closeside();
}


It works fine when only FUSION_SELF and viewforum.php is used. I guess the problem is the questionmark and afterwards.
Cool
 
Ankur
Have you tried $_GET['forum_id'] or something like that ?
Be What you want to be...Wink
 
www.php-fusion.in
Wanabo
Yes but can't get it to work.

But I will try another way. Not comparing part of urls but reading the title tags or forum category name to match a keyword that triggers the panel to display.

My experiments in this direction where not successful.
Cool
 
Jump to Forum
New Thread Post Reply
Use BBcode or HTML to refer to; 'Showing a side panel under certain conditions'
BBcode:
HTML:
Simular threads
Subject Discussion Forum         Last Post
Problem in Like or Not like Panel MODs : 2 13/12/2012
Problem in Quicksign Panel MODs : 2 13/12/2012
Admin Panel Report a Bug / Error : 2 24/01/2011
Similar Threads
Thread Forum Replies Last Post
Problem in Like or Not like Panel MODs 2 13-12-2012 16:49
Problem in Quicksign Panel MODs 2 13-12-2012 12:59
Admin Panel Report a Bug / Error 2 24-01-2011 16:11