"lang" Parameter in SEF Router

  • Posts: 109
  • Thank you received: 5
9 years 7 months ago #214343

-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.4.2
-- PHP version -- : 5.5.28

Hello, there.

Good evening!

Please could you attach the file that was changed in Hikashop 2.4.0 to remove the "lang" parameter in the SEF router?

According to www.hikashop.com/support/documentation/5...ashop-changelog.html , there was the following bug fix:

"•We now skip the "lang" parameter in the SEF router in order to avoid a new behaviour of Joomla 3.4 which was adding an extra unnecessary parameter to the URLs when the system language filter is activated."

Thanks.

Take care!

Please Log in or Create an account to join the conversation.

  • Posts: 83674
  • Thank you received: 13545
  • MODERATOR
9 years 7 months ago #214360

Hi,

We changed the line:

if(!in_array($name,array('option','Itemid','start','format','limitstart'))){
to:
if(!in_array($name,array('option','Itemid','start','format','limitstart','lang'))){
in the file components/com_hikashop/router.php

The following user(s) said Thank You: lumiere, Ed_Hika

Please Log in or Create an account to join the conversation.

  • Posts: 109
  • Thank you received: 5
9 years 7 months ago #214888

Thanks, Nicolas. Works beautifully!

Take care!

The following user(s) said Thank You: lumiere

Please Log in or Create an account to join the conversation.

Time to create page: 0.059 seconds
Powered by Kunena Forum