show login form in the popup or lightbox
-
- Joomla! Apprentice
- Posts: 26
- Joined: Sat Oct 30, 2010 12:53 pm
show login form in the popup or lightbox
Hey all,
Please help me. i want to show my site login forms in the popup or lightbox. is there any way to implement this.
thanks in advance
sunil
Please help me. i want to show my site login forms in the popup or lightbox. is there any way to implement this.
thanks in advance
sunil
- MeeDNite
- Joomla! Enthusiast
- Posts: 249
- Joined: Sun Sep 21, 2008 3:31 am
Re: show login form in the popup or lightbox
Hi,
Use This:
Cheers,
Milad
Use This:
Code: Select all
<?php JHTML::_('behavior.modal'); ?>
<a class="modal" href="index.php?option=com_user&view=login&tmpl=component">login</a>
Milad
-
- Joomla! Apprentice
- Posts: 26
- Joined: Sat Oct 30, 2010 12:53 pm
Re: show login form in the popup or lightbox
Thanks Milad, its good...........
-
- Joomla! Fledgling
- Posts: 3
- Joined: Thu Nov 11, 2010 8:34 am
Re: show login form in the popup or lightbox
thx I was looking 4 that too
-
- Joomla! Apprentice
- Posts: 26
- Joined: Sat Oct 30, 2010 12:53 pm
Re: show login form in the popup or lightbox
Hi,
its working well in localhost, but not online........what can be the problem....
thanks & regards
sunil
its working well in localhost, but not online........what can be the problem....
thanks & regards
sunil
- MeeDNite
- Joomla! Enthusiast
- Posts: 249
- Joined: Sun Sep 21, 2008 3:31 am
Re: show login form in the popup or lightbox
it doesnt depend on where server is.
try deleting Cache folder contents
try deleting Cache folder contents
- verticalgrain
- Joomla! Enthusiast
- Posts: 105
- Joined: Mon Dec 01, 2008 4:16 am
- Contact:
Re: show login form in the popup or lightbox
Awesome, this is such a simple solution to a problem that I have often tried to solve.
- gilles007
- Joomla! Enthusiast
- Posts: 237
- Joined: Fri Jun 15, 2007 4:58 pm
Re: show login form in the popup or lightbox
Hi guys,
I'm also interested in getting this to work but I don't understand how/where to use the php code mentioned.
Can anyone lead me in the right direction please?
Cheers,
G
I'm also interested in getting this to work but I don't understand how/where to use the php code mentioned.
Can anyone lead me in the right direction please?
Cheers,
G
- Webdongle
- Joomla! Master
- Posts: 44089
- Joined: Sat Apr 05, 2008 9:58 pm
Re: show login form in the popup or lightbox
Another option would be to use JCE editor and mediabox
Create a link in a 'Hidden menu'
Use JCE advanced link to create a link with a lightbox popup
http://extensions.joomla.org/extensions ... editors/88
http://extensions.joomla.org/extensions ... ions/11357
Create a link in a 'Hidden menu'
Use JCE advanced link to create a link with a lightbox popup
http://extensions.joomla.org/extensions ... editors/88
http://extensions.joomla.org/extensions ... ions/11357
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
- gilles007
- Joomla! Enthusiast
- Posts: 237
- Joined: Fri Jun 15, 2007 4:58 pm
Re: show login form in the popup or lightbox
Thanks Webdongle,
your solutions sounds great but I'm having difficulties following your instructions.
how do I link to the plugin via the menu item?
G
your solutions sounds great but I'm having difficulties following your instructions.
how do I link to the plugin via the menu item?
G
-
- Joomla! Intern
- Posts: 74
- Joined: Wed Jan 14, 2009 6:55 pm
Re: show login form in the popup or lightbox
I added the two extensions to joomla, switched my editor and enabled the media box. However, I think I need a more expanded explanation of what to do next, as my attempts at hacking (a technical term for stumbling around in the dark) seem not to have gotten anywhere. I would greatly appreciate instructions that presume I am a dummy. Thanks!Webdongle wrote:Another option would be to use JCE editor and mediabox
Create a link in a 'Hidden menu'
Use JCE advanced link to create a link with a lightbox popup
http://extensions.joomla.org/extensions ... editors/88
http://extensions.joomla.org/extensions ... ions/11357
- Webdongle
- Joomla! Master
- Posts: 44089
- Joined: Sat Apr 05, 2008 9:58 pm
Re: show login form in the popup or lightbox
When you downloaded mediabox there is a link there called 'Documentation'
Clicking it leads to http://www.joomlacontenteditor.net/supp ... cemediabox
I suggest #5 on the list there
I think the term to use is called RTFM (Read The Fine Manual)
Clicking it leads to http://www.joomlacontenteditor.net/supp ... cemediabox
I suggest #5 on the list there
I think the term to use is called RTFM (Read The Fine Manual)
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
- gilles007
- Joomla! Enthusiast
- Posts: 237
- Joined: Fri Jun 15, 2007 4:58 pm
Re: show login form in the popup or lightbox
Webdongle...
I may be missing something here. checking the documentation, number5... appears to be:
"Select some text or an image to apply the link to (you can use the Image Manager to insert the image)."
this post is about linking from a menu item, not from an article. how does what you suggest come into play?
sorry for appearing ignorant but 2 of us can't follow what you're recommending.
any chance you could be clearer as to how to link the menu item directly to call the login component in a lightbox?
Thanks for trying to help us out.
I may be missing something here. checking the documentation, number5... appears to be:
"Select some text or an image to apply the link to (you can use the Image Manager to insert the image)."
this post is about linking from a menu item, not from an article. how does what you suggest come into play?
sorry for appearing ignorant but 2 of us can't follow what you're recommending.
any chance you could be clearer as to how to link the menu item directly to call the login component in a lightbox?
Thanks for trying to help us out.
- kurchania
- Joomla! Hero
- Posts: 2070
- Joined: Mon Sep 21, 2009 6:56 am
- Location: indore,india
- Contact:
Re: show login form in the popup or lightbox
@gilles007
Flexi Custom code
or
PHP By Fwd
Open that module and write this code:-
but now a days people create such module also for you so can use there module also
Qlogin popup
YJpopup Login
make Sense
download the following moduleany chance you could be clearer as to how to link the menu item directly to call the login component in a lightbox?
Flexi Custom code
or
PHP By Fwd
Open that module and write this code:-
Code: Select all
<?php JHTML::_('behavior.modal'); ?>
<a class="modal" href="index.php?option=com_user&view=login&tmpl=component">login</a>
Qlogin popup
YJpopup Login
make Sense
abhijeet kurchania
The future depends on what you do today
The future depends on what you do today
- gilles007
- Joomla! Enthusiast
- Posts: 237
- Joined: Fri Jun 15, 2007 4:58 pm
Re: show login form in the popup or lightbox
Thanks kurchania, I'd love to use the modules/plugins you listed.
I know how to use these from an image withing an article, However, how do I trigger the popup (module or plugin) from a menu link?
I know how to use these from an image withing an article, However, how do I trigger the popup (module or plugin) from a menu link?
- kurchania
- Joomla! Hero
- Posts: 2070
- Joined: Mon Sep 21, 2009 6:56 am
- Location: indore,india
- Contact:
Re: show login form in the popup or lightbox
open any menu and change its type to external menu
write this line:-
write this line:-
Code: Select all
http://yoursite.com/index.php?option=com_user&view=login&tmpl=component" class="modal
abhijeet kurchania
The future depends on what you do today
The future depends on what you do today
- gilles007
- Joomla! Enthusiast
- Posts: 237
- Joined: Fri Jun 15, 2007 4:58 pm
Re: show login form in the popup or lightbox
ahhhh.... perfect!!!
Thanks kurchania! Now it makes sense!
If I want to use one of:
Qlogin popup
YJpopup Login
Do I still need to use an ext url??? if so, how would I determine the link?
I appreciate your help.
Thanks kurchania! Now it makes sense!
If I want to use one of:
Qlogin popup
YJpopup Login
Do I still need to use an ext url??? if so, how would I determine the link?
I appreciate your help.
- kurchania
- Joomla! Hero
- Posts: 2070
- Joined: Mon Sep 21, 2009 6:56 am
- Location: indore,india
- Contact:
Re: show login form in the popup or lightbox
hi gilles007,
nope they are module and you don't need to specify any external link for them.they will process automatically.just publish them like a normal module.
but remember if you have community builder ,K2 or any other component which can alter login than don't use them.
nope they are module and you don't need to specify any external link for them.they will process automatically.just publish them like a normal module.
but remember if you have community builder ,K2 or any other component which can alter login than don't use them.
abhijeet kurchania
The future depends on what you do today
The future depends on what you do today
- gilles007
- Joomla! Enthusiast
- Posts: 237
- Joined: Fri Jun 15, 2007 4:58 pm
Re: show login form in the popup or lightbox
Thanks, Luckily, I don't have K2 or CB.
Sorry but I still don't know how to link to a module from a menu link. When creating a menu link, there are options for articles, components, ext url, etc. but no option to link to a module.
how is this done?
Sorry but I still don't know how to link to a module from a menu link. When creating a menu link, there are options for articles, components, ext url, etc. but no option to link to a module.
how is this done?
- kurchania
- Joomla! Hero
- Posts: 2070
- Joined: Mon Sep 21, 2009 6:56 am
- Location: indore,india
- Contact:
Re: show login form in the popup or lightbox
just enable the module.
read the document
no need for linking module to menu
read the document
no need for linking module to menu
abhijeet kurchania
The future depends on what you do today
The future depends on what you do today
- gilles007
- Joomla! Enthusiast
- Posts: 237
- Joined: Fri Jun 15, 2007 4:58 pm
Re: show login form in the popup or lightbox
kurchania,
but this is what I need... to use a menu link to trigger the login in the lightbox. My template is very clean and I don't want to have a module position dedicated to the login. If I did, this would be very easy, just publish the module in a mod position and done.
but I want to do this via a menu link.
I hope this makes sense.
PS. I can't find documentation for YJpopup Login on YouJoomla's site. I got the plugin but no doc. I must be losing my mind.
but this is what I need... to use a menu link to trigger the login in the lightbox. My template is very clean and I don't want to have a module position dedicated to the login. If I did, this would be very easy, just publish the module in a mod position and done.
but I want to do this via a menu link.
I hope this makes sense.
PS. I can't find documentation for YJpopup Login on YouJoomla's site. I got the plugin but no doc. I must be losing my mind.
- kurchania
- Joomla! Hero
- Posts: 2070
- Joined: Mon Sep 21, 2009 6:56 am
- Location: indore,india
- Contact:
Re: show login form in the popup or lightbox
http://yoursite.com/index.php?option=co ... =component" class="modal
use this
use this
abhijeet kurchania
The future depends on what you do today
The future depends on what you do today
- gilles007
- Joomla! Enthusiast
- Posts: 237
- Joined: Fri Jun 15, 2007 4:58 pm
Re: show login form in the popup or lightbox
will this not trigger the standard joomla login component instead of to the stylish YJpopup Login that I want to use?
- gilles007
- Joomla! Enthusiast
- Posts: 237
- Joined: Fri Jun 15, 2007 4:58 pm
Re: show login form in the popup or lightbox
FYI
I tried the code in a menu item, externa url type link:
http://yoursite.com/index.php?option=co ... =component" class="modal
didnt' work. It put the login component in an new page, not a lightbox.
I tried the code in a menu item, externa url type link:
http://yoursite.com/index.php?option=co ... =component" class="modal
didnt' work. It put the login component in an new page, not a lightbox.
- Webdongle
- Joomla! Master
- Posts: 44089
- Joined: Sat Apr 05, 2008 9:58 pm
Re: show login form in the popup or lightbox
looks like a copy of the original typo to meclass="modal
Try
class="modal"
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
- kurchania
- Joomla! Hero
- Posts: 2070
- Joined: Mon Sep 21, 2009 6:56 am
- Location: indore,india
- Contact:
Re: show login form in the popup or lightbox
@gilles007
write this thing in your template manager.lets see if that work for you.
<?php JHTML::_('behavior.modal'); ?>
write this thing in your template manager.lets see if that work for you.
<?php JHTML::_('behavior.modal'); ?>
abhijeet kurchania
The future depends on what you do today
The future depends on what you do today
- gilles007
- Joomla! Enthusiast
- Posts: 237
- Joined: Fri Jun 15, 2007 4:58 pm
Re: show login form in the popup or lightbox
kurchania
I just got it to work by using JCEpopup.
I may still try what you suggested as it would prevent me from loading another extension.
Thanks kindly for all your help.
Gilles
I just got it to work by using JCEpopup.
I may still try what you suggested as it would prevent me from loading another extension.
Thanks kindly for all your help.
Gilles
- Webdongle
- Joomla! Master
- Posts: 44089
- Joined: Sat Apr 05, 2008 9:58 pm
Re: show login form in the popup or lightbox
Would be useful to know how you used JCE popup to work of a menu item please.gilles007 wrote:.....
I just got it to work by using JCEpopup.
....
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
- kurchania
- Joomla! Hero
- Posts: 2070
- Joined: Mon Sep 21, 2009 6:56 am
- Location: indore,india
- Contact:
Re: show login form in the popup or lightbox
hi gilles007,
Webdongle solution is perfect for you.he told u that thing very earlier
no more experiment from my side now.live life in a peace.
Webdongle solution is perfect for you.he told u that thing very earlier
no more experiment from my side now.live life in a peace.
abhijeet kurchania
The future depends on what you do today
The future depends on what you do today
- gilles007
- Joomla! Enthusiast
- Posts: 237
- Joined: Fri Jun 15, 2007 4:58 pm
Re: show login form in the popup or lightbox
Hi Webdongle,
I put this in as an external URL link:
I hope that makes sense.
G
I put this in as an external URL link:
Code: Select all
http://www.mysite.com/index.php?option=com_user&view=login&tmpl=component" rel="width[400];height[500];" class="jcepopup
G
Last edited by gilles007 on Sun Mar 06, 2011 4:44 pm, edited 1 time in total.