[FIXED] Sef Advance and Cherry Picker from Galt
- Greg
- Topic Author
- Offline
- New Member
11 years 7 months ago - 11 years 7 months ago #6977
by Greg
Joomla 3.4.3 / SefAdvance 1.8.0 / AJAX Register 1.8.8 / virtuemart 3.0.9.4 / PHP 5.4.43
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;
?
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
Last Edit: 11 years 7 months ago by Greg.
Please Log in or Create an account to join the conversation.
- Greg
- Topic Author
- Offline
- New Member
11 years 7 months ago #6979
by Greg
Joomla 3.4.3 / SefAdvance 1.8.0 / AJAX Register 1.8.8 / virtuemart 3.0.9.4 / PHP 5.4.43
Hopefully I've found the solution.
So for those who wants to:
You must edit the file:
modules/mod_vm_cherry_picker/controller.php
Comment the line (around line 813):
And just below add this line:
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.