Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

Profile replaces "Expertise" panel #2

Closed
feisley opened this issue Mar 25, 2014 · 2 comments
Closed

Profile replaces "Expertise" panel #2

feisley opened this issue Mar 25, 2014 · 2 comments
Assignees
Milestone

Comments

@feisley
Copy link
Contributor

feisley commented Mar 25, 2014

When installed on an instance that also contains Confluence Questions the profile overwrites the Questions "Expertise" panel shown at the top right side of the profile page.

Is it possible to inject the custom profile without removing the "Expertise" panel? There must be some way to add panels to the profile page given that the "Expertise" panel itself was injected by the Confluence Questions plugin.

@blaubaer
Copy link
Member

That's will be a little bit tricky. For Adam I have to hack into the user profile view and have to remove the web panel hook atl.confluence.userprofile.info and replace it with atl.confluence.userprofile.info.advanced but I will look to find a better way for this.

Thanks for your input.

blaubaer added a commit that referenced this issue Mar 25, 2014
@blaubaer
Copy link
Member

Now I hooked into Confluence and just filtering the com.atlassian.plugin.web.model.ResourceTemplateWebPanel which is listening on atl.confluence.userprofile.info and if its resource is mapped to /users/viewmyprofile-info.vm. As result all other web panels will also work from now in user profiles.

@blaubaer blaubaer self-assigned this Mar 31, 2014
@blaubaer blaubaer added this to the 0.1.2 milestone Apr 2, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants