userfrosting / UserFrosting

Modern PHP user login and management framework
https://www.userfrosting.com
Other
1.63k stars 366 forks source link

Nav bar placement #200

Closed swells808 closed 9 years ago

swells808 commented 9 years ago

So really 2 questions here: Is it possible to just have the top nav bar and not the left side one displayed?

And when I am logged in as an admin I have the drop down nav from the top but, not as a standard user. Where is that option?

alexweissman commented 9 years ago

At the moment, the nav layouts are all controlled by css/sb-admin.css and css/sb-admin-master.css, as well as the renderMenu function in models/template_functions.php. You can get rid of the <ul class="nav navbar-nav side-nav"> group in that function.

As for the dropdown in the top, did you create a new user group or something? It should appear already for users in the standard Users group.

swells808 commented 9 years ago

Yes this is for a new group. I want group 1 to see a nav bar with options that are just authorized for that group alone. Is there an easier way to go about this? Perhaps a direct bootstrap way?

alexweissman commented 9 years ago

Is this what you're looking for?

swells808 commented 9 years ago

I saw that but let dig a little into this and get back to you. Thanks.

alexweissman commented 9 years ago

Alright, this will be easier to do in the upcoming version. Let me know if you have any more problems!