rejetto forum
May 26, 2012, 12:12:59 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: change a folder resource for 1 connection only  (Read 588 times)
0 Members and 2 Guests are viewing this topic.
raybob
Tireless poster
****
Offline Offline

United States United States

Posts: 206



View Profile WWW
« on: April 30, 2011, 05:18:54 PM »

Is there a way to do a {.set item|test|resource=new.} or something like that, where the resource of a folder is changed temporarily, but only for the connection that got the page with the macro?

My end goal here is to have a folder like /test/ but it shows a different directory based on the value of %user% or some other variable.

Thanks,
Raybob
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #1 on: May 02, 2011, 12:29:22 PM »

 create the "test" folder, and put the script you need in the diff template, so that you {.redirect.} the user on a different folder.
Logged
raybob
Tireless poster
****
Offline Offline

United States United States

Posts: 206



View Profile WWW
« Reply #2 on: May 02, 2011, 04:32:15 PM »

But the point is that I would like a way to show different files, in the same folder.
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #3 on: May 03, 2011, 10:28:01 AM »

you can assign permissions to files, and then use the "list protected items..." feature in menu > virtual file system
Logged
raybob
Tireless poster
****
Offline Offline

United States United States

Posts: 206



View Profile WWW
« Reply #4 on: May 03, 2011, 04:10:21 PM »

I guess I could try to make that work . . .

I'll be back later  Wink
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 07, 2012, 08:53:25 PM