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 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:
- As @SergeyShushlyapin mentioned in his comment above, you may have code that is retrieving the Standard Values item itself
- 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)
@@templateId
. It could get the __Standard Values item alongside with the content one (since the template is the same). – Serhii Shushliapin