strutsjive

Jive 7: How to change profile data / action?


I am writing a plugin for Jive (SBS) 7 and want to add more data to the template for the user profile Overview page (i.e. /people/admin ). In Jive 6 I did overwrite the profile path in struts and added my own ViewProfile action. But this action seems to be called no more.

I also cannot even figure out where the templates I changed get their data from (soy/people/profile/{userProfile, header, head}.soy) or what action is responsible for.

So how can I add another property to the soy file that gets a custom property for the targetUser? (custom property = property saved in the database table jiveuserprop)


Solution

  • I got an answer in the Jive Developer community:

    profile is an action in Struts2.  /people/username is a URL Mapper permutation
    

    https://community.jivesoftware.com/thread/263660