How to do that?
- As a first step, I can imagine two solutions to say which tiddler is a twin and which is the "original" (the one I want to see in view mode)
- using a field called "twin" or "mirror" whose content is the title of the "original" tiddler.
- using a list field in the "original" tiddler with a list of its twins.
- As a second step, it would be necessary to change the ViewTemplate in order to display the content of the "original" tiddler each time I open one of its twins.
(I really don't know how to do this second step because I barelly understand the content of $:/core/ui/ViewTemplate)
--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.
LinkifyPlugin (x) should do exactly what you want, without a whole bunch of additional tiddlers.
(1) http://linkify.tiddlyspot.com/
Hi Alberto,The feature you describe is on the roadmap for 1.0 under the name "tiddler aliases". The idea is to be able to allow multiple titles that refer to the same tiddler.
Although Alberto didn't specify [TW5] in the subject, he referred to "$:/core/ui/ViewTemplate" in his question. Thus, it's apparent that he's asking about TW5... and LinkifyPlugin is a TWC plugin, so that solution does not apply here.
It's already possible. See http://tw5magick.tiddlyspot.com and search for "Aliases"… ;)
My usual convention is to name tiddlers in lowercase (I almost never use CamelCase.) My later references to them occur in natural sentence flow, sometimes at the beginning of a sentence when capitalization is needed. I would like a way to selectively make tiddler links that are case-insensitive. Perhaps with a single character at the beginning of the tiddler reference? (one that's currently unused in TW syntax.)
Example with a tiddler named life --
Case-insensitive link:
[[¿Life]] imitates art.
This WikiText would link to the tiddler life without having to type [[Life|life]]
I couldn't think of an unused character; implement with a more typical ASCII character than ¿
The use of a prepending character for this has some consistency with the ~ that suppresses auto-linking mixed case.
I think there could be other scenarios, apart from initial letter capitalization, where this may be useful.
As an alternative, various capitalizations could be stored as aliases, using Stephen's functionality. What seems the cleaner approach, both for the end-user and the core architecture?
--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.
It's already possible. See http://tw5magick.tiddlyspot.com and search for "Aliases"… ;)
I do not have any TW version 5.012-beta, but I just tried the solution from http://tw5magick.tiddlyspot.com/
In TW version 5.010. That worked. You need the tidder unwikified from the same link too.
--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/YlKBBl1Jdww/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
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/011e7d0e-136e-4dc9-9398-a9ce7c45f232%40googlegroups.com.
\define alink(target)
<<a: "$target$">>
\end
\define alias(i_alias, i_text)
<$list filter="[field:alias/\|$i_alias$\|/(i)sort[title]limit[1]]">
{{||MyTemplate}}</$list>
\end
//MyTemplateTiddler
<$link to={{!!title}}>MyLinktext</$link>
<$link to="MyTiddler">Linktext</$link>
and both work great for me. One thing i realized, that this dynamic kind of links does not show up
when using the backlinks filter operator on the target tiddler.
For instance, I would like the links: [[Darwinism]], [[darwinism]], NeoDarwinism, NaturalSelection, [[natural selection]], [[theory of evolution]] all refer to the same tiddler (or different twin tiddlers with the same content in view mode) without needing to specify: [[darwinism|Darwinism]], [[NaturalSelection|Darwinism]], [[theory of evolution|Darwinism]], etc.