Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Add text to display.php ?  (Read 3296 times)

0 Members and 1 Guest are viewing this topic.

pcp20us

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 74
  • Go the open sources
    • noosaimages.com.au
Add text to display.php ?
« on: February 01, 2008, 09:38:09 am »

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
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Add text to display.php ?
« Reply #1 on: February 01, 2008, 12:27:12 pm »

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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Add text to display.php ?
« Reply #2 on: February 01, 2008, 08:18:50 pm »

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.
Logged

pcp20us

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 74
  • Go the open sources
    • noosaimages.com.au
Re: Add text to display.php ?
« Reply #3 on: February 01, 2008, 08:40:36 pm »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Add text to display.php ?
« Reply #4 on: February 01, 2008, 08:50:53 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 15 queries.