The edit button works by sending tm-edit-tiddler
. But that message is defined to replace the current tiddler and it takes only a title as parameter. Unlike tm-new-tiddler
which can also take additional fields, like type
.
So I don’t know how to send the type over. I’m already way beyond my understanding - and I have to say, tiddlywiki.com is definitely not helpful. (See below.) So I’d still appreciate some actual code in addition to saying “do this, do that”. I know people try to be helpful with other TW beginners - but you have to make an allowance, I hope, for real lack of knowledge and no way to get it (see below). (I’ve already spent a couple of hours on this.)
Here’s my example of how tiddlywiki.com isn’t helpful to me today. Alvaro above advises me to “create a new button”. So I go to tiddlywiki.com and find a helpful tutorial tiddler: “Making a custom journal button”.
First thing it says is “start by cloning the New Journal button” which is harder than you think because “clone” is hidden on the dropdown in the “more” dropdown on the tiddler button bar, and a search in tiddlywiki.com for “clone” turns up nothing relevant at all. But if you finally remember to look at “more” and find the clone command then it tells you to do a search/replace on certain code you’ll see there in your clone. Except: Apparently it is talking about some older version of TW because the code you’re looking at doesn’t look anything like what it is suggesting.
The tiddler “Messages” is simply a list of messages - no indication of how to use them. And same for all of the individual message tiddlers, e.g., “tm-edit-tiddler” has no example.
And since “tm-edit-tiddler” claims to replace the tiddler you’re pressing the button in (this is the missing tiddler scenario) how exactly is it going to work to set the field in it unless you can send a message - which doesn’t seem to exist (there’s no “set field”, only an “add field”.)
Etc. etc. Raised far more questions than answers, I’m sorry to say.
So, in conclusion, I’d really appreciate your help. This must be simple - yet, impossible to discover how.