forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: extremegl on June 21, 2005, 07:05:06 am

Title: Modifying WaterDrop to add banner image
Post by: extremegl on June 21, 2005, 07:05:06 am
How can I add my own banner image to the WaterDrop template??
Title: Re: Modifying WaterDrop to add banner image
Post by: Tranz on June 21, 2005, 07:31:33 am
http://coppermine.sourceforge.net/faq.php#customHeader
Title: Re: Modifying WaterDrop to add banner image
Post by: wieland on June 22, 2005, 06:36:19 pm
Hello, Im wanting to add this piece of php code (from www.phpadsnew.com) to add a banner to my header in Coppermine, the code is following

<?php
    if (@include(getenv('DOCUMENT_ROOT').'/alohagdl/publicidad/phpadsnew.inc.php')) {
        if (!isset($phpAds_context)) $phpAds_context = array();
        $phpAds_raw = view_raw ('11', 7, '', '', '0', $phpAds_context);
    }
   
    // Assign the $phpAds_raw['html'] variable to your template
    // echo $phpAds_raw['html'];
?>


It just dont works (Coppermine isnt loaded)  HELP !!!
Title: Re: Modifying WaterDrop to add banner image
Post by: Joachim Müller on June 30, 2005, 02:10:27 pm
next time search before posting: http://forum.coppermine-gallery.net/index.php?action=search2;search=phpadsnew