Search module

GK User
Wed Jul 15, 2015 3:30 pm
Hello,
I would like to move search module from "black" bar to above (as you can see in the attached screenshot).

How can I do this?

Thanks
P
User avatar
Junior Boarder

GK User
Wed Jul 15, 2015 4:59 pm
Hi,
yes, probably you have to remove override for search module from template /html folder.
but it may request more customizations, as well.
User avatar
Platinum Boarder

GK User
Wed Jul 15, 2015 5:20 pm
You couldn't told me which file I've to modify?
User avatar
Junior Boarder

GK User
Wed Jul 15, 2015 11:30 pm
Start from editing
layout/default.php - located in Gk template folder
in line 85 , instead of this
<i class="gk-icon-search" id="gkSearchBtn"></i>

you have to add real, new module position (in help section we have guide about how) then publish there a search module.
---
Officially we cannot help in customizations, but that small above tip should help.
User avatar
Platinum Boarder

GK User
Thu Jul 16, 2015 12:41 pm
I think that it's a not big customization and you can provide this kind of info.
User avatar
Junior Boarder

GK User
Fri Jul 17, 2015 8:27 am
Spend some time on reading our documentation please:
https://www.gavick.com/documentation/jo ... e-position
User avatar
Platinum Boarder

GK User
Fri Jul 17, 2015 11:21 am
I will do! Thank you for your great support
User avatar
Junior Boarder

GK User
Fri Jul 17, 2015 1:39 pm
If someone is interested to do the same modification.


In /template name/layout/default.php move

<?php if($this->API->modules('search')) : ?>
<div id="gkSearch">
<jdoc:include type="modules" name="search" style="<?php echo $this->module_styles['search']; ?>" />
</div>
<?php endif; ?>

from div id="gkHeaderTop"
to div id="gkHeaderNav".

Then, of course, you need to modify css
That's all
User avatar
Junior Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.