Topic-icon Navigation Bar Login Log Out Issues

Support Specialist
6 years 10 months ago #61936 by alzander
Glad we could help. We'll be here come September, don't worry :)
The topic has been locked.
Active Subscriptions:

None
6 years 10 months ago - 6 years 10 months ago #61937 by webdevtim
Just wanted to let you know that I am having a little issue with MaximenuCK and that Cedrick over there had me disable the SCLogin module for a moment and the issue went away. What is odd is that the problem exists on only on page even though all the other menu items are children of the SCLogin menu item.

The problem is the mobile menu is permanently opened and expanded on both desktop and mobile views. for just one and only one page.

I haven't tried your suggestions yet as I needed to get a Drupal/CiviCRM installation finished by tomorrow which is now slipping.
Last edit: 6 years 10 months ago by webdevtim.
The topic has been locked.
Active Subscriptions:

None
6 years 10 months ago - 6 years 10 months ago #62012 by webdevtim
Alex, I don't get this. Where do I have to add
<a href="#login-modal" role="button" data-toggle="modal">Log in</a>
for your application to parse it.

I use MaximenuCK and when I load the SCLogin module in a menu position, either using MaximenuCK Load module or ModulesAnywhere, and I click on this one sub-menu item of the Login / Register top level menu item, which is an RSFormPro Survey, the MaximenuCK mobile menu loads fully expanded for some reason. If I disable the SCLogin module the forms loads normally.

What I want to try is to make the Login / Register Menu item a "Text Separator" System Link menu item without ModulesAnywhere loading the SCLogin module, then add the Login button as a sub-menu item and the Register button as a separate sub-menu item, but I would still like to use the SCLogin Module as a pop up or slide down and right now I can't think how to accomplish that. I am falling asleep on my keyboard and waking up in as puddle of drool.

Alex, it doesn't matter how I load the SCLogin module, if it is in hte menu structure anywhere, the Petition Survey get a fully expanded Mobile Menu regardless of view-port size.

Here is the HTML for the menu item:
<li class="maximenuck maximenuckmodule headingck item2475 first level2 " data-level="2">
  <div class="maximenuck_mod">
    <div class="sourcecoast sclogin-modal-links sclogin">
      <a href="#login-modal" role="button" data-toggle="modal">Log in</a>
    </div>
    <script type="text/javascript">
    <div class="clr"></div>
  </div>
</li>

From this it is obvious that your JavaScript is colliding with Cedric's (Joomla CK) to cause Cedrick's to cause the mobile menu to become visible and fully expanded.

See webdev.911truthoutreach.org/ and click on "Take the Petitioner's Survey," under "Login /Register," or just visit: webdev.911truthoutreach.org/join-us/petition-survey and see what I mean.
Last edit: 6 years 10 months ago by webdevtim.
The topic has been locked.
Support Specialist
6 years 10 months ago #62015 by alzander
Please turn off any optimizations you have on in your template or in 3rd party extensions (javascript compression, etc). Then, go into JFBConnect's configuration area and enable the "Include jQuery / Bootstrap" option. See if that fixes the issues you're seeing.

If so, work back through those to see which is necessary, but my guess is that it's that our jQuery / Bootstrap file isn't loaded. If you're relying on a different version of those libraries to work, you're probably out of luck.

I hope that helps, but if those don't get you going, please leave the settings like that so we can see what happens then and narrow things down further.

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

None
6 years 10 months ago #62018 by webdevtim
ba da bing, ba da bang and she's a beautiful.

I had already turned off those optimizations per Joomla's (snozzled) suggestion so all I had to do was enable the JQuery / Boostrap option and she's a working.
The topic has been locked.
Support Specialist
6 years 10 months ago #62025 by alzander
Fantastic! Glad to hear it's working.

As always, if you need anything else, just let us know!

Thanks,
Alex
The topic has been locked.