 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
February 24th, 2007, 10:10 PM
|
#1 (permalink)
| | Junior Member Verified Customer
Join Date: Dec 2006
Posts: 26
| Sorting by descending order?
How do i set a default setting that sorts the pictures from the first one in the category?
I notice now that when i upload pictures, it sorts by default by last uploaded.
I know there is an option to sort manually, but i would like to have it done automatically everytime as my guests wont know which is the first and last picture. so some dance pictures i take might seem to be going backwards
Is there anyway i can set the pictures for categories to display by sequence by default instead of last uploaded?
Thanks in advance
|
| |
February 25th, 2007, 11:42 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,796
|
If your asking how to display them from date ascending you would need to add your own sort to the mysql sort table and set that sort in edit categories in admin as the default cause to be honest a sort like that does not exist.
Never heard of someone intentionally wanting to sort from the oldest forward.
|
| |
May 8th, 2007, 10:32 AM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Nov 2002
Posts: 48
|
I would also like to have this sorting option available without having to recode anything.
__________________
bdub PhotoPost Pro 7.1, Shared Host, Linux 2.6.27-grsec4, Apache 2.2.11, PHP 5.2.8, MySQL 5.0.85, GD 2.0.28, |
| |
May 9th, 2007, 03:26 PM
|
#4 (permalink)
| | Member Verified Customer
Join Date: Jun 2004
Posts: 55
|
Hmm, I too want the order reversed.
Here's why: I upload a sequence of shots from first to last, but they show up backwards - last to first. I want people to see them in the sequence they were taken.
|
| |
May 9th, 2007, 03:45 PM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,796
|
Create some new sort in your sort table like maybe
ORDER BY id ASC
Then just set that to be the default sort in your category editor for that cat
|
| |
May 9th, 2007, 04:28 PM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Jun 2004
Posts: 55
|
easy 'nuff.
Thanks. Hope things are going well with the tank. |
| |
May 9th, 2007, 07:10 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,796
|
Tank is fine thanks.
|
| |
May 10th, 2007, 04:04 PM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Jun 2004
Posts: 55
|
That works quite well. In fact, I also wanted to control the exact order of some categories in a very specific way, and I can do that quite easily by creating a custom field for the images and using that as the sort order.
Thanks for pointing me in the right direction.
|
| |
June 12th, 2007, 09:48 AM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Jul 2005 Location: Florida
Posts: 122
|
Me three lol
I have a member who wants his photos sorted from oldest to newest, it's a photo sequence of plant growth.
Could you let me know what I could place in the script (and where) to make only his sort as described?
The album of his that he wants this to occur in is cat=603
I appreciate it.
|
| |
June 12th, 2007, 09:58 AM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Jun 2004
Posts: 55
|
This worked for me to do exactly what you describe you want. Quote:
Originally Posted by Chuck S Create some new sort in your sort table like maybe
ORDER BY id ASC
Then just set that to be the default sort in your category editor for that cat | |
| |
June 12th, 2007, 09:59 AM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Jun 2004
Posts: 55
|
Ah, that will only work for the entire category. You could create a special category for his album.
|
| |
June 12th, 2007, 10:12 AM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,796
|
yes adding sorts into the sort table is how you sort cat images
|
| |
June 12th, 2007, 10:29 AM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Jul 2005 Location: Florida
Posts: 122
|
For cat 603, sortorder is "1" in my database
Is that what I want to change?
If so, what should I change it to?
|
| |
June 12th, 2007, 10:34 AM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,796
|
You change the default sort of a category in Admin => Edit Categories and edit that cats settings
|
| |
June 12th, 2007, 10:34 AM
|
#15 (permalink)
| | Member Verified Customer
Join Date: Jul 2005 Location: Florida
Posts: 122
|
Does that #1 coincide with these:
2 Latest ORDER BY disporder,date DESC
3 Most Views ORDER BY disporder,views DESC
1 Most Active ORDER BY disporder,lastpost DESC
4 Most Popular ORDER BY disporder,rating DESC, views DESC
6 Random ORDER BY disporder,RAND()
5 Least Popular ORDER BY disporder,rating,views
7 Image Name ORDER BY disporder,bigimage
8 Title ORDER BY disporder,title
|
| |
June 12th, 2007, 10:35 AM
|
#16 (permalink)
| | Member Verified Customer
Join Date: Jul 2005 Location: Florida
Posts: 122
| Quote:
Originally Posted by Chuck S You change the default sort of a category in Admin => Edit Categories and edit that cats settings | It is a user's created album, not a top level category.
It does not appear in Admin -> Edit Categories
|
| |
June 12th, 2007, 10:37 AM
|
#17 (permalink)
| | Member Verified Customer
Join Date: Jul 2005 Location: Florida
Posts: 122
| Quote:
Originally Posted by MediaHound Does that #1 coincide with these:
2 Latest ORDER BY disporder,date DESC
3 Most Views ORDER BY disporder,views DESC
1 Most Active ORDER BY disporder,lastpost DESC
4 Most Popular ORDER BY disporder,rating DESC, views DESC
6 Random ORDER BY disporder,RAND()
5 Least Popular ORDER BY disporder,rating,views
7 Image Name ORDER BY disporder,bigimage
8 Title ORDER BY disporder,title | because if it does, I can add a new #9 in there
we could say:
9 Oldest ORDER BY disporder,date ASC
Would that be correct?
|
| |
June 12th, 2007, 10:39 AM
|
#18 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,796
|
yes the sorts coincide with those.
Album sorts should be set in Manage Albums in admin just like edit categories is for categories
|
| |
June 12th, 2007, 10:46 AM
|
#19 (permalink)
| | Member Verified Customer
Join Date: Jul 2005 Location: Florida
Posts: 122
|
I did not see Manage Albums...
as I retreat with the tail between the legs, may I suggest adding a link to Manage Albums from the bottom of the Category Editor mainframe. Either that or group it with the rest of the Edit quicklinks under "Administration" from "General".
I think it should be easier to find...
anyway I overlooked it and the problem is now solved
thanks!
|
| |
June 12th, 2007, 10:47 AM
|
#20 (permalink)
| | Member Verified Customer
Join Date: Jul 2005 Location: Florida
Posts: 122
|
and, oh yes, here is the code I used to add the new field Code: Content visible to verified customers only.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 11:01 AM. | |