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: Moving comments to Title field  (Read 1957 times)

0 Members and 1 Guest are viewing this topic.

Paul333

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Moving comments to Title field
« on: May 08, 2008, 03:27:30 pm »

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

Paul333

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Moving comments to Title field
« Reply #1 on: May 08, 2008, 03:29:59 pm »

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.
Logged

Nibbler

  • Guest
Re: Moving comments to Title field
« Reply #2 on: May 08, 2008, 05:01:37 pm »

Code: [Select]
UPDATE cpg_pictures SET title = caption
Change the prefix as appropriate.
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 20 queries.