Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I allow the user to change

Status
Not open for further replies.

rochdale

Technical User
Feb 11, 2002
3
GB
How do I allow the user to change the order the links are displayed in ASP.

e.g.

We have developed a simple content management system where a user can upload images, text and create new pages and link those pages to new pages.

The links appear on the left of each page

e.g
France
Italy
Spain
England

How can I allow the user to change the order in which those links are displayed? So that England could move up to second in the list and Spain down to Fourth.

ANy help appreciated

 
This will based on a lot of assuming since I am not sure how your system works but I am assuming that each individual person has his/her own preferences that can be stored somewhere? Also, I am assuming that they want to keep these setting each time yes? Anyway, it would be my initial response to assign each page title(link) an order number that they can change if they choose to. so in other words it would be an SQL statement of

SELECT linkname form Links WHERE
UserID='"& storeduseridvariablehere & "' ORDER BY LinkOrder
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top