Advanced search  


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.

Pages: [1]   Go Down

Author Topic: Anycontent.php enhancements???  (Read 3007 times)

0 Members and 1 Guest are viewing this topic.

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 230
Anycontent.php enhancements???
« on: August 15, 2004, 05:16:54 am »

It seems that "anycontent.php" is for main (index.php) page only.

There are a lot of things on my CPG's main page which I want to have appear on "inner" categories as well but they won't unless i duplicate the anycontent file. And when you have like 250+ categories its really pain in the neck.

For example say I have this:

case 'ads':
if ($cat == 0) {

That is fine as far as main page is concerned... but if you were to include the ads in all categories (over 200 of them) you would have to create a code similar to that over 200 times plus change the case, cat, and include lines, ads.php page duplicate file over 200 times.... you get the point?

IS there an easier way to include anycontent page on all categories and maybe when in albums too?

Any look into that would be helpful.

Thank you
Pages: [1]   Go Up

Page created in 0.013 seconds with 19 queries.