modal popup connected to a link in an article?

modal popup connected to a link in an article?

Hi Alex,
Is it possible to make the modal popup appear when a link is clicked?
for example when i write on a page <......then please login ....> make login a link that triggers the modal popup ?
I tried http:// ....sitename.com/#login-modal but i guess that was too simple a thought current/smile
jk

jdekempenaer
Quantitative/Technical strategist, fund manager
useravatar
Offline
18 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: modal popup connected to a link in an article?

Hi Alex,
Did you have any chance to look at my question in previous post about linking the modal pop-up to a link in an article or maybe a menu (basically like the login on this site ?
julius

jdekempenaer
Quantitative/Technical strategist, fund manager
useravatar
Offline
18 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: modal popup connected to a link in an article?

Sorry for the delay! *IF* you have the SCLogin module on the same page, somewhere, that code should work. If you go to the page below, when not logged in, we're actually doing something similar with the login button about half-way down the page. The code used there is:

Code:

<a class="btn btn-primary" href="#login-modal" role="button" data-toggle="modal">Login</a>

That only works because the SCLogin module is being loaded on that page, and therefore putting in the code for the popup that is required.

If you don't have the SCLogin module on the page, there's a few, options available, though none are ideal:
* You can add the SCLogin module and have it be functional as well (like the page demo'd above)
* You can add the SCLogin module into a specific template position and then use CSS to hide that entire position. That will still add the modal code required, while hiding the instance of the SCLogin module.

We're already looking into a better way to allow for the popup to be included on the page for various reasons like yours. Unfortunately though, that's not ready yet.

I hope the above helps explain a little more and possibly helps. If you have any questions or feedback though, just let me know.

Thanks,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Online
24023 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests also viewing this topic
There are 0 users also viewing this topic

Board Info

Board Stats
 
Total Topics:
11616
Total Polls:
0
Total Posts:
48818
Posts today:
7
User Info
 
Total Users:
47667
Newest User:
jaiama
Members Online:
8
Guests Online:
1159

Social Stream
SourceCoast Joomla Social Extensions
Friday, 25 May 2018
JFBConnect 8.0 Coming Soon! Stay tuned.
Refer and Earn

Like our extensions? You're not alone! That's why they're used on tens of thousands of websites. Now you can earn 20% of any sale you refer to SourceCoast.com.

We provide excellent documentation, well laid out sales pages and great support. All you need to do is spread the word and we'll take care of the rest.

Learn About Our Affiliate Program