How do I add an icon to my Tridion 2011 GUI Extension context-menu item?
Is it in the theme or GUI Extension config?
Is the size 16px?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes the icon is 16 x 16.
I’ve always done it using CSS, I hope this explanation makes sense:
1) In your editor.config, you specify the css file and other resources you need
2) When you configure the context menu, you have the ID attribute in the ContextMenuItem (shown below as PT_PagePublisher)
3) In your CSS file you’ll have something like:
See how the name of the CSS class (PT_PagePublisher) maps to the ID in the ContextMenuItem node.
I hope this helps!