Moving comments to Title field Moving comments to Title field
 

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]

Main Menu

Moving comments to Title field

Started by Paul333, May 08, 2008, 03:27:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Paul333

Is there an easy way to move ALL comments from the "description" field to the "title" field for each image ?

Paul333

Probably didn't explain that too well.

I've uploaded a lot of images and populated the "description" field with info rather than the "title" field. I now realise those comments don't show unless I enable display of all the file information ...... which I don't want to do.

Thought there may be a database move (SQL ?) that will shift the whole lot in one go.

Nibbler

UPDATE cpg_pictures SET title = caption

Change the prefix as appropriate.