Resource data pulled on Member page?

Floren

Well-known member
Licensed customer
Go to my profile page and look at the Resources tab:
http://xenforo.com/community/members/floren.18/

In what file is the $article or $update array defined to display the info into member's Resources tab? I need to add another key to the array, but I don't know where the code is processed.

Thanks for your help.
 
I'm not sure I understand "$article or $update array"? I'm not familiar with this code in the context of the member profile or resource authors code.

Anyway, to answer your question, the Resources tab pulls in information via an AJAX request. The actual content is pulled via an AJAX request to this page: http://xenforo.com/community/resources/authors/floren.18/

It's one of the features of the XenForo tabs system. It is able to load the content of any page in a tab without the surrounding container.

With that in mind, to make any changes to that you would need to extend the XenResource_ControllerPublic_Author controller. (actionView to modify the parameters available on a user's page).
 
Thank you Chris, that was exactly what I was looking for: XenResource_ControllerPublic_Author.
 
Back
Top Bottom