Vincent,

Ok, Now for some time when I have a tiddler I may want to access from other 
places I include [[edit|thetiddlername]] or [[⛯|thetiddlername]] in that 
tiddler because unless it is literal currentTiddler may not be the 
appropriate value.

However in your case I understand you have thousands and you do not want to 
code it in each tiddler. What I suggest is in a view template tiddler, or 
in the listing process you generate the link when the current tiddler is 
set to the tiddler for which you want a link. Here are a few useful 
examples;

<$list filter="filter of transcluded tiddlers">
<$transclude tiddler=<<currentTiddler>>/>
with
<$link to={{!!title}}><<currentTiddler>></$link>

or
<$link to={{!!title}}>⛯</$link>

or

{{||$:/core/ui/Buttons/edit}} to go direct to edit (or any other button 
designed for currentTiddler)

</$list>


If there is only one tiddler ie: "no filter of transcluded tiddlers" you 
can set currentTiddler with
<$tiddler tiddler=<<variable>> >here</$tiddler>
<$tiddler tiddler={{state tiddler}}>here</$tiddler>/> 
<$tiddler tiddler={{!!fieldname}}>here</$tiddler>/> 

etc..

Place the link you want that uses currentTiddler at "here".

Regards
Tony


On Wednesday, June 5, 2019 at 11:27:02 PM UTC+10, Vincent vd B wrote:
>
> Hello,
>
> *TonyM:*
> Yes, I want a link to the original tiddler when it is displayed in another 
> tiddler. 
> So when I hit that link, I can easily edit that tiddler and save. 
>
> *PMario:*
> I use the "details macro" (Shiraz plugin). 
> I want to place a link in the bar that refers to the original tiddler.
> Sorry, the code you gave me works but not in this code.
> It makes a mess of the layout.
>
>
> [image: CODE.png]
>
> [image: CODE2.png]
>
> [image: CODE3.png]
>
>
>
>
> Op woensdag 5 juni 2019 11:33:19 UTC+2 schreef TonyM:
>>
>> Vincent,
>>
>> Can I respectfully ask why you want this because this could change how I 
>> answer. If as I suspect you want a link to the original tiddler when its 
>> displayed in side another tiddler?
>>
>> Tony
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/b1d283d4-0ac0-4ac0-8240-ed450049e10a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to