Topic-icon Load popup from Menu Link

Support Specialist
9 years 2 months ago #50542 by alzander
Replied by alzander on topic Load popup from Menu Link
Robert,
I understand you are frustrated, but there's a few things that seem to need clarification.

First, and foremost, we in no way advertise that the SCLogin module is meant to be placed 'inside' another module, like a menu module. Joomla simply doesn't work that way. There are varied and vast menu modules that come with templates or to add other features. Trying to wedge our SCLogin module into a menu is not something we recommend or could even do within our code. We *offer* suggestions on how to do it, using something like Modules Anywhere, but it's not something we directly support or recommend. The vast majority don't want it like that and use the SCLogin module *just like the standard Joomla login module*, which you'd have similar issues wedging into a menu as well.

With that said, there's a few ideas that sound like they may be worth exploring that are fully supported by JFBConnect and the SCLogin module:
* Don't use the SCLogin module at all. You're free to use the Joomla Login module (or any 3rd party module) and add the {JFBCLogin} tag to the template files for that module to add the social login buttons.
* In the menu, use the standard Joomla Registration and Login links. Those can redirect the user to the standard Joomla register or login pages, which JFBConnect can automatically add the social login buttons too.
* Place the SCLogin module near your menu module and style it however you want, as we've done on this page.

The problem you're running into is that you want to use our popup in another menu module with fluid stylings with your template. That's a complex scenario and not something Joomla itself was designed for. Additionally, and unfortunately, there's no way we can make our styles work in every template without issue. This is why we support the flexibility of the {JFBCLogin} tag so you can use any other module you want as well.

Once you settle on something you think will work for you, please keep the site up and let us know any cosmetic issues you're running into. We'll gladly help look for some CSS that can help fix things. The post you linked to is likely irrelevant now as your site is going to be different than others sites (another reason it's impossible for our CSS to cover every scenario).

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

None
9 years 2 months ago #50625 by rbudnikas
Replied by rbudnikas on topic Load popup from Menu Link
Thanks for your help. I managed to come up with a workable solution based on your advice.

Robert
The topic has been locked.
Active Subscriptions:

None
9 years 2 months ago #50631 by rbudnikas
Replied by rbudnikas on topic Load popup from Menu Link
Also, Could you please point me in the right direction to change the SCLogin Title in the Modal Popup? I'm searching through the directories and the support forum, but cannot see where it gets changed. I've also used firebug with no luck.

Thanks,

Robert
The topic has been locked.
Support Specialist
9 years 2 months ago #50632 by mel
Replied by mel on topic Load popup from Menu Link
Robert,

The title that we use is the module title. You should just be able to change the title by editing the module in the backend.

If for some reason, you don't want to use the module title, you can do a template override of the /modules/mod_sclogin/tmpl/login.php around line 73, the title gets set with the following with the $module->title statement
echo '<div class="modal-header"><button type="button" class="close" data-dismiss="'.$modalName.'" aria-hidden="true">&times;</button><span class="modal-title">'.$module->title.'</span></div>';

-Melissa
The topic has been locked.
Active Subscriptions:

None
9 years 2 months ago #50634 by rbudnikas
Replied by rbudnikas on topic Load popup from Menu Link
Thanks for the information, but wouldn't it be better for you to develop the system so that within the actual configuration screen it could be easily changed? In the SClogin module, I can add intro text in the advanced option.

Thanks,

Robert
The topic has been locked.
Support Specialist
9 years 2 months ago #50647 by alzander
Replied by alzander on topic Load popup from Menu Link
You shouldn't need to change any code to change the Title. As noted above, you can simply set the Title parameter of the module to what you want to display and it will work as long as "Show Title" is enabled.

If that's not what you're looking for please explain exactly what issue you're running into. Pictures or links to your page with descriptions of the problem would really help.

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

None
9 years 2 months ago #50650 by rbudnikas
Replied by rbudnikas on topic Load popup from Menu Link
Hi Alex,

Sorry, I was being a complete tool! =( I was being completely blind,so I created a copy of the default template and copied it into my site templates as per the instructions. I found the ".sourcecoast.modal .modal-title" line in the sourcecoast template and copied it over. Changed the css. Now it looks better.

Sorry,

Robert
The topic has been locked.
Support Specialist
9 years 2 months ago #50651 by alzander
Replied by alzander on topic Load popup from Menu Link
Robert,
No problem. We're glad to hear you got things going. If you need anything else, just let us know.

Thanks,
Alex
The topic has been locked.