View Thread
All Panels and their Supported Threads goes here in this section.
Showing a side panel under certain conditions
|
|
Wanabo |
Posted on 21-02-2011 20:45
|
Super Admin Posts: 30 Joined: 27/12/2010 |
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. :( Code Download source if (FUSION_SELF."?forum_id=9" == "viewforum.php?forum_id=9") { It works fine when only FUSION_SELF and viewforum.php is used. I guess the problem is the questionmark and afterwards. |
|
|
Ankur |
Posted on 22-02-2011 18:45
|
Super Admin Posts: 29 Joined: 25/12/2010 |
Have you tried $_GET['forum_id'] or something like that ?
Be What you want to be...
|
|
|
Wanabo |
Posted on 25-02-2011 14:17
|
Super Admin Posts: 30 Joined: 27/12/2010 |
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. |
|
Jump to Forum |
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 |