VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: Lexiboy on April 12, 2012, 13:20:12 PM

Title: what file does JROUTE use to translate URLs?
Post by: Lexiboy on April 12, 2012, 13:20:12 PM
Joomla 1.7.3 & VM 2.0.4.

Hello all,

What file does JROUTE use to translate URLs?

I have a URL that gets translated into a URL that does not work, so I would like to find this. Adding a / after the URL parameter does fix this specific URL, but that is an ugly fix. I need to find the actual problem which is most likely language orientated.

in the template default_pricelist.php, line 303:

<?php if(!empty($this->layoutName) && $this->layoutName=='default') echo JHTML::_('link', JRoute::_('index.php?view=cart&task=editpayment/',$this->useXHTML,$this->useSSL), $this->select_payment_text,'class=""'); else JText::_('COM_VIRTUEMART_CART_PAYMENT'); ?>

So JROUTE translates task=editpayment wrong, the resulting URL does not work.
edit_shipment does not have this problem, just taks= is left out in the resulting URL.

thanks in advance for pointing me in the right direction.
Title: Re: what file does JROUTE use to translate URLs?
Post by: Milbo on April 12, 2012, 14:06:02 PM
FE language en-GB.com_virtuemart.sef.ini