return '<li><a href="' . $url . '">' . $item->title . '</a></li>';
$target = $item->browserNav == 1 ? ' target="_blank" ' : '';
return '<li><a href="' . $url . '"' . $target . '>' . $item->title . '</a></li>';
alzander wrote: Robert,
Apologies for the delay! First, I'm glad to hear you like the SCLogin module. We put a lot of effort into it, so are always glad to hear it's being well received. We have a lot of improvements planned for it over the next few months as well that should make it even better.
As to your question.. well, you got us there! It looks like we don't support the new window option. It's a pretty simple fix to make the new window links open. To do so, please edit the /modules/mod_sclogin/helper.php file. Around line 465, you'll see:Please update that one line with the 2 below:return '<li><a href="' . $url . '">' . $item->title . '</a></li>';That will work for the New Window and Current Window options. It won't work for the popup view though as that's a little more difficult (and much less used).$target = $item->browserNav == 1 ? ' target="_blank" ' : ''; return '<li><a href="' . $url . '"' . $target . '>' . $item->title . '</a></li>';
Please let me know how that goes for you. We'll be including this fix in the next release, but would love to have your feedback beforehand.
Thanks,
Alex
Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.