Customizing SMF > Graphics and Templates
Adding buttons help.
Hirsidor:
Hey all,
I added my buttons like explained in this tutorial, http://wiki.simplemachines.org/smf/Buttons_-_How_do_I_add_buttons_to_SMF_2.0.
The problem is that when i click on my new buttons the buttons do not change like they should be. instead my de menu shows that you are looking in the home page. You can look at my site to see the problem. www.hidorma.com [nofollow].
I attached the subs file and themplate theme file.
hope some one can help me?
cya
mashby:
Just to clear up a couple of things. I see these menu items on your site:
Prospective, Map, Rules, Wiki, Donate, and Auction
Which I believe some are the result of adding a mod? You certainly have a portal mod installed and it's affected the menu in a good way. What about those others?
Hirsidor:
The only thing the mod added was the portal. The other pages i added by adding a page in the mod, that page is a link then and does not make a button for you. So i made some buttons in the main menu to get the buttons. Is this your answer?
Thanks for your replay!:D
mashby:
Yeah. OK. That makes sense. Because those actions are part of the portal, they are defaulting to the Home button when active as that is the defined action. Maybe you could make those subitems of the portal array instead?
Hirsidor:
Ohh now i get it. The page where i go to says it is part of the home portal. that is why it says you are in portal. I would like to keep it like this and not add it as an sub array to the home button. You know how to edit the files that they become a new page? or did i make a new page wrong? are there other ways that with a portal mod?
thanks for great responds!
Navigation
[0] Message Index
[#] Next page
Go to full version