Topic-icon Popup login module from Joomla menu. [SOLVED]

Active Subscriptions:

None
1 year 10 months ago - 1 year 9 months ago #68095 by romagromov
Hello!
How to call the Popup login module from the Joomla menu?
Yes, I know, we can make the module button as link and place module in specific position.
It's bad solution.
I used another extension before. And there was not problems with this task.
We just placed the module in some position and hided it via CSS.
Then just added some class to item menu and getting popup module.
How to make the same with JFBConnect?
Thanks.

P.S.
I also need to add login/registration buttons to my content and FlexiConent templates.
So your module placement solution won't work.


 
Attachments:
Last edit: 1 year 9 months ago by romagromov.
The topic has been locked.
Support Specialist
1 year 10 months ago #68102 by alzander
I'm not exactly sure what you're looking for here. The SCLogin module already has a method to show a modal popup. We use it on this site as you can see in the top right.

We don't have a way to launch the module/popup from somewhere else on the page. It's a module and is self-contained so that it doesn't interact with the rest of the page.

There are plenty of extensions that can popup module contents on click and in other ares of the page than the specified module position, but we don't offer that built-in to the SCLogin module. Every template is different, and trying to add that functionality within the module would cause a lot of site-specific templating issues.

I hope that helps, but if I'm misunderstanding what you're looking for, just let me know.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
1 year 10 months ago #68103 by romagromov
I just need to launch popup module from my own specific links from my articles.
We just should to use link class method to launch module.
Or explain please, how to add in Joomla Menu Item this code
<a data-toggle="modal" data-target="#login-modal-360"> Login </a>

it will do what I need.
The topic has been locked.
Active Subscriptions:

None
1 year 10 months ago #68107 by romagromov
Ok, I solved the problem.
1. Create (duplicate) new template for mod_menu
2. Place it to the folder /templates/YOUR_TEMPLATE/html/mod_menu/
3. Add <a data-toggle="modal" data-target="#login-modal-360"> Login </a>
where 360 is your SLogin module ID.

In same time just hide SLogin module via CSS (display: none;).
The topic has been locked.
Support Specialist
1 year 9 months ago #68117 by alzander
I'm glad to hear you found a solution to your request. The solution is generally what we'd recommend where you hide the module and toggle it on your own.

Thanks for letting us know your solution!

Alex
The topic has been locked.