Skip to main content

Function hikashop_frontendLink generate non-sef ur

11 years 6 months ago #198599 by Arkadiy
-- 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.

11 years 6 months ago #198601 by Jerome
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.

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

11 years 6 months ago #198652 by Arkadiy
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.

11 years 6 months ago #198669 by Xavier
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.

11 years 6 months ago #198801 by Arkadiy
Thanks for the clarification.

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

Time to create page: 0.065 seconds
Powered by Kunena Forum