Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Admin menu option not being highlighted

Paul Clark _Redmoon Software_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
October 30, 2013

Hi I am trying to get an example working to display a link and page in the admin section for Stash. I took the stash plugin example, cut it right back and then changed to display in the admin section (atl.admin/admin-settings-section) of Stash (code at https://bitbucket.org/paul_k_clark/admin-stash-example-plugin/src).

The code displays the menu item in the correct place in the admin section (Administration/Settings). When I click on the menu item (My plugin) it displays the page correctly but does not highlight the page link.

Can someone please tell me what I doing wrong

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
cofarrell
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 30, 2013

Hi Paul,

Apologies, that's what I get for not testing it. You also need to change activeTab to admin.active.tab (I was getting confused with the soy parameter name we have internally):

<meta name="admin.active.tab" content="my-plugin-tab">

Cheers,

Charles

0 votes
cofarrell
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 30, 2013

Hi Paul,

The key of your web-item needs to match the activeTab parameter in the soy template. So you probably want to change activeTab to 'my-plugin-tab' (or vice-versa).

Charles

Paul Clark _Redmoon Software_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
October 30, 2013

Hi Charles. I have changed the activeTab to "my-plugin-tab" but it makes no difference, still no highlighted menu item. Any ideas?

Thanks

TAGS
AUG Leaders

Atlassian Community Events