Author Topic: what file does JROUTE use to translate URLs?  (Read 2284 times)

Lexiboy

  • Jr. Member
  • **
  • Posts: 65
    • Lemongrass House Moscow
what file does JROUTE use to translate URLs?
« 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.
With kind regards,
Alex Stienstra

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10158
  • VM3.9 Eagle Owl
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: what file does JROUTE use to translate URLs?
« Reply #1 on: April 12, 2012, 14:06:02 pm »
FE language en-GB.com_virtuemart.sef.ini
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/