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

  • BTB300
  • BTB300's Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 415
  • Thank you received: 132
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.093 seconds

This is what you call a component builder. I was able to master using this in a very short time and the resulting component works like a charm. Not just a basic component builder but a fully working component builder with forms fields tables all ready to go. You can make the list and item views to display in the front and back end. Also there is a great forum just starting to evolve and I'm sure this will grow very rapidly when you all realise how good this tool is.
Kevin (JED)

         

Get Started