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: [Solved]: anycontent as home page, but can't remove catlist  (Read 2368 times)

0 Members and 1 Guest are viewing this topic.

mikesalway

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21

Hi all

I want to use anycontent.php as a "main page" with my own custom html/php to select one of two main galleries. The two gallery links would simply go to "http://xxxx/gallery/index.php?cat=YY" where YY is the top level category number.

From there, it would show the normal sub-category list.

So I edited the config to add "anycontent/breadcrumb/catlist/alblist...".

Problem is, if "catlist" remains, the categories still appear on the "home page". But if I remove "catlist", then on the sub-category pages, the sub-category list doesn't appear there either.

Is there some better/easier/different way to achieve what i'm trying to achieve?

Thanks
« Last Edit: June 05, 2008, 07:41:36 am by Joachim Müller »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: anycontent as home page, but can't remove catlist
« Reply #1 on: June 04, 2008, 08:11:14 am »

Don't use anycontent as a selector page, but create a splash page that let's users decide where to go from there. I have posted this in several threads already, search for my previous postings, search term "splash page".
Logged

mikesalway

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: anycontent as home page, but can't remove catlist
« Reply #2 on: June 04, 2008, 09:09:11 am »

Many thanks - that does help and I've got it implemented using .htaccess to go to a splash page before index.php.

The problem now is that using "Home" in the breadcrumb takes you to "../gallery/index.php" instead of just "../gallery" so it bypasses that .htaccess directive.

But i'm sure there's a rewrite rule that will achieve what I want - i'll dig around.

Thanks.
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 19 queries.