News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

Main Menu

[Solved]: Banner adds on Coppermine

Started by kholloi, April 12, 2004, 08:06:07 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kholloi

Hi.

I want to use phpAdddsNew to dipslay banner adds on my coppermine site.

I generated the invocation code which looks like this:

include ('phpadsnew.inc.php');

    if (@include(getenv('DOCUMENT_ROOT').'/addserver/phpadsnew.inc.php')) {
        if (!isset($phpAds_context)) $phpAds_context = array();
        $phpAds_raw = view_raw ('zone:1', 0, '', '', '0', $phpAds_context);
        echo $phpAds_raw['html'];
    }

and placed it in the top of  ../themes/mythme/theme.php file

It runs without an error but the banner does not display. Have I placed th code in the right file?

Thanks

Joachim Müller


kholloi


Joachim Müller

hehe :wink: , marking this issue as "solved" then...

GauGau