Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jun 2006
Posts: 626
Addict
Addict
Joined: Jun 2006
Posts: 626
How do I add something new to the Menu Bar, or whatever it is called?

By Menu Bar, I mean that which contains Portal Page, Forum List, My Stuff, etc.

What php file is it, and where is it located?

I had it figured out in 6.5.5

I haven't yet figured it out for version 7.

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
You're looking for the header.tpl template file. If you've set the permissions on your templates to be writeable you can edit this in the control panel in the Templates section. Otherwise you'll need to edit the file via ftp. templates/default/header.tpl

Joined: Jun 2006
Posts: 956
Old Hand
Old Hand
Joined: Jun 2006
Posts: 956
Is there an example available how to enter another drop down menu in header.tpl? I like to ada an 'extra' meneu entry who contains all what I add to the board such as chat and gallery for example.


my board: http://www.dragonclan-forum.de
my hobby: http://www.biker-reise.de
Ich kann bei Fragen zu UBBthreads in Deutsch weiterhelfen oder es zumindest versuchen
Joined: Jun 2006
Posts: 626
Addict
Addict
Joined: Jun 2006
Posts: 626
Thank you.

How can I remove one without actually deleting it from the file itself, as I may wish to use it again in the future?

Joined: Jun 2006
Posts: 1,344
G
veteran
veteran
G Offline
Joined: Jun 2006
Posts: 1,344
You can comment it out using

<!--
text or code
-->

Joined: Jun 2006
Posts: 626
Addict
Addict
Joined: Jun 2006
Posts: 626
Thank you.

Joined: Jun 2006
Posts: 626
Addict
Addict
Joined: Jun 2006
Posts: 626
I came back here as I had forgotten how I had done the Menu Bar changing thing.

This is a good question that didn't get answered.
Originally Posted by Zarzal
Is there an example available how to enter another drop down menu in header.tpl? I like to ada an 'extra' meneu entry who contains all what I add to the board such as chat and gallery for example.

Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
try
https://www.ubbcentral.com/forums/ubbthreads.php/ubb/showflat/Number/227001
for reference on where to edit the header.tpl file.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jun 2013
Posts: 3
H
stranger
stranger
H Offline
Joined: Jun 2013
Posts: 3

How can I remove one without actually deleting it from the file itself, as I may wish to use it again in the future?

Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
You can comment it out with the // per line.
Then add what your edited line is.
look at the top of the file you are editing ad you will see a example.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
1 members (Havenofsobriety), 522 guests, and 99 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)