Function hikashop_frontendLink generate non-sef ur

  • Posts: 4
  • Thank you received: 0
9 years 7 months ago #198599

-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.1
-- PHP version -- : 5
-- Error-message(debug-mod must be tuned on) -- : None

Function hikashop_frontendLink generate non-sef url.
administrator/components/com_hikashop/helpers/helper.php
string 778
$config = hikashop_config();
$app = JFactory::getApplication();
if(!$app->isAdmin() && $config->get('use_sef',0)){
$link = ltrim(JRoute::_($link,false),'/');
}
'use_sef' not found in settings, but 'activate_sef' found.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
9 years 7 months ago #198601

Hi,

The option "use_sef" is not available because it is not possible to generate a SEF url when you're in the backend.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 4
  • Thank you received: 0
9 years 7 months ago #198652

1. I have not found the option 'use_sef' in the store settings. What page is it, and what is named?
2. On the front function hikashop_frontendLink generate non-SEF link from my script.

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

  • Posts: 13201
  • Thank you received: 2322
9 years 7 months ago #198669

Hi,

It is a hidden option, to set a value to it you have to do that directly from the phpMyAdmin interface and in the table "#__hikashop_config" add/edit the entry "use_sef" and set it to "1" to force SEF.

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

  • Posts: 4
  • Thank you received: 0
9 years 7 months ago #198801

Thanks for the clarification.

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

Time to create page: 0.071 seconds
Powered by Kunena Forum