Topic-icon Extension opens other login instead of SCLogin

Active Subscriptions:

None
Hi,

I installed AdsManager and I allow only registered users to posts ads.
When you are not logged in and click "Post New Ad", insted of SCLogin I get this

awesomescreenshot.com/0bc49kxh00

How could I make sure all extensions call SCLogin when needed?

Thank you once again for your excellent support!
The topic has been locked.
Support Specialist
11 years 4 months ago #50619 by mel
You can't. The SCLogin is a module. It's meant to show in module positions and not the main component area.

When an extension detects a user isn't registered and redirects them to the login page, Joomla automatically sends them to the standard Joomla com_users login page. You *could* overwrite the template file for that page and have the SCLogin module load it's contents inside the standard Joomla login page, but I'm not sure you'd be buying yourself anything.

The other option is that you may be able to alter AdsManager's code to trigger our SCLogin popup code instead of performing the redirect. That would be much more difficult to do as you'd need to find every page where AdsManager redirects and make updates to the code. I wouldn't recommend this unless it's absolutely necessary for some reason.

We hope that helps explain, but if you need more assistance, just let us know.

Melissa
The topic has been locked.