Odd question...

23 views
Skip to first unread message

axelm

unread,
Sep 16, 2011, 3:33:24 PM9/16/11
to tiddl...@googlegroups.com
Hello All,

I have this in tiddler A:

<part [[one]]>
<<wikify "[[%0]]" {{tiddler.title}}>>
some text
</part>

In various other tiddlers I want to put this:

<<tiddler A/one>>

but all I get in the other tiddlers is their own titles as links and not the content of tiddler A which should look like this:

[[A]]
some text

what am I doing wrong?

axelm

whatever

unread,
Sep 16, 2011, 5:44:22 PM9/16/11
to TiddlyWiki
Hi!
Try this:

In tiddler A:
<part one>
<<wikify "[[%0]]" $1>>
some text
</part>

In other tiddlers:
<<tiddler A/one with: "{{tiddler.title}}">>

w

axelm

unread,
Sep 16, 2011, 6:00:32 PM9/16/11
to tiddl...@googlegroups.com
Then I just get this in tiddler A and any other tiddler:

$1

axelm

axelm

unread,
Sep 16, 2011, 7:23:04 PM9/16/11
to tiddl...@googlegroups.com
Basically, I want to get the RESULT of the macro in tiddler A into tiddler B.

axelm

whatever

unread,
Sep 16, 2011, 10:43:43 PM9/16/11
to TiddlyWiki
Sorry, it was late, and I missread.

If you want link to A in all other tiddlers, then put this in tiddler
A:
<part one>
[[A]]
some text
</part>

And put this in all others:
<<tiddler A/one>>

There's no need for fancy script, if you just wants a prettylink
saying [[A]].

w

axelm

unread,
Sep 17, 2011, 11:17:57 AM9/17/11
to tiddl...@googlegroups.com
The problem is that there is about 300 tiddlers like "A" and they were made by template.
So they have the code already that produces each link.
I don't want to have to insert the link in all of them, but I can change the template like so:

<<wikify "[[%0]]" {{tiddler.title}}>>

That works. All I want now is to get the "Result" from each one like so:

<<tiddler A/one>>

but I am not getting the "Result", I am getting the macro itself.

axelm


Reply all
Reply to author
Forward
0 new messages