how to know which file page/link the user is on?

Hey Kevin,

I'm wondering if you have a tip for this - In the file plugin (which flexfile extends) it has links/pages like "All site files", "Friends files", "Your files" and "Upload file".

Doing get_context() on all of them returns "file" and I need to know in which page exactly the user on, whether it's the "Your files" or "Upload file" matters to me.

Have you got a tip on accomplishing that?

 

Thanks,
Liran.

Form and related plugins

Form and related plugins

User-generated content, flexible user and group profiles, registration forms, custom file forms