Jump to content
Sign in to follow this  
srussel2

Login on Fixed Nav Part 2

Recommended Posts

srussel2    0
srussel2

Followup on: http://www.pagelines.com/forum/topic/25635-login-on-fixed-nav/

 

I have another question regarding a login in fixed nav. I am nearly there... but having trouble regarding the dropdown. When I click "Sign Up" the login menu pulls down, but however when you click an input, the window closes. Is there anyway to not have it do this?

 

My code in the get_search_form hook, via hooker:

<style>
.searchform {
  display: none !important;
}
.test {
  float: right;
  
.divider-vertical ul li {
  height: 40px;
  margin: 0 9px;
  border-right: 1px white solid;
  border-left: 1px #111111;
}
</style>

    <div class="test">
    <ul id="menu-ksa-main-menu" class="pldrop navline pull-right">
<li class="dropdown">
<a class="dropdown-toggle" href="#" data-toggle="dropdown">Sign In <strong class="caret"></strong></a>
<div class="dropdown-menu" style="padding: 15px; padding-bottom: 0px;">
<form method="post" action="login" accept-charset="UTF-8">
<input style="margin-bottom: 15px;" type="text" placeholder="Email" id="email" name="email">
<input style="margin-bottom: 15px;" type="password" placeholder="Password" id="password" name="password">
<input style="float: left; margin-right: 10px;" type="checkbox" name="remember-me" id="remember-me" value="1">
<label class="string optional" for="user_remember_me"> Remember me</label>
<input class="btn btn-primary btn-block" type="submit" id="sign-in" value="Sign In">
</form>
</div>
    </li>
    </ul>
    </div>

Share this post


Link to post
Share on other sites
James B    436
James B

From what i can see those dropdowns use javascript, it's set up to close when clicked. You'll need to use another script according to this post on stack overflow to stop it closing when clicked - http://stackoverflow.com/questions/10863821/bootstrap-dropdown-closing-when-clicked


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
srussel2    0
srussel2

That looks like exactly what I need...

 

Another noob question... where can I put javascript so it is safe and wont be overwritten after a pagelines update?

Share this post


Link to post
Share on other sites
James B    436
James B

Hi there, you can paste your js code into the footerscripts box at the bottom of Pagelines>site options>custom code. It will be safe there from updates :-)


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Similar Content

    • sgarbecom1
      By sgarbecom1+
      I'm trying to login at the plugin, but page just doesn't load. I already paid for Pro Tools and can't use it. I sent email to support and I had no answer.

    • cdagesse
      By cdagesse+
      So this has happened 2x and Godaddy is telling me its an issue with Pagelines not them.  
      Website: dcd.auto
      Cant login and nothing seems to fix it, i have tried to disable theme and plugins but still causing issues
       
      any ideas?
    • kdemming
      By kdemming+
      I have two sites that are getting the same error when I try to login. I type wp-admin after the domain and I am getting an error message for both sites. 
      www.868change.com
      After I login to http://www.bstudioproject.com/ to edit on pagelines, I am getting blank screen. 
       
    • Kedark
      By Kedark+
      Hello,
      I'm starting to use the platforms 5, while installing a second service after installation platfrom5 and theme, I wanted to activate your account. After entering the login and password, nothing happened, reappeared account screen (click and takes us to the login page PageLines). I do not know what's going on?
      License developer.
      The first service works flawlessly.
      I greet and ask for help.
      RKA
    • emilyf
      By emilyf+
      Has anyone out there successfully put together a client area on a DMS site?]
      Our site's gone live (www.brianboggschairmakers.com) and my boss would like to add an area for clients to sign up and view a personalized page for them, complete with their order information, wait times, recently viewed pages, etc. Note that we do not SELL online, so we don't need ecommerce capability. We just want the client to be able to log in and view their personalized account page. 
      I know that this can be accomplished using plugins like WP Customer Area (https://wordpress.org/plugins/customer-area/) but I am specifically wondering about compatibility with PageLines. 
      Anybody else out there do this? How has it interfered with the visual editor? Any recommended plugins?
×