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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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