I want to create a custom form that will list out a documents from the PhocaDownload extension. However, I want it to list the documents for a user whose JomSocial profile is currently being viewed on the front end of the site. So, if I am on Person1's profile page, I will see the list of documents that have been uploaded by Person1. If I visit Person3's profile page, their docs are the ones I should see.
The URL for viewing a profile page looks like:
index.php?option=com_community&view=profile&userid=44
I know how to do exactly what I want, including making the document names link to the downloads. What I need to know is how can I pull the 'userid' from the above URL into CF to use it in a query?
Thanks!!!
The URL for viewing a profile page looks like:
index.php?option=com_community&view=profile&userid=44
I know how to do exactly what I want, including making the document names link to the downloads. What I need to know is how can I pull the 'userid' from the above URL into CF to use it in a query?
Thanks!!!