how do i delete main menu items?

Started by erealmz, July 23, 2009, 01:12:26 PM

Previous topic - Next topic

erealmz

I want to completely remove the "help" menu item. I did it in smf1 but I dont remember how. When i look at the theme templates, i do not see any options to do this.

JBlaze

Can you attach your index.template.php?
Jason Clemons
Former Team Member 2009 - 2012

erealmz

this is the file for the theme i am using

JBlaze

Ah, you are using 2.0 RC1.2...

I thought you were using 1.1.x.

Can you attach /Sources/Subs.php?
Jason Clemons
Former Team Member 2009 - 2012

erealmz


JBlaze

That's the one :)

Now, upload this one and overwrite the old one.

This is the code I removed.
'help' => array(
'title' => $txt['help'],
'href' => $scripturl . '?action=help',
'show' => true,
'sub_buttons' => array(
),
),
Jason Clemons
Former Team Member 2009 - 2012

erealmz

It worked!!! The help page it gone. Thank you. :D

Advertisement: