News:

Support the VirtueMart project and become a member

Main Menu

what file does JROUTE use to translate URLs?

Started by Lexiboy, April 12, 2012, 13:20:12 PM

Previous topic - Next topic

Lexiboy

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.
With kind regards,
Alex Stienstra

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/