[FIXED] Sef Advance and Cherry Picker from Galt

11 years 7 months ago - 11 years 7 months ago #6977 by Greg
Yes, already done.

But if I do that, there's another component that have url not rewrite.

In fact, the best solution would be to have an option that permit to exclude something (component/module ?) from the non-sef if the non-sef is set to yes.

or perhaps there's a way to do that by a regex in the sef_ext of virtuemart ?

As the module concern by this issue is only used in the shop.

something like a:
If (preg_match '/&product_type_id/') return;
?

Joomla 3.4.3 / SefAdvance 1.8.0 / AJAX Register 1.8.8 / virtuemart 3.0.9.4 / PHP 5.4.43

Please Log in or Create an account to join the conversation.

11 years 7 months ago #6979 by Greg
Hopefully I've found the solution.

So for those who wants to:
  • use mod_vm_cherry_picker in virtuemart (with sef_ext.php).
  • and keep the option "Redirect non-SEF URLs" to YES.

You must edit the file:
modules/mod_vm_cherry_picker/controller.php

Comment the line (around line 813):
//		$this->baseurl = chpconf::option('urlbase') .'index.php?option=com_virtuemart&page=shop.browse&Itemid='.$itemid.'&category_id='.$category_id.'&limitstart=0';

And just below add this line:
$this->baseurl = chpconf::option('urlbase') .'?limitstart=0';

Joomla 3.4.3 / SefAdvance 1.8.0 / AJAX Register 1.8.8 / virtuemart 3.0.9.4 / PHP 5.4.43

Please Log in or Create an account to join the conversation.

About us

We provide high quality Joomla components created by a co-founder and original core developer of Joomla. For over a decade, our products have been used by more than 20.000 webmasters around the world.

Stay in touch