Using a drop-down menu to set a variable or field value?

1,148 views
Skip to first unread message

Richard Smith

unread,
Oct 22, 2014, 9:36:51 PM10/22/14
to tiddl...@googlegroups.com
I am trying to make a wiki that allows the user to create multiple tiddlers according to a template and then be able to edit their fields from a common interface.

Originally I was planning to have one editor for each tiddler but, as jeremy suggested here, I am now trying to implement one editor to edit all of them.

What I can't work out how to do today is set the value of either a variable or a field value so as to select which tiddler will be edited. Ideally I would like a dropdown which allows me select the tiddler from a list of all those with a particular tag.

Is that possible?

(I promise I've tried searching, but I can't even figure out how to make a drop-down. I think I might be experiencing 'the dumbening')

Stephan Hradek

unread,
Oct 22, 2014, 11:15:44 PM10/22/14
to tiddl...@googlegroups.com
http://tiddlywiki.com/#SelectWidget

AttributeDescription
tiddlerThe title of the tiddler containing the value to be displayed/modified by the select widget (defaults to the current tiddler)
fieldThe field name for the value in the current tiddler (defaults to "text")
indexThe index of a property in a DataTiddler (takes precedence over the field attribute)
classCSS classes to be assigned to the HTML select element
defaultDefault value to be used if the tiddler, field or index specifies a missing value

So: <$select field="myfield"…>

Richard Smith

unread,
Oct 23, 2014, 12:10:11 AM10/23/14
to tiddl...@googlegroups.com
Thank you Stephan,

I have a documentation suggestion based on this. This is not a complaint.

The Tiddler http://tiddlywiki.com/#:SelectWidget explains how to make drop-down menus but contains neither the word 'menu' nor the word 'drop'. 

I should probably have known to go through the list of widgets but I think that most people feel that, if they've exhausted a list of reasonable search terms, the information isn't there.

Perhaps there is a way to add specific search-terms to tiddlers so that they show up in relevant searches. Could they even be given a priority so that the most relevant tiddlers appear first?

Just a thought.
Regards,
Richard


Stephan Hradek

unread,
Oct 23, 2014, 3:06:52 AM10/23/14
to tiddl...@googlegroups.com
Hi Richard!

I agree with you and this is a symptom of the fact that the documentation is mainly written by "programmers" and not by "users".

Why not head over to github and fix the documentation? Change it to what you think would be best for users like you.

PMario

unread,
Oct 23, 2014, 5:15:34 AM10/23/14
to tiddl...@googlegroups.com
There is the info, how to improve the docs. We try to make it easy but the barrier seems to be very high :)
The link contains 3 videos, that should show, how to user the github web UI

http://tiddlywiki.com/#Improving%20TiddlyWiki%20Documentation

Also feedback for the process is very welcome :)

have fun!
mario

Jeremy Ruston

unread,
Oct 24, 2014, 11:58:34 AM10/24/14
to TiddlyWiki
I've made some adjustments to the SelectWidget documentation:


Best wishes

Jeremy.

--
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/d/optout.



--
Jeremy Ruston
mailto:jeremy...@gmail.com
Reply all
Reply to author
Forward
0 new messages