forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: sle-sle on February 25, 2006, 01:02:58 pm

Title: Publicity module in Coppermine, How ??
Post by: sle-sle on February 25, 2006, 01:02:58 pm
Hello !!

I want to put a publicity module in my coppermine but I dont know how !!

somebody can help me?

Thanks !!
Title: Re: Publicity module in Coppermine, How ??
Post by: Tranz on February 25, 2006, 06:09:40 pm
What's a publicity module?
Title: Re: Publicity module in Coppermine, How ??
Post by: sle-sle on February 25, 2006, 07:01:43 pm
Any that operate with Coppermine, of course !

Thanks.
Title: Re: Publicity module in Coppermine, How ??
Post by: Tranz on February 25, 2006, 07:08:29 pm
That doesn't answer my question. I don't what you're talking about.
Title: Re: Publicity module in Coppermine, How ??
Post by: sle-sle on February 25, 2006, 08:58:07 pm
That doesn't answer my question. I don't what you're talking about.

banner-rotation scripts or similar.

Where I can see any block of banner rotation for to put in the anycontent.php file ?
Title: Re: Publicity module in Coppermine, How ??
Post by: lordprodigy on February 25, 2006, 11:58:50 pm
search the boards for ads, banners, or similar keywords. right now there is no "module" that does that. I have posted a plugin request which would deal with google ads or possibly any type of ads/banners.

the easiest way to go for this is to add your code into the theme.html. if you want to get fancy, search the boards for phpadsnew...
Title: Re: Publicity module in Coppermine, How ??
Post by: Joachim Müller on February 27, 2006, 08:01:26 am
the easiest way to go for this is to add your code into the theme.html.
There's no such file.
Title: Re: Publicity module in Coppermine, How ??
Post by: lordprodigy on February 27, 2006, 06:02:00 pm
There's no such file.

sorry I meant template.html  ::)
Title: Re: Publicity module in Coppermine, How ??
Post by: Joachim Müller on March 01, 2006, 10:01:29 am
a banner rotation script means dynamic (PHP) code, so it can't go into template.html (which can only hold static html code). Instead, such a modification needs to go into theme.php. Another option would be the use of anycontent.php or using the custom_header_include feature.
Title: Re: Publicity module in Coppermine, How ??
Post by: lordprodigy on March 01, 2006, 07:20:18 pm
check this thread http://forum.coppermine-gallery.net/index.php?topic=18284.0

and this one too: http://forum.coppermine-gallery.net/index.php?topic=27970.0

although they apply to google ads, it will give you an idea how to integrate ad code into your theme.php.