Add text to display.php ? Add text to display.php ?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Add text to display.php ?

Started by pcp20us, February 01, 2008, 09:38:09 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pcp20us

Hello all

I want to add some text to the displayimage.php file, below or beside the image that gets displayed. I have search around but unclear on how to do this.
Do i want to add text to theme.php (for my theme) or add text in displayimage.php. Does this text need to be html or php?
I am unclear on how the displayimage page gets displayed
If someone could point me to the relevant doco or give me a run down of what i need to add that would be great.

Thanks

Pete

Stramm

What you want to get displayed below the intermediate image? Some adds? Always the same txt/ banner? Dynamic content related to the very image....

Joachim Müller

The instructions posted in http://forum.coppermine-gallery.net/index.php?topic=46519.0 should apply. In fact, it doesn't matter what static content you add - be it Adsense code, banners or just some text. It only get's a bit more complicated if that content is suppossed to be dynamic.
Please read http://forum.coppermine-gallery.net/index.php?topic=47177.msg227889#msg227889 as well.

pcp20us

Hi.

I want to add static text which is always the same. I looked at the post http://forum.coppermine-gallery.net/index.php?topic=46519.0 tried puttin this code in mytheme/theme.php, but it did not work. Not sure how to add this to my theme.php file

I basically just want to add text below every intermediate picture that has info re there order, stuff like resoultion of photos print quality postage charged etc.

Thanks for the help fellas

Pete

Joachim Müller

Quote from: pcp20us on February 01, 2008, 08:40:36 PM
but it did not work.
Not a valid report. What is "did not work" suppossed to mean?

Post a link to your gallery. Zip the entire folder that contains your custom theme and attach it to your posting (using "additional options" when composing your message.