rejetto forum

change a folder resource for 1 connection only

raybob · 5 · 1462

0 Members and 1 Guest are viewing this topic.

Offline raybob

  • Tireless poster
  • ****
    • Posts: 453
    • View Profile
    • FileSplat.com
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


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13308
    • View Profile
 create the "test" folder, and put the script you need in the diff template, so that you {.redirect.} the user on a different folder.


Offline raybob

  • Tireless poster
  • ****
    • Posts: 453
    • View Profile
    • FileSplat.com
But the point is that I would like a way to show different files, in the same folder.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13308
    • View Profile
you can assign permissions to files, and then use the "list protected items..." feature in menu > virtual file system


Offline raybob

  • Tireless poster
  • ****
    • Posts: 453
    • View Profile
    • FileSplat.com
I guess I could try to make that work . . .

I'll be back later  ;)