Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7598447
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T22:24:35+00:00 2026-05-30T22:24:35+00:00

How do I add an icon to my Tridion 2011 GUI Extension context-menu item?

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T22:24:37+00:00Added an answer on May 30, 2026 at 10:24 pm

    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

    <cfg:groups>
      <cfg:group name="PowerTools.Resources.Base" merge="always">
        <cfg:fileset>
            <cfg:file type="style">/PowerTools/Client/Shared/Theme/styles.css</cfg:file>
    

    2) When you configure the context menu, you have the ID attribute in the ContextMenuItem (shown below as PT_PagePublisher)

    <ext:contextmenus>
      <ext:add>
        <ext:extension name="PowerToolsContextMenu" assignid="PowerToolsContextMenu" insertbefore="cm_refresh">
          <ext:menudeclaration externaldefinition="">
            <cmenu:ContextMenuItem id="PowerToolsMenuGroup" name="Power Tools">
              <cmenu:ContextMenuItem id="PT_PagePublisher" name="Page Publisher" command="PT_PagePublisher"/>
    

    3) In your CSS file you’ll have something like:

    .PT_PagePublisher .image {background-image:url({ThemePath}/Icons/pagepublisher_16.png);}
    

    See how the name of the CSS class (PT_PagePublisher) maps to the ID in the ContextMenuItem node.

    I hope this helps!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I can add an icon to a menu item by adding an <icon> to
I was trying to add an icon to the left of each item in
I am trying to add minus icon at the end of sortable item, but
i'm displaying folders from sdcard dynamically. How to add icon on ArrayList . Code:
I know I can add a icon to the Resources.resx file of a project
I'm trying to add different icon overlays over the icons of various files (note:
I was wondering if it is possible to add an icon to the iPhone
I'm using javafx 2.0. I want to add an icon to the Tab in
By default when you add an image (icon, bitmap, etc.) as a resource to
How do I add an application icon to my project using Xcode 4.3.1?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.