Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: default sort does not work  (Read 5471 times)

0 Members and 1 Guest are viewing this topic.

desert_dave

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 54
default sort does not work
« on: December 31, 2004, 05:04:54 am »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: default sort does not work
« Reply #1 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
Logged

desert_dave

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 54
Re: default sort does not work
« Reply #2 on: December 31, 2004, 09:10:02 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)
Logged

Nibbler

  • Guest
Re: default sort does not work
« Reply #3 on: December 31, 2004, 01:34:17 pm »

Login where exactly ?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: default sort does not work
« Reply #4 on: December 31, 2004, 03:07:02 pm »

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
Logged

desert_dave

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 54
Re: default sort does not work
« Reply #5 on: December 31, 2004, 04:09:37 pm »

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

Logged

Nibbler

  • Guest
Re: default sort does not work
« Reply #6 on: December 31, 2004, 05:02:10 pm »

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.
Logged

desert_dave

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 54
Re: default sort does not work
« Reply #7 on: January 01, 2005, 11:06:59 pm »

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
Logged

Nibbler

  • Guest
Re: default sort does not work
« Reply #8 on: January 01, 2005, 11:22:27 pm »

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.
Logged

desert_dave

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 54
Re: default sort does not work
« Reply #9 on: January 04, 2005, 03:42:10 pm »

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
Logged

Nibbler

  • Guest
Re: default sort does not work
« Reply #10 on: January 04, 2005, 04:24:29 pm »

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)

Code: [Select]
' ORDER BY a.pos '.
change to

Code: [Select]
' ORDER BY a.aid DESC '.
That'll put new albums first.
Logged

desert_dave

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 54
Re: default sort does not work
« Reply #11 on: January 04, 2005, 06:13:38 pm »

I changed that code, but no change in sort order.
 ???
dave
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.