VM Search not working correctly on most pages

GK User
Wed Jan 21, 2015 10:20 pm
The VM Search does not work on most pages.

Try search: "Sweater" or "Spiegel"

it works: http://www.jaja.0408429181.nl/
It doesn't work: http://www.jaja.0408429181.nl/spiegels

On this page the word "Sweater" works but "Spiegel" does not:
http://www.jaja.0408429181.nl/schilderi ... hilderijen

I 'm puzzled...
User avatar
Junior Boarder

GK User
Thu Jan 22, 2015 8:52 pm
I solved the problem by editing "/templates/gk_storefront/html/mod_virtuemart_search/default.php"

I replaced the text in line 4:

<form action="<?php echo JRoute::_('index.php?option=com_virtuemart&view=category&search=true&limitstart=0&virtuemart_category_id='.$category_id ); ?>" method="get">

with:

<form action="<?php echo JRoute::_('/component/virtuemart/search?&virtuemart_category_id='.$category_id ); ?>" method="get">

The search module was creating an url that wasn't working on my site. Do not not why, I'm not a programmer. Search works fine now.
User avatar
Junior Boarder

teitbite
Sat Jan 24, 2015 10:34 pm
Hi

Ok. Thank You for shearing this with us. I will pass this to programmers.
User avatar
Moderator


cron