Hello :)

I'm using this module since last month. But this module have a big problem. that is a url problem on editing form.
When editing a node, uplaod form printed original url. (eg. http://example.com/default/files/xxx.ext). After submitted, it changed to url changed by uploadpath module.

So i can't using url on editing form. And after once submitted, i editing a unpublished post and publish post. It's so inconvenient for me.

So, i added a replacement feature. it replace urls to valid url automatically. When you editing a node, you can insert original url to body and submitted. Then, the original url is replaced into valid url.
(eg. http://example.com/default/files/xxx.ext -> http://example.com/default/blog/2010/xxx.ext)

Only newly uploaded file's url has converted.

CommentFileSizeAuthor
uploadpath-auto-replace.patch3.16 KBbarami

Comments

barami’s picture

Ah, i added setting form into uploadpath settings form.

administrator can control replace feature by checkbox. If unchecked Automatic url replace, this feature not work.

barami’s picture

it's not compatible with itweak_upload's rename function.