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.065 seconds

The j-cook project is indeed one of the best tools I've run across for building Joomla components and the beta version should make things even better!

dyoungers (Forum)  

Get Started