Hi all.
I am using a tyemplate, and I would like to replace the default joomla login page with the login K2 User module. And this have to be as a Popup window.
So far I have been informed from the manufacture of the template to do following:
in the template's root, addning the following line in the head section of index.php:
<head>
<jdoc:include type="head" />
<?php JHTML::_('behavior.modal'); ?> <- This line added!
<?php require_once(YOURBASEPATH. DIRECTORY_SEPARATOR .'includes'. DIRECTORY_SEPARATOR .'jsn_head.php'); ?>
....
Then create a mod_custom module, with the following line added (in HTML-Mode);
<a class="modal" href="component/users/?view=login&tmpl=component">login</a>
This give me a 'login' link in the Top module position, but when I am klicking on this link I only get a white square popup with only the closing 'X' visible. And the page is "hanging".
I have been informed that the link or path may be wrong, but I cant get info on how to solve this.
Does any have a good idea?
Best Regards