Adding a 'New Todo' button in the tiddler view template

36 views
Skip to first unread message

Christian Macedo

unread,
Aug 4, 2019, 5:13:38 AM8/4/19
to TiddlyWiki
I'm attempting to create a 'Meeting' Template which has a 'new todo' feature. This button would ideally be in the tiddler view template next to the 'edit'.

In effect, almost identical to the 'New tiddler with parent field' button. 

On clicking the to do button:

  1. Create a modal which takes user input for:
    1. Title
    2. Type: Blocker, Action
    3. Team Name (as dropdown)
    4. Parent: tiddler id
    5. Tag: ToDo
  2. Return to 'meeting' tiddler and view the new to do in the tiddler's filter list. 

I'm not too concerned about the macro's themselves as I'm reasonably proficient at copy/pasting and modifying what's needed. However, I have no idea which files I to modify. 

On a second note, I find that I can't even get a modal to work on chrome. Is that just me?

TonyM

unread,
Aug 4, 2019, 7:46:08 AM8/4/19
to TiddlyWiki
Have a look at Mario's tocP solution it does half of this but it may be easier to avoid a modal and get the other values for static or current tiddler values.

However there are system tags for most things including getting buttons to appear where you want. Once you find this tag find the tiddler for the more button and you will find how the more drop down works, that method could be the way to interact or open a modal.

Regards
Tony

Reply all
Reply to author
Forward
0 new messages