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: problems with anycontent  (Read 3105 times)

0 Members and 1 Guest are viewing this topic.

adiboy

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 37
    • Computer repair stoke on trent
problems with anycontent
« on: March 25, 2005, 01:06:07 pm »

hi ever oen can some one help me this is very simpel i think i searched the forum about anycontent.php there where some good postes but i can't get my own to wotk

this is the coding that i have under the inclucd on the index.php
Code: [Select]
            case 'anycontent':
                if ($cat == 7) {
                    include('anycontent.php');
                }
                flush();
                break;

i tryed changing the $cat == to other numbers but is it now working
this is my photolabum www.fun.adiboy.co.uk
Logged
Computer repair stoke on trent  :o http://sy2.com

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: problems with anycontent
« Reply #1 on: March 25, 2005, 09:30:23 pm »

To use anycontent normally, you don't change any code in any other file, just add your content to the anycontent.php and then, in your config admin page, add it to the 'contents of main page, so it will look something like this;

Quote
breadcrumb/anycontent/catlist/alblist/random,2/lastup,2
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

adiboy

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 37
    • Computer repair stoke on trent
Re: problems with anycontent
« Reply #2 on: March 25, 2005, 10:49:24 pm »

yea thanks that is workign but can i include the bit at the botem of the page tht shows how many file you have got on othere pges
2459 files in 28 albums and 3 categories with 12 comments viewed 5030 times

i wanted to have it at the top not at the botem. tht as all?
Logged
Computer repair stoke on trent  :o http://sy2.com
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 15 queries.