Search

GK User
Sat Jun 20, 2015 8:15 pm
Hi
Tell me how to remove the function drop-down search?
How to remove this feature?

I did the usual search, but the function drop-down search is still active.
User avatar
Senior Boarder

GK User
Mon Jun 22, 2015 7:18 am
There is no dropdown search on our demo server and quickstart.
Could you please post an url to your site?
User avatar
Moderator

GK User
Mon Jun 22, 2015 12:43 pm
Hello
Installed clean template.
Search in the position "cart" works in the drop down box.
Like me in this position to make a regular search?
http://betbookmakers.ru
User avatar
Senior Boarder

GK User
Tue Jun 23, 2015 7:15 pm
If your site is a brand new one, perhaps it would be better to start with quickstart? All configuration is done there.
User avatar
Moderator

GK User
Tue Jun 23, 2015 7:28 pm
I want to make a search for a standard, how can this be done?
User avatar
Senior Boarder

GK User
Wed Jun 24, 2015 4:47 pm
the issue has been resolved
in the file default.php
code
Code: Select all
<?php if($this->API->modules('cart')) : ?>
            <div id="gkCart">
               <span id="gkCartCounter"><?php echo JText::_('GK_TPL_LOADING'); ?></span><i class="gk-icon-cart-add"></i>
            </div>
            
            <?php $this->layout->loadBlock('tools/cart'); ?>
            <?php endif; ?>

replaced
Code: Select all
<?php if($this->API->modules('cart')) : ?>
                <div class="search">
                <jdoc:include type="modules" name="cart" style="<?php echo $this->module_styles['cart']; ?>" />
                </div>
                <?php endif; ?>

in template.css added
Code: Select all
.search {
  float: right;
}

and you can delete file cart.php
User avatar
Senior Boarder

GK User
Wed Jun 24, 2015 5:16 pm
class better to put another )))
Code: Select all
<?php if($this->API->modules('cart')) : ?>
                <div class="search2">
                <jdoc:include type="modules" name="cart" style="<?php echo $this->module_styles['cart']; ?>" />
                </div>
                <?php endif; ?>

<div class="search"> no need to put )
and css
Code: Select all
.search2 {
  float: right;
}
User avatar
Senior Boarder

GK User
Fri Jun 26, 2015 7:10 am
I'm glad you could solve it out on your own.
Also, thanks for sharing the idea.
User avatar
Moderator


cron