"Zero" below the search field

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
Tue Feb 04, 2014 11:45 pm
Reply with quote
Report this post
Hi,

A "0" (zero) is showing below my search field.

Why is that and how do I remove it?

Thanks.

URL interjakt.onelime.se
User avatar
Junior Boarder

GK User
Tue Feb 04, 2014 11:49 pm
Reply with quote
Report this post
Hi,
1) Please update template to new version - if won't help
2) https://www.gavick.com/forums/storebox- ... 32056.html
User avatar
Platinum Boarder

GK User
Wed Feb 05, 2014 1:58 pm
Reply with quote
Report this post
Hi,

I checked, no updates. Also the forum link but my file does not look the same:

<?php

// no direct access
defined('_JEXEC') or die;

?>

<section class="search<?php echo $this->pageclass_sfx; ?>">
<?php if ($this->params->get('show_page_heading', 1)) : ?>
<header>
<h1>
<?php if ($this->escape($this->params->get('page_heading'))) :?>
<?php echo $this->escape($this->params->get('page_heading')); ?>
<?php else : ?>
<?php echo $this->escape($this->params->get('page_title')); ?>
<?php endif; ?>
</h1>
</header>
<?php endif; ?>

<?php echo $this->loadTemplate('form'); ?>
<?php if ($this->error==null && count($this->results) > 0) :
echo $this->loadTemplate('results');
else :
echo $this->loadTemplate('error');
endif; ?>
</section>
User avatar
Junior Boarder

GK User
Wed Feb 05, 2014 4:31 pm
Reply with quote
Report this post
Find this file:
gk_instyle\html\mod_search\default.php

between line 17 and 18
add
Code: Select all
else :
$button = '';


must be
Code: Select all
 endif;
         else :
            $button = '';
         endif;
User avatar
Platinum Boarder

GK User
Sat Feb 08, 2014 10:45 am
Reply with quote
Report this post
Thanks! Works!!
User avatar
Junior Boarder


cron