Lord_Helmchen VIP
Total posts: 28
12 Sep 2017 13:20

Hi, i have tested xmap plugin with osmap and its working fine. Thats the good news. But as i was testing i realised that when im force using ssl, all links still begins http. So there should be a check for ssl. Maybe like this:

$config = JFactory::getConfig();
$sslmode = $config->get('force_ssl', 0) == 2 ? 1 : (-1);

$node->link = Url::records($section, $item);
$node->link = JRoute::_($node->link, TRUE, $sslmode);

Maybe developers could update?

Last Modified: 22 Sep 2017


Sergey
Total posts: 13,730
22 Sep 2017 10:27

Updated. Thank you very much. Long time not solved issue.

Replay Topic
Uploading
Click here to upload and insert file from you hard drive: (png, gif, jpg, jpeg, zip, txt, rar)
Powered by Cobalt