Lord_Helmchen VIP
Total posts: 31
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,748
22 Sep 2017 10:27

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

Powered by Cobalt