I'm creating a user and want to add a feature where when their account is created, automatically a subfolder with their username is created and they are assigned that folder (for viewing images), any ideas on how I would do this in ADDT? I know how to display it once I get this done, but creating the folder (server side) is what I am stumped on. Thanks. -Aaron
This sample code will actually create a directory (plus give it a 755 permission) that´s named according to the newly inserted record´s Primary Key rather than the user name.
You could also use $tNG->getColumnValue() to set it to the user´s name, but I personally strongly prefer the "Primary Key" method, as this value will never change, but user names might possibly -- and for retrieving the current user´s "my directory" in whatever page, you´d simply have to use the Session variable kt_login_id.
Adobe Community Expert, Dreamweaver