Hi Mario,

I like this but I'm thinking of something a bit simpler. Right now when I 
turn on the "title as a link" it's pretty worthless - the only effect of 
clicking is to nudge the focus in the story stream. What I want is for 
clicking the title link to open the References tab. I see the title as the 
obvious place to click to get backlinks - that's how it used to work on c2 
anyway.

So ... is there an easy way to tweak your code here to do this? Really it 
seems like it ought to be easy to adorn the link in the title ViewTemplate 
with some kind of transclusion magic but I'm not certain that's sensible ...

Thanks for your help!

Pete.

On Monday, 27 October 2014 02:45:23 UTC+11, PMario wrote:
>
> Hi Omit,
>
> If you open the tiddler (i)nfo slider and select the "References" tab you 
> get what you want.
>
> The code can be found here: 
> http://tiddlywiki.com/#%24%3A%2Fcore%2Fui%2FTiddlerInfo%2FReferences
> The template is here: $:/core/ui/ListItemTemplate
>
> If you want to create your own *global macro *crate a tiddler eg: 
> myReferences 
> and tagg it: $:/tags/Macro
> add this code: 
>
> \define myReferences()
> <$list filter="[all[current]backlinks[]sort[title]]" emptyMessage=<<lingo 
> TiddlerInfo/References/Empty>> ><$link to={{!!title}}><$view 
> field="title"/>, </$link></$list>
> \end
>
> The macro can be called with: <<myReferences>>
>
> ------------- 
>
> If you want to have a footer in every tiddler create a tiddler eg: myFooter 
> and tag it: $:/tags/ViewTemplate
> add this code:
>
> <hr>
> <$list filter="[all[current]backlinks[]sort[title]]" emptyMessage=<<lingo 
> TiddlerInfo/References/Empty>> ><$link to={{!!title}}><$view 
> field="title"/>, </$link></$list>
>
> For me this significantly slows down the test TW. Full download from 
> tiddlywiki.com. .. But I'm not sure yet. 
>
> have fun!
> mario
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" 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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b8861c21-9271-43b8-ad8f-aa989ebb965c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to