Advanced search  

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

Pages: [1]   Go Down

Author Topic: Remove Title and Caption from Ecard?  (Read 4771 times)

0 Members and 1 Guest are viewing this topic.

haggis

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
    • Cairn Gallery
Remove Title and Caption from Ecard?
« 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.
« Last Edit: March 04, 2006, 07:45:17 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Remove Title and Caption from Ecard?
« Reply #1 on: March 04, 2006, 07:17:25 am »

the ecard template is being stored in the theme now. Edit your theme.php, find
Code: [Select]
// 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
Logged

haggis

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
    • Cairn Gallery
Re: Remove Title and Caption from Ecard?
« Reply #2 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!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Remove Title and Caption from Ecard?
« Reply #3 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.
Logged

sorro

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Remove Title and Caption from Ecard?
« Reply #4 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
Logged
Pages: [1]   Go Up
 

Page created in 0.031 seconds with 19 queries.