2

In the Content Editor, on the Review tab, in the Workflow group. The Check In button name and icon is not showing, but the button itself is clickable and appends description.

enter image description here

1

EDIT 1

Here is the code that Render the Check In button:

private void RenderCheckIn(Item item)
{
  Assert.ArgumentNotNull((object) item, "item");
  string str1 = Translate.Text("Check In");
  string str2 = "Office/16x16/check.png";
  Item checkInItem = this.GetCheckInItem();
  if (checkInItem != null)
  {
    str1 = checkInItem["Phrase"];
    str2 = checkInItem.Appearance.Icon;
  }
  MenuItem menuItem = new MenuItem();
  this.Options.Controls.Add((System.Web.UI.Control) menuItem);
  menuItem.Header = str1;
  menuItem.Icon = str2;
  menuItem.Click = "item:checkin";
}

What it does, it fetch the item from the Core Database at the following path:

/sitecore/system/Settings/Workflow/Check In

So, you need to make sure that the Check In Item has a value from the field Phrase.

Normally, the icons are retrieved from the cache. Go to the path Website/temp/IconCache/office/16x16 and see if the check.png is present.

Here is a screenshot of the Inspect Tab.

enter image description here

Try to inspect the element and see if the src has the path. Below is the icon that needs to be present in the cache folder:

enter image description here

You may copy the image and save it to the path Website/temp/IconCache/office/16x16 under the name of check.png

  • Where can I find that path Hishaam? – MC Amil Nov 29 '16 at 6:55
  • You need to go to the Website Folder. Then navigate to temp/IconCache/office/16x16. If the directories are not present, you may create it so that you can paste the image – Hishaam Namooya Nov 29 '16 at 6:58
  • Where can I find the code behind this? – MC Amil Nov 29 '16 at 7:03
  • Why do you require the code behind? Can you please elaborate more? – Hishaam Namooya Nov 29 '16 at 7:04
  • How about the button name? Do you have any idea why it's not showing? – MC Amil Nov 29 '16 at 7:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.