Skip to main content
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
Results tagged with
Search options answers only not deleted user 45

The Razor mediator for Tridion is an alternative template engine. It provides the power of .net and the well documented Razor syntax. Using the syntax it's possible to access Component fields and template package items. Examples of use are: @Component.Fields.title, @Component.Image.alt_text or @Fields.Metadata.publish_date.ToString(“dd/MM/yy hh:mm”)

6 votes

Identifier Expected error--problem with Razor Syntax

Try using the <text> wrapper around your statements, in order to help the parser identify them properly. See https://stackoverflow.com/questions/5369540/razor-renderpartial-exception-expected
Mihai Cădariu's user avatar
14 votes

Fetching Page Metadata Field values in CT TBB :Tridion 2011

In a Component Template TBB, you don't have (direct) access to the Page object. The property ContextItem would return the Component that is being rendered with the current Component Tempalte. Please c …
Mihai Cădariu's user avatar