Remove Title and Caption from Ecard? Remove Title and Caption from Ecard?
 

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

Remove Title and Caption from Ecard?

Started by haggis, March 04, 2006, 04:53:00 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

haggis

I'm just about to upgrade three galleries from 1.3.3 - I upgraded one and noticed the ecards now add image title and caption. What is the simplest way to revert 1.4.4 ecards to no caption and no title? I searched for 'ecard caption' here and also tried commenting out  few bits of ecard.php that seem to reference caption or title, but of course I don't know PHP really so did not have success.

Any tips appreciated. Thank you.

Joachim Müller

the ecard template is being stored in the theme now. Edit your theme.php, find// HTML template for e-cardsand edit the stuff below it as you see fit. If the section doesn't exist in your theme, copy it over from themes/sample/theme.php

haggis

Thanks. I had used the water_drop template as a starting point and it had almost nothing in theme.php! But pasting in and editing the the ecard stuff from themes/sample.php worked perfectly. Many thanks!

Joachim Müller

you just learned the powers of the new themeing system: themes can be very light-weight, only the stuff that you want to have differently than the standard has to be in your custom theme.

sorro

Hi GauGau,

step by step I understand the new themes system. Thanks for your answer! It helped me a lot.

Greetings,
Sorro