Field Value

74 views
Skip to first unread message

Chems

unread,
Jul 5, 2019, 4:11:46 AM7/5/19
to TiddlyWiki
Hey,

I have a tiddler 1, in which a field value is the same as  tiddler 2.
How can I show the value of the field in tiddler 1? 
With :

<</list-links "[titel[ ]get[]]">>

I only get the name of the value, but I want to get it linked to the tiddler.
I hope you understand what i mean, altough expressed kinda wonky.

Thanks in advanced.


Mat

unread,
Jul 5, 2019, 7:26:28 AM7/5/19
to TiddlyWiki
<</list-links "[titel[ ]get[]]">>

First you must type expressions correctly and spell title correctly. (Sorry to be blunt, but your question is calling attention from 100+ people and it looks like you just asked instead of actually investigating anything yourself... so then at least I will not reply to your questions again. I say this out of kindness.)

Second, your question is not clear. You seem to want to list something and it is not clear if you are really talking about tiddler 1 and 2 or if you want a general solution for all tiddlers.

Here is how to make a tiddlers field value be a link to the tiddler

<$link to=mytiddler><$view tiddler=mytiddler field=myfield/> </$link>

<:-)

PMario

unread,
Jul 5, 2019, 9:12:07 AM7/5/19
to tiddl...@googlegroups.com
Hi

I'm also not sure, what you exactly want. ...

You should probably try to explain, what you want to achieve, and not how you want to achieve it.

Tell us a bit more about the fields and their content. ...

-----------------------------------

I have a tiddler 1, in which a field value is the same as  tiddler 2.
How can I show the value of the field in tiddler 1?

If you already know, that the value is the same it's {{tiddler 1!!field-name}}  ... This will transclude the content of tiddler 1 field named: field-name. ... But that's probably not what you want.

A second guess is: You want to show a list-links like this.

<<list-links "[has[a]get[a]]">>

has[a]  will list all the tiddlers, that have a field named: a
get[a] shows the content of the a-field
list-links macro creates links

But since the field values are the same, this creates a bullet-list with several links to something.

... Just a guess.

have fun!
mario

Chems

unread,
Jul 5, 2019, 9:39:49 AM7/5/19
to TiddlyWiki
Hey

1st: LOL
2st: Sorry :D

I was kinda frustrated because I did what I wanted to to, then tried to change it, fucked up and had no backup. So sorry for any sloppy questions!

I try to explain it a little bit better/easier:

I have tiddlers. One of the tiddlers is called "Peach";
Now, in another tiddler A I have a field called fruit. And the value of the field is "Peach".
Now, I want to create a list in tiddler A, which will display the value of its field fruit. 

My Problem: I had some solutions which will transclude the value of the field fruit. But just as a "word", not as a link to the tiddler "Peach".

I reaaaaaaly hope I was able to express myself. And again, sorry for sloppy writing =).
Message has been deleted

Jed Carty

unread,
Jul 5, 2019, 10:04:25 AM7/5/19
to TiddlyWiki
I think this is what you are asking for:

<$list filter='[is[current]get[fruit]]'>


</$list>

if the field has a list in it than you can use this:

<$list filter='[is[current]enlist{!!fruit}]'>


</$list>

Reply all
Reply to author
Forward
0 new messages