[Solved]: anycontent as home page, but can't remove catlist [Solved]: anycontent as home page, but can't remove catlist
 

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]: anycontent as home page, but can't remove catlist

Started by mikesalway, June 03, 2008, 11:19:48 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mikesalway

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

Joachim Müller

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

mikesalway

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.