Quote:
Originally Posted by Old-Git
I've been playing with this today and I am seeing the same problem as the others, the wrong tab is highlighted!
What I've done is very simple
1.) I've taken a copy of forum.php and renamed it archives.php
2.) I've edited archives.php to reflect this rename; define('THIS_SCRIPT', 'archives');
3.) I setup my tab to call archives.php?f=xx
Everything works as it should do except the focus remains on forum button! So, should I be doing something else like defining a phrase or something like that?
PS - I've discovered that if I simply call archives.php without the ?f=xx that the correct Archives tab highlights perfectly. The problem would appear to be a disjoint between the THIS_SCRIPT setting and the arguments being handed to the PHP file upon execution. Presumbaly this is fixable because if I use a simple piece of code to create a tab in the plugins section then this problem is not evident. Can anyone provide a solution or workaround for this?
|
What exactly are trying to do (the end result)? Be as detailed as possible.