coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 ecards & email => Topic started by: haggis on March 04, 2006, 04:53:00 AM

Title: Remove Title and Caption from Ecard?
Post by: haggis on March 04, 2006, 04:53:00 AM
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.
Title: Re: Remove Title and Caption from Ecard?
Post by: Joachim Müller on March 04, 2006, 07:17:25 AM
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
Title: Re: Remove Title and Caption from Ecard?
Post by: haggis on March 04, 2006, 07:35:59 AM
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!
Title: Re: Remove Title and Caption from Ecard?
Post by: Joachim Müller on March 04, 2006, 07:46:27 AM
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.
Title: Re: Remove Title and Caption from Ecard?
Post by: sorro on March 07, 2006, 04:05:00 PM
Hi GauGau,

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

Greetings,
Sorro