Re: [Dave] Prevent adding record to cms_uploads table?
Dave-
In addition to allowing a user to add individual records and upload corresponding PDFs individually, I've created a bulk upload PHP page that uses a CSV file to add many records in one operation...So I write to the CMS tables directly and they show up on the site, and in the CMS editor interface...However, for every CSV record added, there needs to be an accompanying PDF... So, I am using a second section editor so the user can upload PDFs from their hard drive to the server...
As an alternative, I thought of giving the user an html dropdown populated with PDF files from a directory I would tell them to create (and load w/PDFs) on their hard drive...But there will be users from Japan, Germany, and who knows where else using the site...I don't think a directory like c:\uploads would look the same in Japan as it does here, so I decided not to do it that way...
I can still do this with CMS, but I'll end up with double entries in the cms_uploads table...not the worst thing in the world, and definately still acceptable although not ideal...
Hope that makes sense...As always...Thanks for the response and help!
Rick