Expand my Community achievements bar.

Tagging button moved after tagadmin.xml overriding

Avatar

Level 2

Hello,

To add additional functionality in tagging panel we overridden file "/libs/cq/tagging/content/tagadmin.xml" and moved it  to "/apps/cq/tagging/content"(AEM6 with SP1 installed).

Everything work fine, but tagging button moved from the end to the beginning. We tried to change sling:vanityOrder property in  "/apps/cq/tagging/content/tagadmin" but it didn't help.

[img]Screenshot_1.png[/img]

[img]Screenshot_2.png[/img]

Can we place tagging button on the original location?

1 Reply

Avatar

Level 10

It is expected. At /libs/cq/core/components/welcome/welcome.jsp use is made of ConsoleUtil, that returns the node.   If you take a look at the Switcher.js where the top navigation button group is being built from, the buttons show/ hide are dynamically controlled by the json request to /libs/cq/security/userinfo.json.   You need to overlay those files & change logic to get the sort order as per need.