Hi,
I found a small Bug in emerald 10.
in plugin "Emerald - Restricter" if you enable "Require subscription" then Emerald javascript link (like /index.php/component/emerald/?task=emajax.mainJS&Itemid=1) does not works because it redirect to homepage.
The solution is to add this link exception in file /plugins/system/emerald/emerald.php, to solve I have changed line 462 from: if((in_array($input->getCmd('view'), $allow) && $option == 'com_emerald') || $option == 'com_users')
to if((in_array($input->getCmd('view'), $allow) && $option == 'com_emerald') || $option == 'com_users' || $input->getCmd('task')=='emajax.mainJS')
Regards
Hi, I found a small Bug in emerald 10.
in plugin "Emerald - Restricter" if you enable "Require subscription" then Emerald javascript link (like /index.php/component/emerald/?task=emajax.mainJS&Itemid=1) does not works because it redirect to homepage.
The solution is to add this link exception in file /plugins/system/emerald/emerald.php, to solve I have changed line 462 from:
if((in_array($input->getCmd('view'), $allow) && $option == 'com_emerald') || $option == 'com_users')
toif((in_array($input->getCmd('view'), $allow) && $option == 'com_emerald') || $option == 'com_users' || $input->getCmd('task')=='emajax.mainJS')
Regards