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 about Page or Component Templates and Template Building Blocks (TBBs)
7
votes
Accepted
Simplest way to add javascript to the header section in Tridion
There's an infinite number of ways to achieve this. What is best depends entirely on your scenario; however, if you are looking simply to inject a snippet of Javascript into a manually-selected set of …
4
votes
Link Resolving with Razor Mediator
This blog post suggests that - in order for the Link Resolver to work successfully for tridion:type="Multimedia" - you have to manually publish the binaries prior to resolving the link.
What happens …
1
vote
How do I, in a C# TBB, convert a TCM ID to a link?
As Nuno details, link resolution is the responsibility of the content delivery service. It is possible to resolve links at publish, in a sense; however, you will lose a lot of sophisticated functional …
10
votes
Accepted
Get StructureGroup ID in Dreamweaver
Alternatively to using the Dreamweaver Get Extension, you could retrieve this information with the use of a C# TBB. Something along the lines of the following should work (assuming this is a page temp …
3
votes
Iterate through ComponentModel List
I seem to recall that the Razor Mediator has problems with extension methods. This means that, in order to use OrderByDescending and other Linq extensions, you'd have to do something like:
@ {
us …
7
votes
Accepted
Ordinal position of a Component Presentation in a DWT
Thanks for the responses, all. In light of Bart's answer, I have decided that I can make do with having the ordinal position of each Component Presentation, with respect to its Component Template. Tha …
15
votes
Accepted
Accessing Embedded Schema fields via list of Component Links
This is in contrast to Dreamweaver templating, where you could expect an empty string in return for an empty Component field. …
16
votes
8
answers
899
views
Ordinal position of a Component Presentation in a DWT
I am looking for a way to generate a CSS Id for a Component Presentation, which is guaranteed to be unique within the scope of the page. My initial thought is to make use of the ordinal position of th …