[Solved]: changing default page [Solved]: changing default page
 

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]

Main Menu

[Solved]: changing default page

Started by johnh10000, October 02, 2009, 07:30:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

johnh10000

I have read the docs and have tried to do this without sucsess.

I have gone to config->album list view

When I ask it for just alblist, I don't get anything.

I have 9 galleries created by admin, and they are public.

What am I doing wrong?
John " Hammie"  Hamlin

Joachim Müller

Quote from: johnh10000 on October 02, 2009, 07:30:20 PM
I have read the docs and have tried to do this without sucsess.
Really? Amazing. From the docs:
Quote from: http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#changingThe content of the main page

This option allows you to change the content of the main page displayed by the script.

The default value is "catlist/alblist/random,2/lastup,2"

You can use the following "codes" to include other items:

    * 'breadcrumb': navigation inside the gallery (e.g. "home > category > subcategory > album")
    * 'catlist': category list
    * 'alblist': album list
    * 'random': random files (leaving random files "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.
    * 'lastalb': last created albums

Unless you really know what you are doing you should always keep catlist and alblist in "the content of the main page", as they make up the core parts of the index page or any gallery site, for that matter.

The ,2 dictates that cpg should display 2 rows of thumbnails.
Seems like you missed the bit that I have highlighted in bold for you.
And btw: may I draw your attention to another document you seem not to have read that thoroughly: we have board rules that you agreed to respect when signing up. One of the rules say that it's mandatory to post a link to your gallery.

johnh10000

Quote from: Joachim Müller on October 02, 2009, 07:34:00 PM
Really? Amazing. From the docs:Seems like you missed the bit that I have highlighted in bold for you.
Thank you.  I did'n't miss it, It just won't do what I have asked it.  I am playing with it further, now.

And btw: may I draw your attention to another document you seem not to have read that thoroughly: we have board rules that you agreed to respect when signing up. One of the rules say that it's mandatory to post a link to your gallery.
Yes indeed I did miss that one.

I have put my website in my profile, here's the direct link

http://tux.isa-geek.org/cpg12x/index.php
John " Hammie"  Hamlin

Joachim Müller

No, you don't have that page in your profile and the link is down (404 error, see attachment). Additionally, you appear to be self-hosted, which is not recommended. Did you give up?

johnh10000

Quote from: Joachim Müller on October 05, 2009, 07:35:09 AM
No, you don't have that page in your profile and the link is down (404 error, see attachment). Additionally, you appear to be self-hosted, which is not recommended. Did you give up?

ok I gave out the wrong version number oops
here's the correct link: http://tux2.isa-geek.org/cpg14x/index.php
                                                                        /\ 4 not a 2

I know it's not recmd but so far I'm getting away with it.  I have a good router/firewall, hardware.  ...and using ubuntu's firewall block thing.

will chang my profile now.

thanks for checking on me.
John " Hammie"  Hamlin

johnh10000

Quote from: johnh10000 on October 05, 2009, 08:46:00 AM
ok I gave out the wrong version number oops
here's the correct link: http://tux2.isa-geek.org/cpg14x/index.php
                                                                        /\ 4 not a 2

I know it's not recmd but so far I'm getting away with it.  I have a good router/firewall, hardware.  ...and using ubuntu's firewall block thing.

will chang my profile now.

thanks for checking on me.
finnaly I used the lastupd (can't recall now) and that does what I want.

updated my profile, and there should be a sig here too, now
John " Hammie"  Hamlin