Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Upload files to a user specific directory 26 Jun 2013 15:16 #7707

  • vivek
  • vivek's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 123
  • Thank you received: 2
Hi,
How to upload files to a user specific directory.In the configuration, we have options to set the upload directory with markers like [IMAGES],[MEDIAS].

But if you can add [MEDIAS]\[USERID], it would be really useful.

Regards
Vivek

Please Log in or Create an account to join the conversation.

Upload files to a user specific directory 26 Jun 2013 15:59 #7711

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
I can do it easily.

Not in the upload directory, but in the rename property.
{ID} is the id of the item
{USERID} could easily be the userid
A piece of cake.

'/' directory separators are supported in this rename property since 2.5
Coding is now a piece of cake
The following user(s) said Thank You: vivek

Please Log in or Create an account to join the conversation.

Upload files to a user specific directory 30 Jun 2013 15:23 #7765

  • vivek
  • vivek's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 123
  • Thank you received: 2
Thanks, that will do wonders..

Please Log in or Create an account to join the conversation.

Upload files to a user specific directory 30 Jun 2013 16:40 #7769

Hi There
More Extensive dynamic folder uploads kindly provided by Tomaselli

www.j-cook.net/index.php/forum/coding-in...r-paths?start=6#7013

works for me

Please Log in or Create an account to join the conversation.

Upload files to a user specific directory 12 Oct 2013 03:56 #11373

  • vivek
  • vivek's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 123
  • Thank you received: 2
Hi Admin,
Is this rename property available with Jcook now?

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.404 seconds

I jumped and started to work on a demo component... but 2 days later this demo component became the real component. I just showed today the end result to my customer and he turned to me and said... "this is more than I expected"... All of this is because Cook did cut about 70% of my work and provided me more ways to improve the usability of the component. The end result was 17 tables all related between than to generate a full dashboard for the travel agents. Thanks for Cook developers for such great tool. This component would not be possible to be done at short time with all the features in it
Griiettner (Forum)  

Get Started