Remove text from the menu....

Started by keyboard, September 03, 2015, 12:45:15 AM

Previous topic - Next topic

keyboard

Hi
Please tell me how I can remove the word  "Donations" from the Menu Bar.....I do not want to remove the mod, I just want to not be able to see the word "Donations" on the Menu Bar.
Please see attachment.


As always, many thanks
Ron
Слaва
Украинi

br360

It depends on what mod you are using. Have you tried asking this question in that mod's support topic? You'll probably have much better results getting this answered by the mod author or other people that use that mod.

Pipke

In /Sources/Subs.php find: and delete the complete donation array

'menu_action' => array(
'title' => 'text for menu',
'href' => $scripturl,
'show' => true,
'sub_buttons' => array(
'sub_menu_action' => array(
'title' => 'text for sub-menu',
'href' => $scripturl . '?action=newaction',
'show' => true,
'is_last'=> true,
),
),
),


But then i guess with the text  'Donations' so, --> 'donations' => array( etc etc

More info here
"If something is wrong, fix it if you can. But train yourself not to worry: Worry never fixes anything."

Click here to view my mods for SMF

Hey 👋 Did i helped... you like what i do. You can now buy me a coffee! ☕

Antechinus

Or, if you want a basic CSS hide trick:

Code (Add to the end of index.css) Select
#button_donations {display: none;}

Illori

Quote from: Pipke on September 03, 2015, 04:55:39 AM
In /Sources/Subs.php find: and delete the complete donation array

'menu_action' => array(
'title' => 'text for menu',
'href' => $scripturl,
'show' => true,
'sub_buttons' => array(
'sub_menu_action' => array(
'title' => 'text for sub-menu',
'href' => $scripturl . '?action=newaction',
'show' => true,
'is_last'=> true,
),
),
),


But then i guess with the text  'Donations' so, --> 'donations' => array( etc etc

More info here

that is given the author of that mod did not use a hook to add the button and it is actually found in the subs.php.

Advertisement: