Hi, I want to change the sef created by virtuemart for manufacturer.How can I do that?
This URL : http://demo.com/index.php/manufacturer/demo
To This : http://demo.com/index.php/myowntext/demo
Thanks.
try changing COM_VIRTUEMART_SEF_MANUFACTURER="manufacturer"
in components\com_virtuemart\language\en-GB\en-GB.com_virtuemart.sef.ini
Now it changed to : http://demo.com/index.php/component/virtuemart/myowntext/demo
But I want : http://demo.com/index.php/myowntext/demo
use .htaccess for full SEF urls
oops, GJC Web Design posted another reply before I finished typing this :)
The index.php in the url will go away when you rename the file htaccess.txt to .htaccess in your Joomla root folder.
In order to remove component/virtuemart/ from the url, you need to create menu items with the item type 'VirtueMart Manufacturer Details Layout'
Changing COM_VIRTUEMART_SEF_MANUFACTURER="manufacturer" to changing COM_VIRTUEMART_SEF_MANUFACTURER="myowntext" should be done as a Joomla language file override at Extensions > Language Manager > Overrides tab.
The final result of the SEF url depends on your menu structure and using for example the Virtuemart Manufacturers Module as a menu can give a different result than using a standard Joomla menu.
Thank you guys for reply. But its not working the way I wanted.
I changed COM_VIRTUEMART_SEF_MANUFACTURER='myowntext' using language override but its not using my custom text,its still using manufacturer.
For creating the menu type manufacturer details,I want the products to have manufacturer url dynamic,so I can't do that too.
Any suggestions? Thanks.
Quote from: BulletProof47 on September 29, 2014, 01:44:25 AM
I changed COM_VIRTUEMART_SEF_MANUFACTURER='myowntext' using language override but its not using my custom text,its still using manufacturer.
1st suggestion: Clear your Joomla and browser and cache.
2nd suggestion: You might still have 'manufacturers' in your url if you don't have a Joomla menu item set to 'VirtueMart Manufacturer Details Layout' for that manufacturer.
You probably need two language keys in the Joomla language overrides (select yourlanguage - site in the overrides tab):
COM_VIRTUEMART_SEF_MANUFACTURER="myowntext"
COM_VIRTUEMART_SEF_MANUFACTURERS="myowntext"
Note that you can use a hidden (not published) menu if you don't want to display the Joomla menu with all manufacturers in the frontend and display the VM Manufacturers module instead.