SimplePortal

Customization => Themes and Graphics => Topic started by: gngf123 on January 27, 2011, 04:40:57 AM

Title: Navbar current action is set to "forum"
Post by: gngf123 on January 27, 2011, 04:40:57 AM
Hey guys, I recently installed SP on my site - www.theblankpages.co.uk - and so far, I am loving it.

However, there is still one problem that needs fixing:

In the navbar, the current action is set to "forum" when using the portal. Would it be possible to set it as something else, so that the "home" button is selected when on the portal?

EDIT:

I did post a second problem, but found the solution myself. The one posted above still remains however.
Title: Re: Navbar current action is set to "forum"
Post by: AngelinaBelle on January 27, 2011, 05:10:51 PM
Please have a look at the "add the forum action" section of the custom theme tutorial. This should give you some ideas.
http://simpleportal.net/index.php?topic=148.0 (http://simpleportal.net/index.php?topic=148.0)
 
If you are still stuck after trying this out, please report back here again.
 
 
Title: Re: Navbar current action is set to "forum"
Post by: gngf123 on January 27, 2011, 05:16:06 PM
I had tried that earlier, while it did have a small amount of success, it resulted in me having 2 "Forum" buttons, no "Help" button, and some other mixed up stuff. So it didn't quite work out.

Thanks for the help.
Title: Re: Navbar current action is set to "forum"
Post by: AngelinaBelle on January 27, 2011, 07:31:25 PM
Thanks for letting me know. 
It helps when you let me know what exactly you tried and where you got stuck.
The first go around -- sounds like you modifed the HELP button instead of taking a copy of it.
 
You are using a standalone portal, so your buttons, as you have them, are fine.
You have left out some of the "fancy" if statements, so the forum button won't disappear if you ever disable SimplePortal. But that's OK.
 
You need to add the home and forum actions.
I just followed the directions in the Tutorial, and added some lines.  Please test this out and see if it works for you.
Title: Re: Navbar current action is set to "forum"
Post by: gngf123 on January 28, 2011, 03:09:34 AM
That is a great start, working much better than what it was before.

There was a minor spelling error in the template that you posted, which was causing the "forum" button to not highlight when in use. Now that is fixed everything works properly.

Thanks.
Title: Re: Navbar current action is set to "forum"
Post by: AngelinaBelle on January 28, 2011, 09:03:21 AM
Great!  I just followed the instructions in the tutorial.
SimplePortal 2.3.8 © 2008-2024, SimplePortal