1
votes

I have an issue with Sitecore 7.1 In the homepage it display an item 2 times, one have title "$name" and one with the true title. (only one item but it appears 2 time) This issue occurs on the staging enviroment and I dont' know how to get to this issue on my local machine. Any body suffered this issue?

2
Check if there is any Sitecore query that selects items by @@templateId. It could get the __Standard Values item alongside with the content one (since the template is the same).Serhii Shushliapin

2 Answers

1
votes

$name is a token that can be placed in fields in Sitecore on Standard Values items to instruct Sitecore, upon creation of an item, to set the value of the field to be the name as the name of the item. Here are two reasons you are seeing this on the front-end:

  1. As @SergeyShushlyapin mentioned in his comment above, you may have code that is retrieving the Standard Values item itself
  2. You may have code that is retrieving all versions of the item and is now picking up an old version of this item that still has the token in the field (the token may have been added to the Standard Values of this item's template after some versions of the item were created)
0
votes

In the Sitecore content editor,

  • Go to the homepage item.
  • Press "Presentation" tab in the top menu.
  • Press "Details" button in Layout section top submenu

Now you see al placed controls on this page. Click edit and choice controls and delete the unwanted control, or fix the datasource.