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
Community moderators have prevented the ability to post new answers.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Charles. I have changed the activeTab to "my-plugin-tab" but it makes no difference, still no highlighted menu item. Any ideas?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.