Is there a way to reference an attribute from template (t1) and use it in another templated (t2)?
For further explanation, here is my use case:
The content of a note is exported as html by using template t1.
An agent which shows all notes in an ordered list uses template t2. The content of the agent with template t2 is included in template t1.
Inside Template t1
^include(“/t2/”)^
This works fine.
But …
To emphasise in template t2 which note is shown in t1 I want to reference an attribute from t1 in t2.
Pseudocode, something like
Inside Template t2
if(MyAttrib(t1)==MyAttrib) make text bold …
I tried this, that, original … but nothing worked. To put a long question short: How does the include template t2 know it is included by templated t2?
Thanks for your advice.