fbpx
Welcome, Guest
Username: Password: Remember me

TOPIC: Login modal on Top bar

Login modal on Top bar 4 years 5 months ago #3905

  • jarias7
  • jarias7's Avatar
  • Offline
  • New Member
  • Posts: 2
  • Karma: 0
Hello,

Is there any way to create a modal popup that allows the user to login (I saw this functionality in your JD New York Theme and I think is awesome)?... I have tried using the normal code for a modal, however when it opens the modal the whole page is blocked (you can see it on: centicoaching.org/ , on the green button at the top right). Or do you use any extension for this modal in JD New York theme?

Im using the following code inside a module which goes in the Top-bar2 position:
<a href="#!" type="button" data-toggle="modal" data-target="#loginModal"><i style="background-color:#3b8c3c" class="fa fa-sign-in icon-f circle-icon icon-xxs" aria-hidden="true"></i></a>

<!-- Modal -->
<div class="modal fade" id="loginModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="myModalLabel">Modal title</h4>
      </div>
      <div class="modal-body">
        <p>Modal content. </p>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
        <button type="button" class="btn btn-primary">Save changes</button>
      </div>
    </div>
  </div>
</div>

Thank you for your help.
The administrator has disabled public write access.

Login modal on Top bar 4 years 5 months ago #3911

  • chandandeep
  • chandandeep's Avatar
  • Offline
  • Administrator
  • Posts: 4614
  • Thank you received: 652
  • Karma: 116
Hi,

I think you get the login popup. In New Your template we use BT Login.

Thanks,
Chandan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.

To know more about products check out the their documentation.
The administrator has disabled public write access.
Moderators: chandandeep
Time to create page: 0.319 seconds
Cron Job Starts