Change upload folder for a section

3 posts by 2 authors in: Forums > CMS Builder
Last Post: April 30, 2009   (RSS)

Re: [rconring] Change upload folder for a section

By ross - April 30, 2009

Hi Ron

Thanks for posting!

When you change the path for your uploads in a specific field, all the images you had already uploaded should actually still keep on working.

CMS Builder isn't going to move those from where they are currently stored. It will just start uploading your images to the new folder from that point forward.

The reason for this is that CMS Builder actually stores the path to each image right in the database.

The fact that it now seems that old images don't appear at all after changing that path makes me think there is something else going on. Of course, I don't exactly know what just yet.

Would you mind sending me an email to consulting@interactivetools.com with FTP details and a link to this thread?

Thanks!
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/

Re: [ross] Change upload folder for a section

By rconring - April 30, 2009

Hey Ross ...

Thanks for the quick response! I panicked a tad prematurely, I figured out that I was looking in the wrong place on the server for the links. I found them in the related "cms_uploads" table in the database. I was looking in the cms_animals table which holds the actual profile information. The ones placed in the wysiwyg are still intact since they are stored in the default uploads folder. I should have mentioned that they are the UPLOADS and not the embeded images.

At any rate, it is still a chore to change them now without some script to do a mass change. There are only about 30 images in that folder, so I will just delete and re upload them.

I saw a Dave blurb somewhere in the forum on that subject, but can't seem to find it. It would be nice to be able to manually edit those records in the CMS Admin. Oh well!

Thanks again for you reply.
Ron Conring
Conring Automation Services
----------------------------------------
Software for Business and Industry Since 1987