Field Type Upload

2 posts by 2 authors in: Forums > CMS Builder
Last Post: March 31, 2008   (RSS)

By Djulia - March 31, 2008 - edited: March 31, 2008

Hi,

I would like to indicate a full URL (http://...) for the value of the field Folder Url (for Upload Directory).

But, I obtain the error message :

Upload Folder Url must start a leading slash !

There is a possible solution ?

Thank you for your assistance.

Djulia

Re: [Djulia] Field Type Upload

By Dave - March 31, 2008

The reason for that is if you switch domains all your links will point to the old domain.

That said, you could bypass the error checking by editing the schema file directly here: /data/schema/yourSectionName.ini.php and search for "customUploadUrl". Make sure it's for the right field and ends with a slash though.

And the global one can be found in /data/settings.dat.php if you search for "uploadUrl".

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com