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: Change Postage Images  (Read 4567 times)

0 Members and 1 Guest are viewing this topic.

TeenStorm

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 23
  • €®!¢
    • TeenStorm.com
Change Postage Images
« on: May 29, 2007, 07:58:38 pm »

I'm trying to locate the php file & syntax that allows me to specify a different "postage" image in an eCard without actually editing the stamp.gif image directly.  Can anyone offer a quick pointer? ...I'm currently looking in ecard.php so I can alter this postage image and/or add a company logo to the eCard template. 
« Last Edit: June 04, 2007, 09:38:26 am by GauGau »
Logged

TeenStorm

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 23
  • €®!¢
    • TeenStorm.com
Re: Change Postage Images
« Reply #1 on: May 29, 2007, 09:35:08 pm »

Wait, I think I found it in themes.inc.php 
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Change Postage Images
« Reply #2 on: May 31, 2007, 08:16:33 am »

Don't edit include/themes.inc.php, under no circumstances. Edit themes/yourtheme/theme.php instead! If the corresponding section doesn't exist in your custom theme, copy it from themes/sample/theme.php into themes/yourtheme/theme.php, then edit as you see fit.
Logged

TeenStorm

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 23
  • €®!¢
    • TeenStorm.com
Re: Change Postage Images
« Reply #3 on: June 04, 2007, 01:10:33 am »

Ahh, yes I see it now; that is an elegant solution vs. touching the core files.  Changes made.  CPG is the best, thanks GauGau!
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.