Keyword

Login Link for K2 User Login Popup

  • Geirr Eggen
  • Geirr Eggen's Avatar Topic Author
  • Offline
  • New Member
More
11 years 11 months ago #105423 by Geirr Eggen
Login Link for K2 User Login Popup was created by Geirr Eggen
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

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum