News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Search results shows component/virtuemart.... url ?

Started by Pcwolf, July 28, 2013, 19:15:34 PM

Previous topic - Next topic

Pcwolf

I removed SE404SEF. indeed it does not work.

When i tried to enable the se404sef, url optimalisation then it will removed. But after the results, click on a product then it shows directly site.com/product and not site.com/category/categories/product and thats bad.

I removed the com_virtuemart on the url and now my url are this: component/virtuemart/zoeken?keyword=&limitstart=0&view=category  :D
That's great but it shows component/virtuemart again.

I removed one line on:
modules\mod_virtuemart_search\tmpl\default.php

<input type="hidden" name="option" value="com_virtuemart" />

But it's weird, If i click on my menu item and if i search there a product then the component/virtuemart/ url will removed and its this like this: .../nl/gsm-en-smartphone/zoeken/smartphones?keyword=&limitstart=0&view=category  ;D

So, when you search on the homepage then you will see the comp... url and if you search on a category page then it doesn't

I have see you topic page, i have the same and still not removed.

Pcwolf

I need to create a menu item for that ?
But i can't see the vm search item.

Maxim Pishnyak

Quote from: Pcwolf on July 29, 2013, 15:06:00 PM
I removed SE404SEF. indeed it does not work.
What doesn't work?

I can't say that non-sef search result url is a hazardous bug.
Quote from: Pcwolf on July 29, 2013, 15:06:00 PM
When i tried to enable the se404sef, url optimalisation then it will removed. But after the results, click on a product then it shows directly site.com/product and not site.com/category/categories/product and thats bad.

I removed the com_virtuemart on the url and now my url are this: component/virtuemart/zoeken?keyword=&limitstart=0&view=category  :D
That's great but it shows component/virtuemart again.

I removed one line on:
modules\mod_virtuemart_search\tmpl\default.php

<input type="hidden" name="option" value="com_virtuemart" />

But it's weird, If i click on my menu item and if i search there a product then the component/virtuemart/ url will removed and its this like this: .../nl/gsm-en-smartphone/zoeken/smartphones?keyword=&limitstart=0&view=category  ;D
Can't help much with configuring sh404sef.

I don't recommend you to broke php logic of VM search module.

Quote from: Pcwolf on July 29, 2013, 15:06:00 PM
So, when you search on the homepage then you will see the comp... url and if you search on a category page then it doesn't
Thank you for the pointing this!

Maybe it's necessary to create menu item for VM frontpage, and not only for VM categories?
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

Pcwolf

In SE404SEF when i use url optimalisation then when you search a product it shows directly the product and no /categegories/category/product.

Your idea to use front layout has worked!  :D :D

Now they are: nl/search/zoeken?keyword=&x=0&y=0&limitstart=0&view=category

Thank you  ;)

Maxim Pishnyak

Thanx for sharing your experience!

By the way it's probably not necessary to have displayed menu item for VM Frontpage.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart