Problems, need help? Have a tip or advice? Post it here.
5 posts Page 1 of 1
Hello, can I change the couch upload folder path?

right now:
http://www.mysite.com/couch/uploads/image/test.jpg

would be great:
http://www.mysite.com/data/image/test.jpg

chichi :P
* * * * * * I LOVE COUCH CMS - flexible and straight forward * * * * * *
chichi wrote: Hello, can I change the couch upload folder path?

right now:
http://www.mysite.com/couch/uploads/image/test.jpg

would be great:
http://www.mysite.com/data/image/test.jpg

chichi :P


Open up : "couch/config.php"
and edit line 82 :
Code: Select all
//define( 'K_UPLOAD_DIR', 'myuploads' );


to :
Code: Select all
define( 'K_UPLOAD_DIR', 'myuploads' );


Change 'myuploads' to your destination folder.

Thx :)
As soon as possible!

Touch me up : abada[dot]zulma[at]gmail[dot]com
super, didn't see it the first time. what write permissions do I have to give 755?
can I switch, eevn though I uploaded images. I just copy them in this case, right?
chichi :P
* * * * * * I LOVE COUCH CMS - flexible and straight forward * * * * * *
chichi wrote: super, didn't see it the first time. what write permissions do I have to give 755?
can I switch, eevn though I uploaded images. I just copy them in this case, right?
chichi :P


Yes, make it 755.
You can copy it, and the couch file manager will read it, or you can upload file throught couch file manager.

Heres my folder :
Code: Select all
http://************.com/sekonyongkonyongkoder/image/team3.png


:lol: :lol: :lol: :lol:

Btw, when you asign upload folder your own, couch will create folder inside, mine : image, documents, video, etc.
As soon as possible!

Touch me up : abada[dot]zulma[at]gmail[dot]com
works great, thanks.
* * * * * * I LOVE COUCH CMS - flexible and straight forward * * * * * *
5 posts Page 1 of 1
cron