Shape 5

Joomla Templates => CleanOut - Club => : shecmt January 22, 2013, 02:44:21 PM



: Adding Search at top of site
: shecmt January 22, 2013, 02:44:21 PM
I removed the Login and SignUp buttons from the top of the site and want to insert a Search there. When I assign a search module to Login, Register, or Search, nothing happens. How can I place a search at the top of the site beside or under the Main Menu?


: Re: Adding Search at top of site
: jonahh January 22, 2013, 04:35:23 PM
Hello,

Yes we dont have the search module position included in this template.  If you want to add just use below:

<?php if ($s5_pos_search == "published") { ?>
                  <div id="s5_search_wrap">
                     <?php s5_module_call('search','notitle'); ?>
                  </div>
               <?php } ?>


: Re: moving logo?
: xolution January 25, 2013, 09:58:13 AM
Hi

Is it possible to move the logo position to center over the menu?

/Martin


: Re: Adding Search at top of site
: jonahh January 28, 2013, 06:16:03 PM
Hello,

This would require custom coding in order to do this


: Re: Adding Search at top of site
: shecmt January 29, 2013, 01:30:41 PM
Hello,

Yes we dont have the search module position included in this template.  If you want to add just use below:

<?php if ($s5_pos_search == "published") { ?>
                  <div id="s5_search_wrap">
                     <?php s5_module_call('search','notitle'); ?>
                  </div>
               <?php } ?>

The search module is working well, however, the search module position is not listed in the "hide mobile/tablet" divs section of the template manager and putting "class=hide_750" in the search module title doesn't do anything. Is there a way to hide the search module when the screen is sized down to 750px (which is when the search icon appears in the mobile bars)?


: Re: Adding Search at top of site
: jonahh January 29, 2013, 02:38:18 PM
Can you post a URL of this?


: Re: Adding Search at top of site
: indussoft February 04, 2013, 09:18:10 AM
i tried adding this code
<?php if ($s5_pos_search == "published") { ?>
                  <div id="s5_search_wrap">
                     <?php s5_module_call('search','notitle'); ?>
                  </div>
               <?php } ?>

and published the search in "search" position but the search bar appears below the logo and above image slider (with approx. 1024px)
how can i fix it at the right of menu


: Re: Adding Search at top of site
: indussoft February 04, 2013, 09:50:28 AM
here is the screenshot

also when search is published at search position menu disappears ???


: Re: Adding Search at top of site
: indussoft February 04, 2013, 11:52:41 PM
where is s5_search_wrap in CSS?


: Re: Adding Search at top of site
: jonahh February 05, 2013, 03:04:38 PM
You would have to add search wrap css as this template does not include a search position in it.


: Re: Adding Search at top of site
: jonahh February 05, 2013, 04:34:15 PM
You will need to change

<?php s5_module_call('search','notitle'); ?>

to

<?php s5_module_call('search','round_box'); ?>

if you want the title of the search module to be shown


: Re: Adding Search at top of site
: alafkovi February 05, 2013, 08:20:41 PM
Which file do we add this code to?  I might be interested in adding search functionality as well... thanks, great template, getting more and more used to it :)

Hello,

Yes we dont have the search module position included in this template.  If you want to add just use below:

<?php if ($s5_pos_search == "published") { ?>
                  <div id="s5_search_wrap">
                     <?php s5_module_call('search','notitle'); ?>
                  </div>
               <?php } ?>


: Re: Adding Search at top of site
: jonahh February 06, 2013, 04:41:29 PM
This would be added to the index.php file


: Re: Adding Search at top of site
: shecmt February 12, 2013, 03:21:16 PM
Is there a way to change the default search used by the mobile bars icon to a different search engine (such as the Smart Search component or the K2 Search module)?


: Re: Adding Search at top of site
: jonahh February 12, 2013, 05:14:31 PM
Hello,

The search engine for mobile bar is set in the following file at line 159:

templates\cleanout\vertex\responsive\responsive_mobile_top_bar.php


: Re: Adding Search at top of site
: shecmt February 14, 2013, 09:21:39 AM
There isn't a line 159 in "responsive_mobile_top_bar.php", it only goes up to line 133 in the "cleanout" template. Do you know which line I'd need to change to make it use the search function from mod_k2_tools?


: Re: Adding Search at top of site
: jonahh February 14, 2013, 03:44:02 PM
Hello,

Make sure you are looking at the correct file, I just checked and it has about 263 lines in it.