Advertisement

LogOn Popup Modal

Need help with the Administration of your Joomla! 4.x site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
trikeman
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Fri Jan 08, 2016 5:25 am

LogOn Popup Modal

Post by trikeman » Fri Jan 05, 2024 5:44 pm

Greetings:
A while back, I found a link about putting an image of an open lock on the menu and when you selected it, you would get the login form as a popup. Well, I guess I should have written it down because I want to use it again. I've copied the Menu option just as it was into a new site and I don't see anything. Not sure at this point where I made the change but it had to be in the backend somewhere. Here are some screenshots and I hope someone will point me in the right direction. I should also state that I've looked for a plugin that may have been installed and nothing was found. Also, there are no additional modules either.

Thank you for your help.
You do not have the required permissions to view the files attached to this post.

Advertisement
User avatar
brian
Joomla! Master
Joomla! Master
Posts: 12813
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: LogOn Popup Modal

Post by brian » Fri Jan 05, 2024 7:29 pm

Did you perhaps mean this plugin [ redacted ]
Last edited by toivo on Sat Jan 06, 2024 5:24 am, edited 1 time in total.
Reason: mod note: link removed, self promotion is against the forum rules, available from https://forum.joomla.org/viewtopic.php?f=8&t=65
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

trikeman
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Fri Jan 08, 2016 5:25 am

Re: LogOn Popup Modal

Post by trikeman » Sat Jan 06, 2024 1:15 am

brian wrote: Fri Jan 05, 2024 7:29 pm Did you perhaps mean this plugin [ redacted ]
Doesn't appear to be a plugin or module. Can't find anything in the system that it is working on. For some reason, I'm thinking there was some code put in the back end but I just don't remember. I did try to install that plugin and I got an error about creating a folder or something. Anyways, I'll keep hoping someone sees it. I mimic the setup on another system and the icon shows up but when you click on it, nothing happens. There has to be something in there somewhere. Oh well, will keep up the search. Thank you for trying my friend.

Chuck
Last edited by toivo on Sat Jan 06, 2024 5:25 am, edited 1 time in total.
Reason: mod note: as above

User avatar
Pavel-ww
Joomla! Ace
Joomla! Ace
Posts: 1750
Joined: Tue Jun 30, 2020 12:17 pm

Re: LogOn Popup Modal

Post by Pavel-ww » Sat Jan 06, 2024 9:06 am

trikeman wrote: Sat Jan 06, 2024 1:15 am For some reason, I'm thinking there was some code put in the back end but I just don't remember.
Hi. Provide a link to the site where it worked and a link to the site where you want to get it to work.

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 12813
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: LogOn Popup Modal

Post by brian » Sat Jan 06, 2024 9:21 am

How can it be self promotion to link to an extension on the JED. Seriously moderators. Think about it!!
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

trikeman
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Fri Jan 08, 2016 5:25 am

Re: LogOn Popup Modal

Post by trikeman » Sat Jan 06, 2024 6:49 pm

Pavel-ww wrote: Sat Jan 06, 2024 9:06 am
trikeman wrote: Sat Jan 06, 2024 1:15 am For some reason, I'm thinking there was some code put in the back end but I just don't remember.
Hi. Provide a link to the site where it worked and a link to the site where you want to get it to work.
Sorry that I forgot to add the links. I did find an event on the one that works but not in the other. Just not sure where it was entered in at.

Working Link: [redacted]
Non-Working Link: https://ewma-wa-ieew.org
Last edited by AMurray on Thu Nov 14, 2024 9:36 pm, edited 2 times in total.
Reason: Mod Note: redacted non-joomla (wordpress) link

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 31389
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: LogOn Popup Modal

Post by Per Yngve Berg » Sat Jan 06, 2024 7:54 pm

I did something similar once with a Bootstrap Modal Module Position to put the Login Module into.

https://getbootstrap.com/docs/5.1/components/modal

nacc
I've been banned!
Posts: 347
Joined: Mon Jul 03, 2023 7:08 pm

Re: LogOn Popup Modal

Post by nacc » Sat Jan 06, 2024 8:07 pm

It is not self-promotion if I include a link to the modal popup login module listed at the JED. 8)

https://extensions.joomla.org/extension/loginmodal/

Disclaimer: I have no association or involvement with the creation of the abovementioned plugin. I make no recommendations, claims or comment about its effectiveness or suitability for any versions of Joomla.

User avatar
Pavel-ww
Joomla! Ace
Joomla! Ace
Posts: 1750
Joined: Tue Jun 30, 2020 12:17 pm

Re: LogOn Popup Modal

Post by Pavel-ww » Sun Jan 07, 2024 9:19 am

trikeman wrote: Sat Jan 06, 2024 6:49 pm I did find an event on the one that works but not in the other. Just not sure where it was entered in at.
Hi.

I'm not sure if this was done through the installed plugin or through the override of the template.
Check your index.php if there is this code there.
1.jpg
--

Here is the whole code that does it
2.jpg
--

In this case, Login Module should be called by php code.

Example

Code: Select all

<div id="wsb-modal-popup">
    <div id="wsb-modal-content">
        <div class="wsb-modal-header">
            <h4>Log in</h4>
            <div class="close " title="sluiten">X</div>
        </div>
        <div class="wsb-modal-body">
            <div>
                <!-- PHP call of Login Form module -->
            </div>
        </div>
    </div>
</div>
This is what you have done on the work site. However, this can be done in other ways.
You do not have the required permissions to view the files attached to this post.

trikeman
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Fri Jan 08, 2016 5:25 am

Re: LogOn Popup Modal

Post by trikeman » Sun Jan 07, 2024 6:02 pm

Pavel-ww wrote: Sun Jan 07, 2024 9:19 am
trikeman wrote: Sat Jan 06, 2024 6:49 pm I did find an event on the one that works but not in the other. Just not sure where it was entered in at.
Hi.

I'm not sure if this was done through the installed plugin or through the override of the template.
Check your index.php if there is this code there.
1.jpg
--

Here is the whole code that does it
2.jpg
--

In this case, Login Module should be called by php code.

Example

Code: Select all

<div id="wsb-modal-popup">
    <div id="wsb-modal-content">
        <div class="wsb-modal-header">
            <h4>Log in</h4>
            <div class="close " title="sluiten">X</div>
        </div>
        <div class="wsb-modal-body">
            <div>
                <!-- PHP call of Login Form module -->
            </div>
        </div>
    </div>
</div>
This is what you have done on the work site. However, this can be done in other ways.
I looked in the Index file and didn't see what you described. But I did think about an override, but that's not it either. I'm fully confused as to where I did this. I even copied the file locally and did a search and found nothing. But, I'm not giving up hope. Its been done, just got to figure out how it was done...

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 31389
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: LogOn Popup Modal

Post by Per Yngve Berg » Sun Jan 07, 2024 6:40 pm

You probably did it in a Custom Module Chrome.

https://docs.joomla.org/Module_chrome

User avatar
Pavel-ww
Joomla! Ace
Joomla! Ace
Posts: 1750
Joined: Tue Jun 30, 2020 12:17 pm

Re: LogOn Popup Modal

Post by Pavel-ww » Mon Jan 08, 2024 8:28 am

trikeman wrote: Sun Jan 07, 2024 6:02 pm Its been done, just got to figure out how it was done...
Hi. Without super user access to your site, it is not possible to determine how exactly this was done. Therefore, only you yourself can deal with this. Or use another method

AlexanderS7
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu Nov 14, 2024 11:16 am

Re: LogOn Popup Modal

Post by AlexanderS7 » Thu Nov 14, 2024 11:34 am

Per Yngve Berg wrote: Sat Jan 06, 2024 7:54 pm I did something similar once with a Bootstrap Modal Module Position to put the Login Module into.

https://getbootstrap.com/docs/5.1/components/modal
Interesting solution, I'll have to try it. 8)

Advertisement

Post Reply

Return to “Administration Joomla! 4.x”