Jump to content

Photo
- - - - -

Edit Search Form

search form template admin

  • Please log in to reply
2 replies to this topic

#1 janinaeck

janinaeck

    Level 1

  • Members
  • Level
  • 1 points
  • 7 posts

Posted 18 October 2014 - 07:36 PM

hello guy,

 

can someone tell me, how can I remove the selcetion of the search box, I can't find a file I can edit the form.

 

The blue marked in the picture in the attachment.

 

best regards



#2 Ferry

Ferry

    Level 3

  • Members
  • Level
  • 63 points
  • 75 posts
    • Gender:Male
    • Location:Netherlands
    • Software:SE 4.8.x

Posted 19 October 2014 - 09:15 AM

hello guy,

 

can someone tell me, how can I remove the selcetion of the search box, I can't find a file I can edit the form.

 

The blue marked in the picture in the attachment.

 

best regards

 

If you do not wish to have a search bar within your social engine, you can follow this guide to remove it.

Find the following file:

/application/modules/Core/widgets/menu-mini/index.tpl

Back it up somewhere in so you have an unchanged copy if you mess something up and need to revert back to it.

Find and remove the following code:

<?php if($this->search_check):?>
    <li id="global_search_form_container">
    <form id="global_search_form" action="<?php echo $this->url(array('controller' => 'search'), 'default', true) ?>" method="get">
    <input type='text' class='text suggested' name='query' id='global_search_field' size='20' maxlength='100' alt='<?php echo $this->translate('Search') ?>' />
    </form>
    </li>
    <?php endif;?>

Save and reload your homepage. No more search bar.


Met vriendelijke groet / Kind regards / Mit freundlichen Grußen / Cordialement,


#3 janinaeck

janinaeck

    Level 1

  • Members
  • Level
  • 1 points
  • 7 posts

Posted 20 October 2014 - 11:21 AM

Hi,

 

thank you for your answer. It works :)

 

regards


Edited by janinaeck, 20 October 2014 - 11:30 AM.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users


All the resources listed here are just for testing purpose and they shouldn't be used at any commercial environment without a valid license.
Those are for users who wants to try them before buy. Help the developer to build it better by purchasing them from original authors.