News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

General Help

Started by Route, February 14, 2017, 02:39:33 PM

Previous topic - Next topic

Route

Hello guys. Well i need help with some edits that i need to do.

1) How can i add a new page, view-able only for members and add it to navbar ?
2) How can i edit navbar to be centered ?
3) How can i remove this ( see attach ) only from not logged in page ?

Thank you.

br360

1). Take a look at this link that will show you how to add tabs- http://www.simplemachines.org/community/index.php?topic=261880.0

There are also quite a few mods that will add tabs/buttons to your nav bar as well. Search menu, tab

2). This should center your nav bar- http://www.simplemachines.org/community/index.php?topic=328766.0

You can just install this mod if you don't feel comfortable editing code- http://custom.simplemachines.org/mods/index.php?mod=1772

3). Read this on how to remove the breadcrumb- http://www.simplemachines.org/community/index.php?topic=130912.0

Pretty sure that removes it for everyone though on every page and not just the log in page

Kindred

3 - why would you want to remove the linktree?

removing it will cause issues.... it is not recommended
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Sir Osis of Liver

If you don't want guests to see it anywhere -

index.template.php



// Show the navigation tree.
if (!$context['user']['is_guest'])
theme_linktree();


Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Steve

Route, a quick search turns up the same links br360 gave you. A lot quicker than waiting for someone to answer. ;)
DO NOT pm me for support!

Shambles

Questions 2 and 3 have already been asked elsewhere by this member.

Advertisement: