Hello Everyone,
I'm trying to build an alternative Edit template, and I'm having the same kind of issues that I always have: transclusions.
I want to have a "main" tiddler that transcludes all the parts. The "main" tiddler looks like this:
<$tiddler tiddler={{$:/state/OTW/editedTiddler}}>
<$list filter="[all[shadows+tiddlers]tag[$:/OTW/Editor]!has[draft.of]]" variable="listItem">
<$transclude tiddler=<<listItem>>/>
</$list>
</$tiddler>
Then, on one of the transcluded tiddlers I have this code:
<div class="tc-tiddler-title">
<div class="tc-titlebar">
<h2 class="tc-title">
<$view field="otw-alias"/>
</h2>
</div>
</div
>
What I want is to "point" one state tiddler to a tiddler title and then edit that "pointed" tiddler.
I don't understand why, but the view field is not showing any value. Other similar tiddlers are working well, but not for "custom" fields but for standard fields like title. Could it be related?
I have to admit that transclusions on TW can be tricky and frustrating, even for someone with some experience with TW. I tried testing the <<currentTiddler>> variable on the transcluded tiddler and it has the expected value.
Any help would be appreciated.
Many thanks.