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: Changing the default file attribute names (title, description etc)  (Read 1664 times)

0 Members and 1 Guest are viewing this topic.

ChrisGray

  • Coppermine newbie
  • Offline Offline
  • Posts: 7

I notice that you can add custom fields for image description, and that they appear in the list for each file. What I want to do is rename the existing ones, for example:

Title into Name
Description into Year

I've searched the forums (forgive me if it's on here!) and haven't found any solution to the problem.

Is it easy, or will I have to do some mysql nastiness?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Changing the default file attribute names (title, description etc)
« Reply #1 on: July 26, 2008, 10:39:52 am »

To rename the labels, edit your language file, e.g. lang/english.php
Logged

ChrisGray

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Changing the default file attribute names (title, description etc)
« Reply #2 on: July 26, 2008, 03:24:59 pm »

That's easy, thanks.

Naturally if somebody were to change to their own language it would revert back to the standard label names, wouldn't it?
Logged

Nibbler

  • Guest
Re: Changing the default file attribute names (title, description etc)
« Reply #3 on: July 26, 2008, 03:39:42 pm »

Yes. Simply translate your changes into all available languages.
Logged
Pages: [1]   Go Up
 

Page created in 0.031 seconds with 20 queries.