Advanced search  

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

Pages: [1]   Go Down

Author Topic: AnyContent.php Question  (Read 3249 times)

0 Members and 1 Guest are viewing this topic.

ian ditch

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 49
AnyContent.php Question
« on: November 19, 2005, 12:18:18 am »

I Use anycontent to show the album discription but on the thubnail page.

In this anycontent file  I use this script

Quote
starttable("100%", 'Just An Example');
 echo '<tr><td class="tableb">';
 echo bb_decode($album_desc);

    ?>
   
    <?php
    endtable();

I want to add an extra script before this which is hidden unless you view /thumbnails.php?album=99.


EG. This script is ONLY shown on /thumbnails.php?album=99


Can Anyone help me?
« Last Edit: November 19, 2005, 05:06:46 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: AnyContent.php Question
« Reply #1 on: November 19, 2005, 12:21:40 am »

Code: [Select]
if (defined('THUMBNAILS_PHP') && $_GET['album'] == 99){
    echo 'hello';
}

Also you should use valid html.
Logged

ian ditch

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 49
Re: AnyContent.php Question
« Reply #2 on: November 19, 2005, 01:28:05 am »

Thanks Nibbler, Worked a treat
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.