 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
January 6th, 2009, 12:15 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Jun 2003 Location: Dallas TX
Posts: 400
| how do I sort the images in the members galleries by latest and make it descending
how do I sort the images in the members galleries by latest and make it descending ( newest ) first
I can set the sort by to latest in the category - how do I make the latest order default to descending ?
|
| |
January 6th, 2009, 10:04 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,689
|
The members gallery can be sorted by the 4 sorts you put under the edit categories box for sort alphabetical date views and most active. Members Galleries - ReefTalk Gallery |
| |
January 6th, 2009, 10:40 AM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Jun 2003 Location: Dallas TX
Posts: 400
|
If you click to member galleries the list of galleries comes up alphabetical like we want but when you go into one of the galleries we want the images in the galleries to be sorted my latest pictures in front - you can pick latest for all the catogoreies but how do you force the order to be then by descending 1stMerc Gallery - Mercury Marauder.Net Photo Gallery |
| |
January 6th, 2009, 10:52 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,689
|
Possibly with some code alternation?
In showgallery line 432 try this Code: Content visible to verified customers only.
change to Code: Content visible to verified customers only.
|
| |
January 6th, 2009, 05:04 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Jun 2003 Location: Dallas TX
Posts: 400
| Quote:
Originally Posted by Chuck S Possibly with some code alternation?
In showgallery line 432 try this Code: Content visible to verified customers only.
change to Code: Content visible to verified customers only.
|
Parse error: syntax error, unexpected '=' in /home/mercurym/public_html/gallery/showgallery.php on line 432
|
| |
January 7th, 2009, 08:19 AM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,689
|
You sure you edited it correctly your getting a parse error.
I did the edit I explained and works without fail Chuck S Gallery - ReefTalk Gallery
ALL you do is change catorder ASC to p.date DESC thats all on that line.
|
| |
January 7th, 2009, 08:37 AM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Jun 2003 Location: Dallas TX
Posts: 400
|
i copied it local and edited again and it worked this time
but Im still trying to get posted date and descending as the defaults in the users galleries
still shows file name and ascending http://www.mercurymarauder.net/galle...00/ppuser/1109 |
| |
January 7th, 2009, 08:46 AM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,689
| Chuck S Gallery - ReefTalk Gallery
You did not edit the right line apparently or something because my example clearly shows photos date descending.
|
| |
January 7th, 2009, 09:10 AM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Jun 2003 Location: Dallas TX
Posts: 400
|
I see the same thing on yours as on mine
but yours seem to be sorted by date and mine dont Code: Content visible to verified customers only.
|
| |
January 7th, 2009, 11:16 AM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,689
|
Thats something totally different than the discussion thats just a sort thing at the bottom of showgallery template
as far as the query in showgallery.php if indeed it is edited and your script has been updated the results should show as I have shown.
|
| |
January 10th, 2009, 03:10 PM
|
#11 (permalink)
| | Junior Member Verified Customer
Join Date: Jun 2008
Posts: 4
|
hi chuck...
i know this is a dumb question, but when I open my showgallery.tmpl, i cant find line 432. am I looking at the wrong thing?
this is what i see: Code: Content visible to verified customers only.
|
| |
January 10th, 2009, 03:44 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,689
|
This little modification to the code discussion has to do with showgallery.php not the template file. |
| |
January 12th, 2009, 04:04 PM
|
#13 (permalink)
| | Junior Member Verified Customer
Join Date: Jun 2008
Posts: 4
|
opps.. hehehe
thanks chuck
|
| |
January 12th, 2009, 07:15 PM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,689
|
Have a good evening |
| | |
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 01:07 AM. | |