How to call SCLogin for register only Menu

How to call SCLogin for register only Menu

Hi,
I've a some menu items which only registered users can view. That being said, the menu is still visible to public. When they click on it, I want the SC Login Modal popup to appear instead of the conventional Joomla registration page redirect. How can this be achieved?

srisiv
Ram
useravatar
Offline
38 Posts
Website 
Active Subscriptions:

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

Re: How to call SCLogin for register only Menu

Sriram,
Sorry for the delay. I wanted to think a bit more about what you were requesting before I responded. Unfortunately, that's not something that's easily done with the SCLogin module. The menu items themselves have no way to signal that the page they are leading to is for registered content. Because of that, there's not an easy way (that I can think of right now) to trigger the SCLogin modal when those links are clicked.

I've added this to our investigate list for a future release. I do think it would be a neat feature to have, but it's simply not an option or a line of code we could simply provide to you right now.

I hope that explains, but if you have any questions, 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
Offline
23658 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: How to call SCLogin for register only Menu

Hi Alex,
Thanks for the reply. I understand it is a bit tricky. But I'm not fully following when you mention the menu links have no way to signal if they are leading to registered/ public page. The menu links (using the backend menu manager) are configured to display only to public/ registered users. So they in a way know where they are leading and who can view the content. Correct? It's just that, when a public viewer clicks on a "only for members" link, instead of redirecting him to a standard registration page, it would be nice to have the SClogin modal window. I hope I'm not confusing you. current/smile

srisiv
Ram
useravatar
Offline
38 Posts
Website 
Active Subscriptions:

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

Re: How to call SCLogin for register only Menu

You're not confusing me. The problem is that only Joomla knows the link is registered. The user has to actually click the link (which has the 'real' URL). Then, Joomla processes that URL, sees it's registered and then redirects the user to the Login page. That's all done server side.

There's no way in our module that we could check if the link the user is clicking is registered since that would have to be done client-side through Javascript. That would take a lot of work to alter all of the links before they are sent to the user to display the page and alter any Registered links to instead popup our modal when clicked.

I hope that's not confusing it. What you're looking for is likely possible, but would take a substantial amount of work to dig into Joomla and alter it's general behavior.

Thanks,
Alex

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

alzander
Alex
useravatar
Offline
23658 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: How to call SCLogin for register only Menu

Hi Alex,
Thanks for the reply. I understand the difficulty. Would love to see something of this sort in the near future. It would be very useful.

srisiv
Ram
useravatar
Offline
38 Posts
Website 
Active Subscriptions:

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

Re: How to call SCLogin for register only Menu

We agree it'd be a cool feature to have, and I did add it to our investigate/to-do list.. I just can't comment on when something like that may be available.

Thanks for the feedback,
Alex

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

alzander
Alex
useravatar
Offline
23658 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:
11405
Total Polls:
0
Total Posts:
48070
Posts today:
3
User Info
 
Total Users:
47234
Newest User:
jrucker
Members Online:
4
Guests Online:
852

Social Stream
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