Photo Shop: Add filename ? Photo Shop: Add filename ?
 

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

Photo Shop: Add filename ?

Started by JohannM, July 10, 2007, 07:57:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JohannM

I want to add the filename to the photo shop table.

I added a field "filename" to the database table "cpg1410_shop".

Question:  Where and what pages to I need to add what to add the "filename" to this field ?

Thanx in advance

Stramm

Why? The filename is already stored in the pictures table. Use the pid as reference

JohannM

Hi Stramm

Yes, I know I can use the pid as reference, but to make to front end smoother I use the filename and title as reference.

Anyway, I figured it out, it's adding the filename to the table now.

The reason for this is I screwed up my picture table a while ago, and with that all orders.  I spend hours looking up old pid numbers for filenames, and then changed the pid to the new pid so that my users can have the correct and new details.

One lesson I learned:  MAKE BACKUPS !!!  lol

Stramm

yah, at least if you sell items ;)