bemania Posted July 2, 2009 Share Posted July 2, 2009 hi, i'm trying to create a simple cms (with php und sql). i'm working with a simple 2-column-layout (on the left side the navigation and on the right side the content). now i'm stuck. i can't find out how to do the following. [*]home [*]about us [*]references [*]contact now i want to insert a navigation button "products" in between "about us" and "references". i know how to add a button after "contact", but i want the cms-user to be able to choose where to place the new navigation button. what do i have to do for the cms-user to be able to place a new navigation-button where he desires to? i would be very greatful for some adivce. thx. bemania Quote Link to comment Share on other sites More sharing options...
iPixel Posted July 2, 2009 Share Posted July 2, 2009 I guess a simple way to do this would be to give these menus a sequence number, and the option to change, then based on the user you can just order by that #. Quote Link to comment Share on other sites More sharing options...
bemania Posted July 2, 2009 Author Share Posted July 2, 2009 I guess a simple way to do this would be to give these menus a sequence number, and the option to change, then based on the user you can just order by that #. so you would suggest me to give eacht navigation-button a sequence number: 1 = home 2= about us 3= references 4= contact so you would assign to "products" the sequence-number "3" and move the "references" and "contact" each one number higher (4=references,5=contact)? i thought of this one before, but i can't get myself to like it. don't you think there is a more elegant way to solve this problem? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.