Topic-icon SCLOGIN LINK IN MAIN MENU

Active Subscriptions:

None
9 years 3 months ago #60950 by stingrae987
I would like to add sclogin with social integration to the main menu exactly like on this site, have checked older forum post in which the problem was solved but when i try to follow the procedure i see that the helper.php file at ( /modules/mod_sclogin/helper.php) does not contain the code :

//$menuNav .= '<ul class="menu nav"><li class="dropdown"><span>'.$parentTitle.'</span>';
$menuNav .= '<ul class="menu nav"><li><span>' . $parentTitle . '</span>';
//$menuNav .= '<ul class="dropdown-menu">';
$menuNav .= '<ul class="flat-list">';

As stated in the post:
Re: User menu dropdown
Oct-08-13 16:23:38

Could you please assist me to solve this problem.
The topic has been locked.
Support Specialist
9 years 3 months ago #60951 by mel
Replied by mel on topic SCLOGIN LINK IN MAIN MENU
First, please read our Common Support Questions for "How can i open the SCLogin Modal Popup with a regular link?". It gives a general overview of how we've added the module to our website to look like it's integrated into the menu. There are a couple of easy ideas such as 1) using Modules Anywhere to add the module to the menu or 2) using/creating a template position that's near the menu.

For our site we created our own template position and styled it to work with our template to look like it's part of the menu module. The code that you're referring to is available on line 555 of the helper.php file. You can see a couple of lines commented out. The commented out code works with our template better.
On our site
//$menuNav .= '<ul class="menu nav"><li class="dropdown"><span>'.$parentTitle.'</span>';
$menuNav .= '<ul class="menu nav"><li><span>' . $parentTitle . '</span>';
//$menuNav .= '<ul class="dropdown-menu">';
$menuNav .= '<ul class="flat-list">';
becomes
$menuNav .= '<ul class="menu nav"><li class="dropdown"><span>'.$parentTitle.'</span>';
//$menuNav .= '<ul class="menu nav"><li><span>' . $parentTitle . '</span>';
$menuNav .= '<ul class="dropdown-menu">';
//$menuNav .= '<ul class="flat-list">';

Let me know if you have questions or what you've already tried (since every site/template is different) and we'll help you from there.

-Melissa
The topic has been locked.
Active Subscriptions:

None
9 years 3 months ago #60970 by stingrae987
Thank you i have downloaded and installed Modulesanywhere,
and configured it as an item in the main menu.

But now there is a new issue, I set login view settings to: Modal Popup,
when i click the login link from index page i cant see the entire form.

File Attachment:


when i click the login link from another page it is displayed perfectly.


also when i change the theme and select sorcecoast it rermains at default.

And i haven't altered the code yet.
The topic has been locked.
Support Specialist
9 years 3 months ago #60975 by mel
Replied by mel on topic SCLOGIN LINK IN MAIN MENU
There's a conflict with your template. On your homepage, your template has styles for the .horizontal class. SCLogin also has this class on some of its elements, so you can override the template styles just for the module with:
.sclogin-joomla-login.horizontal {
padding: 0px;
box-shadow: none;
color:#000000;
position: inherit;
text-align: left;
}

That should get you closer.

-Melissa
The topic has been locked.