Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

Folder Redirection based on Username
Last Post 05/14/2009 8:53 PM by Peter Donker. 1 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Michael Gibson
New Member
New Member
Posts:1


--
05/12/2009 5:40 PM

Can I have the module display only those files in a folder based on their username automatically?

i.e. Username = 45

module would display everything in the directory

Member Report/45

possible?

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
05/14/2009 8:53 PM
Hi Michael,

Not sure exactly what you're driving at but note the following:
- every folder can have user-based security. So you could set it up to only show for user X.
- every item under a folder inherits security by default
- you can set DMX to not allow people to touch security settings under a particular folder
- there is a stored procedure to facilitate the easy creation of folders: DMX_AddFolder

Put this together and you should be able to create user based folders quite easily. Only: redirection is tough as it happens normally at page level. So the solution would be to show the mother folder on a page and every user would only see their own folder there (and maybe a common one).

Another thing: you'll need to program something for the folder creation. The adding of a user happens somewhere else in the site or in some other logic. So you need to find the right spot to intervene.

Peter
You are not authorized to post a reply.