MyBB Community Forums

Full Version: Where is Header Template?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello
I would appreciate if anyone could answer this question. I am using mybb1.2.10 with default template, on the front index page upper right is
a string of links: Search Member List Calendar Help : exactly as on this page.
What file do I have to edit to add my own links to those four? Please don't say "edit your header template" because that is the reason for this question.
I need a filename please, what specific file? Many many Thanks for an answer.
Admin CP --> Templates --> Modify / Delete --> *Choose template set and click 'Expand'* --> header
rh1n0 Wrote:Admin CP --> Templates --> Modify / Delete --> *Choose template set and click 'Expand'* --> header
Thanks for the quick reply, but I think we misunderstood each other here, I don't need to change fontsize or fontcolors, i need to manually edit whatever file the links are in to add my own links, such as i did with a dozen other forums, theme manager mostly edits css files. thanks again for any other ideas.
No there was no misunderstanding Toungue

You add the links in the header template. Find the following in the template:
					<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/search.gif" alt="" />{$lang->toplinks_search}</a></li>
					<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/memberlist.gif" alt="" />{$lang->toplinks_memberlist}</a></li>
					<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/calendar.gif" alt="" />{$lang->toplinks_calendar}</a></li>
					<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/help.gif" alt="" />{$lang->toplinks_help}</a></li>
After that you can add your own links like:
					<li><a href="{$mybb->settings['bburl']}/portal.php">Portal</a></li>
DennisTT Wrote:No there was no misunderstanding Toungue

You add the links in the header template. Find the following in the template:
					<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/search.gif" alt="" />{$lang->toplinks_search}</a></li>
					<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/memberlist.gif" alt="" />{$lang->toplinks_memberlist}</a></li>
					<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/calendar.gif" alt="" />{$lang->toplinks_calendar}</a></li>
					<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/help.gif" alt="" />{$lang->toplinks_help}</a></li>
After that you can add your own links like:
					<li><a href="{$mybb->settings['bburl']}/portal.php">Portal</a></li>

Thanks a bunch Dennis
It was my misunderstanding, guess I need some new glasses, I was clicking on the themes block. I didn't see the templates block before.
You made an excellent reply and I really appreciate your time.
good question I always wanted to know where it was as well