problems with anycontent problems with anycontent
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

problems with anycontent

Started by adiboy, March 25, 2005, 01:06:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

adiboy

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
            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
Computer repair stoke on trent  :o http://sy2.com

Casper

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;

Quotebreadcrumb/anycontent/catlist/alblist/random,2/lastup,2
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

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?
Computer repair stoke on trent  :o http://sy2.com