![]() |
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 ? |
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 |
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 |
Possibly with some code alternation? In showgallery line 432 try this Code: Content visible to verified customers only.Code: Content visible to verified customers only. |
Quote:
Parse error: syntax error, unexpected '=' in /home/mercurym/public_html/gallery/showgallery.php on line 432 |
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. |
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 |
Chuck S Gallery - ReefTalk Gallery You did not edit the right line apparently or something because my example clearly shows photos date descending. |
2 Attachment(s) 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. |
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. |
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. |
This little modification to the code discussion has to do with showgallery.php not the template file. ;) |
opps.. hehehe thanks chuck |
Have a good evening :) |
| All times are GMT -5. The time now is 12:56 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0