All Questions
Tagged with dwt templating
28 questions
1
vote
2
answers
68
views
DWT Code for Reading Component Links
Is there any way other then standard anchor tridion href to read component links from the Component using Dreamweaver Template.
For example we use below code to resolve component link
<a tridion:...
2
votes
3
answers
91
views
2 DWT Tridion 2013 questions
Not sure if I can post my questions here, please tell me where to move my question if necessary...
1) I added to a page a custom metadata schema. In that schema, there is an embedded component field '...
3
votes
1
answer
160
views
Retrieve list values in DWT template
In my package, i have a list of TcmUri which sometimes contains valid TcmUri but also fake TcmUri such as tcm:0-0-0.
slideshareList is the name of my list.
I need to write something like this :
<!...
2
votes
1
answer
72
views
Use of a tcmUri list in component template
I have another problem with a list of TcmUris I pushed to the package and try to use.
I'm trying to render the different components whom ids are in the list "slideshareList" with their common ...
3
votes
1
answer
227
views
Render component template from link to component field [tridion 2009]
In the schema of a component A, there is a "link to component B" field. I want to retrieve the template of that component B in my component A template.
I tried the following but it does not work:
<...
2
votes
2
answers
240
views
Is it possible to push a custom array through package variable from .Net TBB to DWT and iterate the loop in DWT?
I know it is possible to send ComponentArray but here i need to pass a dummy array to create a collection loop in DWT. Am unable to pass dummy componentArray as it throws item not found error. Any ...
2
votes
1
answer
161
views
Read metadata of multi level nested embedded schema field(multimedia link)
I am writing a DWT in which i need to read metadata of multimedia component added in a component. following is the component structure.
<content>
<level1>
<level2>
...
3
votes
4
answers
610
views
How can I check if field is null or empty in DWT?
I'm making a DWT component template that loops multivalued componentlinked components. I want to check if a textfield in a linked component is empty, but it always gives errors. I need to use the ...
3
votes
0
answers
111
views
XPM inline editing - add new value in a multi-valued embedded field
I am facing an issue while adding new value in a multi-valued embedded field in XPM.
In case of adding new value after last value of multi value field, it replaces the last value with new one.
For ...
3
votes
1
answer
400
views
CSS background image issue | Inline CSS style property url() not resolving image | background-image:url()
While defining style properties inline in DWT code , the Default Finish Actions TBB ( Containing Link Resolver TBB ) was NOT able to resolve the url of image contained in style property:
background-...
8
votes
1
answer
536
views
XPM inline editing of Multi-valued field inside a multi-valued embedded field
I have a schema with a multi-valued embedded field, which further have multi-valued text field. Need to loop through the embedded field first and then loop through the multi-valued text field - using ...
2
votes
1
answer
432
views
Rendering Image using DWT
I have a component source xml as below:
<image_227x140>
<img style="width: 227px; height: 140px;" alt="alttext" title="IA_Offer2" xlink:href="tcm:382-26496" xmlns="http://www.w3.org/1999/...
4
votes
1
answer
633
views
Render multivalued Multimedia Component link with metadata in DWT
I have Component with multivalued Multimedia Component link field named "list". Each Multimedia Component has its own metadata ("thumbnail" and "altText"). I need to write a DWT TBB to extract those ...
1
vote
1
answer
450
views
Render multilevel component link fields in DWT
I am writing a DWT TBB to get field value of multi level component link field. I have a component having componentlink field("list") and in those component i have another component link field("...
1
vote
1
answer
690
views
How to retrieve the component presentations using DWT in Page Template templating?
How to retrieve the component presentation using DWT in a Page Template where the component have neither content nor any fields in it.The component is a dummy component created using empty schema ...
0
votes
0
answers
39
views
How to retrieve the component presentations using DWT in Page Template templating? [duplicate]
How to retrieve the component presentation using DWT in a Page Template where the component have neither content nor any fields in it.The component is a dummy component created using empty schema ...
5
votes
1
answer
339
views
DWT Condition with FieldPath
With a DWT, how to test if an embedded schema field has a value in a condition? The following code does not work and breaks on the TemplateBeginIf condition. Is this possible with a DWT?
<...
2
votes
2
answers
491
views
Issue with SetVariable and GetVariable method calls from DWT
I have written a DWT which is creating an XML as below:-
<?xml version="1.0" encoding="utf-8"?><episodes><episode>
<episode_id>EPS_7208_7205_56</episode_id>
<title>...
3
votes
1
answer
414
views
Should RenderComponentField work on any Component in the Package?
When trying to figure out an error in Template Builder for EnableInlineEditingUI: Unable to determine the definition for field I realized we simply had the wrong component and schema. But I'm trying ...
14
votes
1
answer
477
views
DWT Page Template Title Syntax
An easy few points for someone, I hope!
I want to get the Page Template title in my DWT template. I could knock up a quick C# TBB, but it seems like I should be able to do it without.
I have tried:
...
15
votes
4
answers
3k
views
Are there any sources of good study materials for SDL Tridion 2011 templating?
I have been working in SDL Tridion 2011 writing C# Template Building Blogs and Dream Weaver Templates.
So far, everything I have learned has been either with help from more senior developers OR by ...
9
votes
2
answers
723
views
Condition Sentence for Nested multiple Embeddable Link Field
I'm trying to implement Condition Sentence for nested multiple embeddable link field in the DW Tempate.
But in the 1st Repeat sentence, I can't judge if the 2nd embeddable link field is empty or not.
...
7
votes
3
answers
920
views
DW Template for implementing multiple text field in component link field
I'd like to know how to implement multiple text field in component link field.
My situation is
Component A has a single component link field "Note1".
"Note1" field has a value of a Note Component.
...
5
votes
2
answers
490
views
Unable to resolve links using DreamWeaver Templating
We are using the following line of code in our DreamWeaver Template to resolve a link in Tridion. But,not getting the desired output, the link is not being resolved on the page. Is there anything ...
10
votes
2
answers
373
views
Publish Binary File in a MM Link Field
I try to think about what is the best practice of publishing binary file in a MM link field without coding like in the DW Template.
The background of this question is that I have a couple of on/off ...
12
votes
2
answers
226
views
Get StructureGroup ID in Dreamweaver
I was wondering if this is possible? Have tried following cases:
Page.OrganizationalItem.ID @@Page.OrganizationalItem.ID@@
Page.Context.OrganizationalItem.ID @@Page.Context.OrganizationalItem.ID@@
...
9
votes
2
answers
1k
views
DWT Syntax TemplateBeginIf & TemplateRepeatIndex
I am pushing keywords onto the package with keys like
Keyword1Title
and pulling them out in my DWT using
@@Keyword{$TemplateRepeatIndex}Title@@
The problem is I want to test the contents of ...
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 ...