I would like to be able let a user reorder photographs.

Grouping them by type is not the issue, (fashion, runway, nature, etc...) or
by subcategory (fashion_gender, runway_designer)

The user wants to be able to add new photographs and reorder them so that
prefered photos come first.

My first thought is to have a photoOrder field which the user can update
with an admin screen (simplified) something like the following:

photoOrder Number --- photo

10 ------------------ [img]
15 ------------------ [img]
20 ------------------ [img]

The user can update the 10 (it's in a text field) to a 21 and have the first
photo appear last. With only a few graphics in each sub category this can
work fairly well --- but it's REALLY UGLY.

Better yet would be to be able to move the graphic
1. up or down with an arrow (for one at a time)
2. send to end / beginning
3. have a text box to send a specified amount up or down.

A simplified example below:

<<  < [insert amount] >  >>

I can think of a way to update the records for this to work but eventually
it would be a real big mess.

User moves number 33 to behind 55.
        If 56 is there the photoOrder gets designated 55a
        55b comes after 55a

        (55,55a,55b,56)

Now with only a few photos, or even a few dozen photos who cares. But in a
more involved system one would get situation like the following

        (55a1,55a2,55a3,55a4,55a5)
        (55a2a,55a2b,55a2c,55a2d)

This is ridiculous.( or is it?)

Is there a way to reorder/organize this field?

to take a sorted list(of this field) 1-77-203-204-999 and make it
10,20,30,40,50 or (1000,2000,3000)

Gilbert Midonnet












~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137417
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Reply via email to