AJAX SEARCH PRO

Support desk for Multipurpose Quark Theme
GK User
Fri Apr 08, 2016 3:42 pm
Hi, I have a problem. Decided to replace the Joomla search module by a module that responds specifically to the search of products in VirtueMart. As above, the module works well integrated into a submenu in the MainMenu. When I pass the mouse over the name of the button on the main menu "NEAR QUI", it opens the search texbox ... and to this point everything works fine. This search engine allows you to automatically display pictures of products VirtueMart ... The problem is that try just move the mouse focus to one of the products as a result of the search, the sugmenu closes without giving me the time to do click on the image / product result ... Any solution ?, thanks, greetings ... :?: :oops:

*Attached image...

AJAX_SEARCH_PRO_MODULE.jpg
User avatar
Platinum Boarder

GK User
Sun Apr 10, 2016 11:39 am
I think in this case as a solution is sufficient that the module is always visible, as you did with the same module in the menu for mobile devices, thanks, greetings ...
User avatar
Platinum Boarder

teitbite
Thu Apr 14, 2016 12:31 pm
Hi

Yes, there is no other option than to move it to a different location, some other module position, since the proposed articles are not an element of search but a very own element only appearing close it.

Unfortunately I do not see a space for this module on top of Your site.
User avatar
Moderator

GK User
Thu Apr 14, 2016 7:07 pm
Hello, I found a response from you to this problem some time ago: Thank you, very much... Some idea?
Moderator:
...Most of the templates has a search/cart/login hidden under a button, which You should click in order to see it. Having that in mind I would suggest a module in submenu and it's cleaner, but if You need it an the site all the time than adding a new module position is the only option.

Unfortunately I do not see a place it could be located, so You need to tell me exactly. I've added a new module position already with this code:

CODE: SELECT ALL
<?php if($this->API->modules('cart')) : ?>
<div class="top-search">
<jdoc:include type="modules" name="top-search" style="none" />
</div>
<?php endif; ?>


in /layout/default.php.

Now please add Your module to module position "top-search" (type it in the module position field, it's not on a list). So I'll be able to see it and move it where You want it.

https://www.gavick.com/forums/quark/search-module-49934
User avatar
Platinum Boarder

teitbite
Fri Apr 22, 2016 9:16 pm
Hi

Using submenu for search module was a good solution. Problem is with this new module which is counting the position of it's options directly from website's root layer. There is simply no space for that, so I've come up with a solution I hope You will like since I've put a lot of work to it.
User avatar
Moderator

GK User
Sat Apr 23, 2016 9:50 am
Hi, thanks for the answer, I'll probably like it, but your words, curiosity will not let me sleep ... please at least tell me concerned. Greetings, thank you heart. René.
User avatar
Platinum Boarder

teitbite
Mon Apr 25, 2016 10:42 am
Hi

It's implemented already :) Just looks at Your site. I've added a button which is opening AJAX search module when clicked. I've placed this button next to cart button.
User avatar
Moderator

GK User
Tue Apr 26, 2016 8:55 am
Hi. The solution is optimal, super, I like a lot and is the perfect solution, I am happy and great maid ... always if possible, I have noticed one thing to improve: * In some cases, the name of the product in VirtueMart is a little longer and in that case could not be seen, as would be off the screen to the right. It is possible to make a small change: - Align the TextBox search to point 2 on the right, that is, with the center of the icon in order to search and lengthen the Search TextBox to align with the point 1. With this change, the text the result leaves left-aligned will always be visible and aligned ... I send photo attached. You think of this idea ?, thank you, greetings. René.
pd: Something so also for GTraslator module would be perfect, but I understand that is a modified hire separately ... Thanks, greetings from Italy. :?: :idea: :D

AJAX_PRO_TEXBOX.jpg
User avatar
Platinum Boarder

teitbite
Tue Apr 26, 2016 10:38 am
Hi

A small override to this module:

Code: Select all
.ac_results {
    margin-left: -83px;
    width: 300px !important;
}
User avatar
Moderator

GK User
Tue Apr 26, 2016 2:38 pm
Hi. perfect. You think you can align the search box to box results, right ?, and even better if we both have the same width box and are separated by a few pixels between them ... I send photo, thank you , regards... :idea: :?:

AJAX_PRO_BOX_1-2.jpg
User avatar
Platinum Boarder

teitbite
Thu Apr 28, 2016 4:25 pm
Hi

I've added some changes. Please check.
User avatar
Moderator

GK User
Thu Apr 28, 2016 4:34 pm
Hi. I confirm that everything is now perfect. You are very professional and competent, I thank you heart per these changes that are very useful ... Thanks, greetings. Rene Santana
User avatar
Platinum Boarder

teitbite
Fri Apr 29, 2016 10:25 am
Hi

Ok. Great to hear that. Closing this thread now.
User avatar
Moderator

GK User
Fri Apr 29, 2016 3:51 pm
Hi Teitbite,

it is possible to share your solution with me, i would like to implement the ajax search button also on my site.

Thank You
User avatar
Fresh Boarder

teitbite
Sun May 01, 2016 6:47 pm
Hi

I'm sorry, but it turn into what You can see after a month of changes, so I do not know what is the original and what modified code.
User avatar
Moderator


cron