Hello,
I would ask of someone knows how it would be the easiest way to creat a page where each user only can see the downloads how are for him
exp.
User 1 can just see documents in the folder called downloads/1/
User 155 can just see documents in the folder called downloads/155/
Someone an Idea how i could implement it in FileDownload R ?
-
☆ A M B ☆
- 3,141 Posts
Something like this:
[[!FileDownload? &getDir=`[[++core_path]]downloads/[[!+modx.user.id]]]]`]]
And any other properties you'll need from
http://rtfm.modx.com/display/ADDON/FileDownload+R.FileDownload
-
☆ A M B ☆
- 3,112 Posts
And this is related with my recent Extra
Upload to Users CMP, to manage the directories.
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.