default sort does not work default sort does not work
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

default sort does not work

Started by desert_dave, December 31, 2004, 05:04:54 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

desert_dave

Hi again,
I have tried to change the default sort order in the acp and wheather I go ascending or decending nothing changes.
I am using "no catagory" for my main album page.

Any ideas?
tia,
dave

Joachim Müller

you have been told before: when asking such questions, post a link to your page (and a test user account without admin privileges if needed to access your gallery)...

Joachim

desert_dave

Quote from: GauGau on December 31, 2004, 06:36:03 AM
you have been told before: when asking such questions, post a link to your page (and a test user account without admin privileges if needed to access your gallery)...

Joachim

I would have been happy to if your reply to my other post would have been there to read before I posted this thread. Please use login in: test pass: test for your account.

Thanks,
dave
  8)

Nibbler


Joachim Müller

don't take things for granted: you only have a few topics you posted in, so it might seem logical to you to look up the other thread to find out about your site's url. We (supporters on this board) already spend a great amount of time to answer support questions, we simply don't have the time to go though all the threads you posted in just to find out about your site url. In the future, always re-post your url and test user account in every thread you post in at least once.

Joachim

desert_dave

Nibbler,
I looked at your post and said uhhh?
Then my morning Java kicked in and I realized that senility must be
taking hold of me. Which is a far better excuse for one's mistakes than realizing
your just plain dumb. Sorry about that! How about going to
http://www.creatingslideshows.com/gallery and using
login:test, pass: test

Thanks,
Dave


Nibbler

You probably set a cookie stored custom sort order which is now overriding the default setting. Either remove your cpg cookies or change the cookiename in config.

desert_dave

Changed cookie and tried on 3 different machines. Sort order stil stays the same. I would quess lastest addition would use the same code. Where could I go go check and see if I can change and insert it?
Any other ideas?
Tks,
Dave

Nibbler

Hold on, what order are you looking to change ? lastup is in last uploaded order - you can't change that. Also sorting is for pics, not albums or cats.

desert_dave

I have my main catagogy (no album) random pics and latest additions. What I want to do is have my main catagory (no ablum) show the thumbs in desending order. Now the oldest 8 sit there and it gets boring seeing the same ones every day. That way I can also eliminate showing latest additions since they'll already be on the main catagory showing up on page one.
Tks,
Dave

Nibbler

The 8 thumbnails on your main page are albums, not pictures, so are not affected by pic sort orders. Make sure you understand the concept of categories->albums->pics. It is probably possible to hardcode the album order to be by date, I'll look into it.

index.php

find the first occurence of (c line 407)

' ORDER BY a.pos '.

change to

' ORDER BY a.aid DESC '.

That'll put new albums first.

desert_dave

I changed that code, but no change in sort order.
???
dave