News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

I remove menu search but ... (Help me!!)

Started by Gonzalo Higuaín, July 19, 2015, 12:53:02 PM

Previous topic - Next topic

Gonzalo Higuaín

Hello! SMF Team.
I'm new member. I like Design Web But I Stupid.
English is not good
I'm developing. Please Help me!! and advice.

Step...
1. I remove menu search (success)
2. I Click search submit.(red)
3. I want remove search2 link at menu(green)





Thank you!!!! ;D

shadow82x

Did you remove all references to the search menu button in Sources/Subs.php?
Colin B
Former Spammer, Customize, & Support Team Member

Gonzalo Higuaín

I remove menu Search in Sources/Subs.php

** code **
'search' => array(
'title' => $txt['search'],
'href' => $scripturl . '?action=search',
// 'show' => $context['allow_search'],
'show' => false,
'sub_buttons' => array(
),
),


;D

Thank You!!!

Steve

Does that mean your question has been resolved?
DO NOT pm me for support!

Gonzalo Higuaín

problem!! 8)
I Search topic. click at Search-botton. error menu have new link.



you are ubderstand me...?? 8)

Gluz

You also need to remove/comment out this part in Subs.php
elseif ($context['current_action'] == 'search2')
$current_action = 'search';


That is the code to select the current tab in the menu.


Advertisement: