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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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[${...
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.
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.
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="...
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() ...
2
votes
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 ...
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 ...
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....
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 ...
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: ...
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 ...
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. ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
2009 × 123publishing × 19
content-delivery × 12
templating × 12
2011 × 11
2013 × 10
dwt × 10
event-system × 8
broker × 8
tom.net × 8
c# × 6
cme × 4
dynamic-linking × 4
workflow × 3
configuration × 3
outbound-email × 3
api × 3
siteedit × 3
metadata × 3
vbscript × 3
localization × 3
content-manager × 2
schema × 2
database × 2
rtf × 2