forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: ebonyhunter on September 19, 2004, 11:32:07 pm
-
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.
-
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.
-
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.
-
You can manually alphabetically order the albums yourself in the same place that you created them... in album manager. Use the up/down arrows.
-
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?
-
It's in the documentation. Please review.
-
I've been reading it for the last hour and it does not answer this question.
-
http://coppermine.sourceforge.net/manual.php#config_album_list
-
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?
-
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.
-
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.
-
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
-
Thanks. Will do.