Advanced search  

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

Pages: [1]   Go Down

Author Topic: How to list albums in alphabetical order by file name instead of by random  (Read 7001 times)

0 Members and 1 Guest are viewing this topic.

ebonyhunter

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 46

I know this is basc but I've searching for an hour and I cant find the answer.  On the main page I want the file to come up in alpha order, not random.  I know this is on the configuration form, but I dont see an option for alpha.  Thanks.
« Last Edit: September 20, 2004, 08:07:12 am by GauGau »
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: How to list albums in alphabetical order by file name instead of by random
« Reply #1 on: September 19, 2004, 11:41:01 pm »

Do you mean the order of the categories on the front page, the order of the albums on the category pages, or the order of the files with the albums.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

ebonyhunter

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 46
Re: How to list albums in alphabetical order by file name instead of by random
« Reply #2 on: September 19, 2004, 11:58:43 pm »

I intend to have albums named by individual model.  Sue, Mary, Sally, etc.  On my main page...when it first opens up...I would like it to display the albums by alpha order, not the Random Files that is the default property on the admin configuration page.  It doesn't look like there is a code for alpha though.
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: How to list albums in alphabetical order by file name instead of by random
« Reply #3 on: September 20, 2004, 12:00:48 am »

You can manually alphabetically order the albums yourself in the same place that you created them... in album manager. Use the up/down arrows.
Logged

ebonyhunter

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 46
Re: How to list albums in alphabetical order by file name instead of by random
« Reply #4 on: September 20, 2004, 12:06:08 am »

Okay.  So what do I put in the configuration page under "Album List View" for the "content of the main page"?  It requires a code, as I understand it.  Right now it reads "breadcrumb/catlist/alblist/random,2/lastup,2".  I know the "random" needs to be replaced, but with what?
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: How to list albums in alphabetical order by file name instead of by random
« Reply #5 on: September 20, 2004, 12:07:37 am »

It's in the documentation. Please review.
Logged

ebonyhunter

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 46
Re: How to list albums in alphabetical order by file name instead of by random
« Reply #6 on: September 20, 2004, 12:11:35 am »

I've been reading it for the last hour and it does not answer this question.
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Logged

ebonyhunter

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 46
Re: How to list albums in alphabetical order by file name instead of by random
« Reply #8 on: September 20, 2004, 12:15:50 am »

Thats exactly where I've been looking.  But if you read the options

login as admin into your CPG
click on "Admin Mode" if it is not already enabled
Click on Config in the "Admin Menu"
under "Album list view" use the above provided keywords:
'breadcrumb': navigation inside the gallery (e.g. "home > category > subcategory > album")
'catlist': category list
'alblist': album list
'random': random pictures (leaving random pictures "on" for huge galleries with more than 10,000 pics might result in performance problems; switch random "off" in this case)
'lastup': last uploads
'topn': most viewed
'toprated': top rated
'lastcom': last comments
'lasthits': last viewed
'anycontent': inserts php-generated content that has to reside within the file 'anycontent.php' into the index page. Can be used to include banner-rotation scripts or similar.

I see the code for top-rated, last uploads, etc.  What is the code for alphabetical?
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: How to list albums in alphabetical order by file name instead of by random
« Reply #9 on: September 20, 2004, 12:17:07 am »

It can't be done (except with some code changes perhaps). I told you that you have to do it manually.

Unless, I am misunderstanding you. In that case, please provide a link and explain what you want using specific examples from the page.
Logged

ebonyhunter

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 46
Re: How to list albums in alphabetical order by file name instead of by random
« Reply #10 on: September 20, 2004, 04:09:08 am »

http://www.blackgurlz.com/coppermine/?theme=mytheme

Where it says "Most Viewed", I want it to say...or show...or both Model Name in alphabetical order.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: How to list albums in alphabetical order by file name instead of by random
« Reply #11 on: September 20, 2004, 06:20:04 am »

there's no special meta album that sorts alphabetically. You will have to do as TranzNDance suggested:
- in " The content of the main page" on the coppermine config page, leave things as they are by default: breadcrumb/catlist/alblist
- in the albums manager (click "albums" from the admin menu), sort the albums as you like, using the arrow buttons

Joachim
Logged

ebonyhunter

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 46
Re: How to list albums in alphabetical order by file name instead of by random
« Reply #12 on: September 20, 2004, 07:33:45 am »

Thanks.  Will do.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.