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

Real time saver and great Component Builder tool ! I have been developing with J-Cook Pro Component Builder for several months now and can say with all honesty that this product/service is second to none. The product is feature rich and is being improved and added to all the time. Do yourself a favor if you need to build a Joomla! Component then you can do no wrong in trying the product. You will save on time and effort while being able to deliver your project on time. J-Cook pro does the hard work for you you then have the freedom to fully customise the end result for your own needs. 

One word: Awesome.
Edwardcox (JED)
         

Get Started