search and highlights position problem

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Fri May 29, 2015 1:17 pm
Reply with quote
Report this post
Hi, when i disable the "search" position then highlight position does not show please help
as i would like to get rid of the search module but keep the highlights.
User avatar
Junior Boarder

teitbite
Sun May 31, 2015 10:35 am
Reply with quote
Report this post
Could you please provide me with a URL to your website, either here or via PM (click the “Private Message” text underneath my avatar) so that I may analyze it? It is a lot easier for us to diagnose issues when we have a live site to examine.
User avatar
Moderator

GK User
Tue Jun 02, 2015 10:07 am
Reply with quote
Report this post
sent PM thanks
User avatar
Junior Boarder

teitbite
Wed Jun 03, 2015 6:09 pm
Reply with quote
Report this post
Hi

Please add this to override.css and make sure override is enabled in template settings:

Code: Select all
#gkTopNav, #gkToolbar {
border-bottom: 1px solid #e5e5e5;
border-top: medium none;
}


than edit file /layout/default.php and replace code:

Code: Select all
          <?php if($this->API->modules('search or highligths') || $this->API->get('updates_area', '1') == '1') : ?>
          <div id="gkToolbar">
             <?php if($this->API->get('updates_area', '1') == '1') : ?>   
             <div id="gkUpdates">
                <?php $this->layout->loadBlock('updates'); ?>
             </div>
             <?php endif; ?>
             
             <?php if($this->API->modules('highlights')) : ?>   
             <div id="gkHighlights">
                <jdoc:include type="modules" name="highlights" style="<?php echo $this->module_styles['highlights']; ?>" />
             </div>
             <?php endif; ?>
             
             <?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; ?>   
          </div>
          <?php endif; ?>


with:

Code: Select all
          <div id="gkToolbar">
             <?php if($this->API->get('updates_area', '1') == '1') : ?>   
             <div id="gkUpdates">
                <?php $this->layout->loadBlock('updates'); ?>
             </div>
             <?php endif; ?>
             
             <?php if($this->API->modules('highlights')) : ?>   
             <div id="gkHighlights">
                <jdoc:include type="modules" name="highlights" style="<?php echo $this->module_styles['highlights']; ?>" />
             </div>
             <?php endif; ?>
             
             <?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; ?>   
          </div>
User avatar
Moderator


cron