Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
For questions relating to ASP.NET MVC implementations. The ASP.NET MVC is a web application framework developed by Microsoft, which implements the model–view–controller pattern.
1
vote
Using Sitecore().Field() helper
There's an overloaded version that allows you to pass in the item. So you could just put in a call first to get the item you want.
@Html.Sitecore().Field("Title", Item)
5
votes
Accepted
How can I append HTML within and before the text of a rendered Link Field?
You'd basically want to override the text element in the field renderer:
Something along these lines:
@{
var linkField = (LinkField) Model.Item.Fields[fieldname];
}
@Html.Sitecore().Field(fiel …