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.
1 Answer
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.
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:
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 AmilNov 29, 2016 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 Nov 29, 2016 at 6:58 -
Where can I find the code behind this?– MC AmilNov 29, 2016 at 7:03
-
Why do you require the code behind? Can you please elaborate more? Nov 29, 2016 at 7:04
-
How about the button name? Do you have any idea why it's not showing?– MC AmilNov 29, 2016 at 7:05