News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Remove "FORUM", let "HOME" stay

Started by desibees, April 04, 2011, 07:53:20 PM

Previous topic - Next topic

desibees

Hi,
I have forum AND home. They are the same things. How can i remove "FORUM"  and make "HOME" the... main page.




I'm the.. Help abuser


Illori

you would need to edit your subs.php file. if you dont feel comfortable doing this yourself or you dont want to try, please attach your Sources/subs.php file to your next post.

redone

You would edit the /Sources/Subs.php file by searching for $buttons = array(

Should land you in the right direction. Backup your file before changing it.

~RedOne

Spoogs

I'm sure that's from the portal you're using, feel free to ask in the support thread for whichever portal that is, most if not all of them have a setting that deals with that.

desibees

#4
it doesn't have the settings that deals with it. here is my sources/subs.php

edit: is anyone working on it?


I'm the.. Help abuser


Illori

open your Subs.php file find
'forum' => array(
'title' => isset($txt['tp-forum']) ? $txt['tp-forum'] : 'Forum',
'href' => $scripturl . '?action=forum',
'show' => true,
),


and remove it from your file.

desibees

haha, worked like a charm.
Could you also help me remove "help" and when u click it, tinyportal help comes up.


I'm the.. Help abuser


Illori

i am not sure what you mean as the tp help is a sub button of the help button
'help' => array(
'title' => $txt['help'],
'href' => $scripturl . '?action=help',
'show' => true,
'sub_buttons' => array(
'tphelp' => array(
'title' => 'TinyPortal',
'href' => $scripturl . '?action=tpmod;sa=help',
'show' => true,
),
),
),

desibees

It was exactly what i wanted, thanks. topic solved.


I'm the.. Help abuser


Advertisement: