SimplePortal
Support => English Support => Topic started by: codebirth on November 09, 2008, 10:56:47 AM
-
Hello!
I have installed SimplePortal Version Classic 2.0.5 Stable in a fresh install of SMF 2.0 Beta 4 and everything seems to be ok, but I have a problem with the section highlight in the nav bar. I attach a image of this problem.
When I am in the Home section, the nav bar highlights the word Forum instead of Home. How can I fix that? :scared-blue:
Any help would be appreciated ;)
-
Can anyone tell me if this is a bug please?
-
I'm not sure, but I think there is a code missing.
You installed it manual to your theme, I'm right?
Please check if the following codes are there:
Find
$current_action = 'search';
Replace with
$current_action = 'search';
if (isset($_GET['board']) || isset($_GET['topic']))
$current_action = 'forum';
if ($context['current_action']=='spadmin')
$current_action = 'admin';
And please check if this is there too:
Find
, 'login', 'help', 'pm'
Replace with
, 'login', 'help', 'pm', 'forum', 'spadmin'
Maybe the developers of the Portal can take a look of what I wrote. ;)
-
@codebirth,
Not sure if thats a bug. It works fine in the default theme, and should work for all custom themes because its SMF 2 Beta. Any chance you could post a copy of your '/Themes/{themename}/index.template.php' and 'Subs.php' files as attachments (see additional options when you post) so that I could have a look?
@Manu,
Those are the edits for SMF 1.1.x.
-
Here are both files.
Thanks for your help :)
BTW: I installed through the Packages section, not manual.
-
Is it always like that? Or just happens when you are viewing the second page of articles on portal?
Can we see your forum? You pm me if you don't want to post it public.
-
Sorry the forum is not online yet, I'm working on local with WAMP server.
This happens always. I tried few minutes ago to do another fresh intall with SMF 2.0 Beta 4 + DS-Natural theme + Simple Portal and when I enable SimplePortal without even adding any block or article it's already highlighting FORUM when i go to HOME.
-
Can you try the suggested fix here?:
http://simpleportal.net/index.php?topic=788.0
-
Can you try the suggested fix here?:
http://simpleportal.net/index.php?topic=788.0
Thanks, that fixed the problem :D
-
Okay. I guess XAMMP appended something to query_sting. Anyway, note this change, as you may need to take it back before upgrading the mod to next version.
-
Yes, my query strings look like this in FORUM section
index.php?PHPSESSID=1cc3d85047b3a7c4ed5bbac398cd9545&action=forum
and like this in HOME section
index.php?PHPSESSID=1cc3d85047b3a7c4ed5bbac398cd9545&
Is that PHPSESSID added by WAMP server? :o
Edit: Hmmm it's strange, IE is not appending anything to the query string and the active button works perfect without the fix you posted. The PHPSESSID is being appended only with Firefox... :0
-
It is related to the cookies. You might have some restrictions for cookies in IE.
-
Arghh you are right, I had the cookies blocked for localhost domain in Firefox. Now it works perfect 8)
Thanks again SiNaN! :applause:
-
You're welcome. ;)