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
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
-
- 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.
yes, probably you have to remove override for search module from template /html folder.
but it may request more customizations, as well.
-
- Platinum Boarder
- GK User
- Wed Jul 15, 2015 5:20 pm
You couldn't told me which file I've to modify?
-
- 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.
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.
-
- 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.
-
- 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
https://www.gavick.com/documentation/jo ... e-position
-
- Platinum Boarder
- GK User
- Fri Jul 17, 2015 11:21 am
I will do! Thank you for your great support
-
- 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
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
-
- Junior Boarder
8 posts
• Page 1 of 1