Hot answers tagged

7 votes
Accepted

What really happens when we restart the Tridion Publisher service?

The Publisher for sure caches objects, but the lifetime of that cache is normally from the point the the Publish Transaction is picked up from the queue to the point that rendering (of all items in ...
Rick Pannekoek's user avatar
6 votes

How to debug with template builder

Did you read these https://stackoverflow.com/questions/12210711/tridion-template-builder-and-visual-studio-debugging How can I debug Tridion Templates locally without connecting to ...
Dylan .. Mark Saunders's user avatar
4 votes
Accepted

Why AddBinary method publish to the context publication "images"?

If you right click and select the properties of your publication, you'll see in these settings that an images path is configurable, this is typically set as 'images' You can overload the AddBinary ...
johnwinter's user avatar
  • 14.3k
4 votes

Runat="server" attribute not allowed in RTF fields

There are some restrictions, even with the update of the configuration you indicate above (See here for a similar question). Whatever solution you add, it will likely require a 'technical' element ...
Dylan .. Mark Saunders's user avatar
4 votes
Accepted

Retrieve list values in DWT template

There is a TBB called Get Linked Components in the Template Base framework for DWT. You can find it here: https://www.sdltridionworld.com/community/2011_extensions/generic-2011-tbbs.aspx. It will ...
Nickoli Roussakov's user avatar
3 votes
Accepted

How to debug with template builder

It looks like you are attempting to debug a C# fragment building block. This is not going to work. (It's probably possible, but only as an exercise in esoteric intransigence.) It should be ...
Dominic Cronin's user avatar
3 votes
Accepted

Use of a tcmUri list in component template

What you are roughly trying to do I think should read something like <!-- TemplateBeginRepeat name="Paragraph" --> <div> @@RenderComponentPresentation(slideshareList[${...
Bart Koopman's user avatar
  • 29.6k
3 votes
Accepted

Sync-up updates from SDL Tridion 2013 into 2009

Use WebDAV functionality or TOM API to add and change content in SDL Tridion 2009.
Ognjen Ivetic's user avatar
3 votes

Authentication problem with OpenLDAP user

The error message "unable to bind with admin user" means there is a problem with the Search account credentials as defined in the LDAP ISAPI filter configuration.
Rick Pannekoek's user avatar
3 votes
Accepted

Use of a counter within a TemplateBeginRepeat loop

As Rahul mentions, I think you're after the TemplateRepeatIndex. Just to elaborate on how it can be used, I recommend using a TemplateBeginIf with a condition: <!-- TemplateBeginRepeat name="...
Tanner Brine's user avatar
  • 2,512
2 votes

Why AddBinary method publish to the context publication "images"?

Binaries are published to a path corresponding to the "Images Path" property of the Publication where they are published from. The default value for this is "\Images" There are also other AddBinary() ...
David Forster's user avatar
2 votes

Tridion User Last Login Info

9.5 version has this useful info:
Shahid Eqamuddin's user avatar
2 votes

Block of code only works with Template builder

One issue I can think of, for this working in the Template Builder and not when you publish is that your Template is not checked in. When you publish, only the last checked in version of the Template ...
Bart Koopman's user avatar
  • 29.6k
2 votes

Render component template from link to component field [tridion 2009]

Here is my suggestion. You can via C# code extract your linked component B. Then you can check all templates it can be rendered with and push tcm of selected one into package. Then you can render all ...
Marko Milic's user avatar
  • 8,863
2 votes
Accepted

Publish multimedia Component to server with AddBinary method

In your StructureGroup constructor call you are passing it a TCM URI of a Folder (item type 2), but the method requires the TCM ID of the parent Structure Group where you want to create the new one, I....
Nickoli Roussakov's user avatar
1 vote

Publish multimedia Component to server with AddBinary method

There are two overloads for the StructureGroup constructor: StructureGroup(Session, TcmUri) - Create an instance for a new Structure Group. StructureGroup(TcmUri, Session) - Create an instance for ...
Bart Koopman's user avatar
  • 29.6k
1 vote
Accepted

Render component HTML in the parent DWT

It only makes sense to call @@RenderComponentPresentation()@@ without arguments when you are iterating over a package item of type ComponentArray. This is what you are doing when you use code such as: ...
Dominic Cronin's user avatar
1 vote

DWT and cookie laws

Keep in mind the basics, the template expression language in your DWT Template Building Block is executed at publish time, when the Template is rendered. But I think what you are asking for is a way ...
Bart Koopman's user avatar
  • 29.6k
1 vote
Accepted

Increment TemplateBeginIndex in a DWT

In 2011, one of the templates is using <span class="number">@@parseInt(${TemplateRepeatIndex})+1@@</span> I believe DWT to JScript based, so you can use stuff like that to enforce type. ...
Dave Forber's user avatar
  • 1,441
1 vote

Use of a counter within a TemplateBeginRepeat loop

If you are just looking for TemplateRepeatIndex we use it as: <!-- TemplateBeginRepeat name="MyDummyArray" --> @@${TemplateRepeatIndex}@@ //put your check here on ...
Rahul Kumar Singh's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible