Login in popup window

Your code modifications and patches you want to share with others.
Locked
versatile3
Joomla! Apprentice
Joomla! Apprentice
Posts: 33
Joined: Wed Aug 12, 2009 2:36 pm

Login in popup window

Post by versatile3 » Mon Mar 15, 2010 5:51 pm

Hi Friends,

I displayed the login form in popup window like this,

$link = JRoute::_('index.php?tmpl=component&option=com_user&view=login');
$this->setRedirect($link);

The problem is after login the form , the entire site is loaded on the pop up window. But i want to display the text "Successfully logined".

Please let us know, how to do this.

Thanks in advance...

User avatar
RJP
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 214
Joined: Mon Apr 10, 2006 10:26 pm
Location: UK
Contact:

Re: Login in popup window

Post by RJP » Mon Jul 12, 2010 9:43 pm

Just randomly found this via google, so might as well try and help...

Have you tried - $link = JRoute::_('index2.php?tmpl=component&option=com_user&view=login');

Using index2.php in joomla 1.0.15 hides the main site output... haven't tested it in 1.5 though. Let me know!
Please read forum rules regarding the use of signatures: http://forum.joomla.org/viewtopic.php?f=8&t=65


Locked

Return to “Core Hacks and Patches”