I’m trying to modify the nGen File Field extension to make it create a separate folder for each author’s uploads. Basically, I just want to add the “author_id” to the end of the “server_path.”
I have it working fine with a variable that I set with a static value for right now. For example, instead of the path being “.../images/uploads/” I can set it to “.../images/uploads/12345/”
Now I just need to know how I can get the author_id from within the extension. Is there some class or function to get this information?