Topic-icon SCLogin

Active Subscriptions:

None
8 years 4 days ago #59511 by pdipietro
SCLogin was created by pdipietro
I need to integrate SCLogin to create a login exactly the same as your in the sourcecoast site.

I assigned the SCLogin component to the same position as the main menu, positioning on the extreme right

But the button goes on a new line when the user is not logged
and all the opened area is on the same position when the menu is logged in.

How can I solve the problem and display the login as in your site?

Thank you
The topic has been locked.
Support Specialist
8 years 3 days ago #59514 by mel
Replied by mel on topic SCLogin

But the button goes on a new line when the user is not logged

Our SCLogin module is in a different template position than our main menu, which prevents this.

and all the opened area is on the same position when the menu is logged in.

1. You have no width on the module. It is set to auto, so it's trying to take up as much screen as it needs.
2. If you look at our site, we're not displaying the greeting name or the avatar.
3. The logout button is also not being displayed in the module and is a menu item in the user menu. You can see instructions at our Common Support Questions for "How can I add direct links to Logout in the user menu?"
4. After changing 1-3, you can then style the user menu appropriately. In our site, we have a list view and have slightly tweaked the code in the helper.php file for SCLogin in the getUserMenu method to work with our template better. It's commented out in the file, so you can see what we use.

This should get you closer, but let us know if you still have questions.

-Melissa
The topic has been locked.