Hi,
I would like to know how to override /libs/cq/tagging/widgets/source/widgets/admin/TagAdmin.Actions.js to customize "Create Tag" dialog,
If anybody has done similar tag dialog customization previously, please let me know.
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
Get an idea from [1] & similarly implement for your use case. Alternatively override [A] at [B] and make your changed in [B]. The key is make sure properties of /apps/cq/tagging/widgets matches with /libs/cq/tagging/widgets
[1] http://experience-aem.blogspot.com/2013/10/aem-cq-56-create-and-view-button-on-new-page-dialog.html
[A] /libs/cq/tagging/widgets/source/widgets/admin/TagAdmin.Actions.js
[B] /libs/cq/tagging/widgets/source/widgets/admin/TagAdmin.Actions.js
Views
Replies
Total Likes
Get an idea from [1] & similarly implement for your use case. Alternatively override [A] at [B] and make your changed in [B]. The key is make sure properties of /apps/cq/tagging/widgets matches with /libs/cq/tagging/widgets
[1] http://experience-aem.blogspot.com/2013/10/aem-cq-56-create-and-view-button-on-new-page-dialog.html
[A] /libs/cq/tagging/widgets/source/widgets/admin/TagAdmin.Actions.js
[B] /libs/cq/tagging/widgets/source/widgets/admin/TagAdmin.Actions.js
Views
Replies
Total Likes
Yes right,
While doing the implementation suggested in solution I on the link [A] by you,
My code is
(function(){ var customTag = CQ.tagging.TagAdmin.createTag; CQ.tagging.TagAdmin.createTag = function(){ var d = customTag(); } })();
However In this case my code is not able to find "tagsBasePath" define in [1],
Not sure whats missing
[1] /libs/cq/tagging/widgets/source/widgets/admin/TagAdmin.js
Views
Replies
Total Likes
Use [B] instead of the one mentioned in the above comment
[B] /apps/cq/tagging/widgets/source/widgets/admin/TagAdmin.Actions.js
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies