MyBB Community Forums

Full Version: Delete something from the forum links on top
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How do I delete something from the forum links on the top of the page like 'Calendar'?
I don't need it and it's really annoying me :/


Grtz,
LoStIt!
You should edit this template:

"header"

path: acp>> ##your template## >> header template >>header
ACP -> Templates / Styles -> Templates -> *expand template set* -> Header Templates -> header

The code you need to modify is below:
                                        <li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>
					<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/memberlist.gif" alt="" title="" />{$lang->toplinks_memberlist}</a></li>
					<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />{$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="" title="" />{$lang->toplinks_help}</a></li>
Those are in the template "header". In your ACP go to Templates and Style, then Templates. Click on your theme, expand "Header Templates" then click "header" and remove the list item for Calender.
(2011-02-19, 06:05 PM)Shukaku Wrote: [ -> ]ACP -> Templates / Styles -> Templates -> *expand template set* -> Header Templates -> header

The code you need to modify is below:
                                        <li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>
					<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/memberlist.gif" alt="" title="" />{$lang->toplinks_memberlist}</a></li>
					<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />{$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="" title="" />{$lang->toplinks_help}</a></li>

it is better than that edit this yourself. because templates are different.
I think it is for default
What are you talking about? The code is the same regardless of the template.
Thank you guys, I really appreciate the fast support and lots of 'em lolz Wink
(2011-02-19, 06:09 PM)Shukaku Wrote: [ -> ]What are you talking about? The code is the same regardless of the template.

Plenty of themes don't follow the original structure of the default theme.
I know their structure is different, but the code is the same, regardless of where it is in the templates :p
(2011-02-19, 06:14 PM)Shukaku Wrote: [ -> ]I know their structure is different, but the code is the same, regardless of where it is in the templates :p

Not necessarily Toungue Regardless, I'm sure LoStIt will have no trouble finding it.