[TW5] New Tiddler Button problem

80 views
Skip to first unread message

Matthew Petty

unread,
Jun 29, 2015, 5:36:43 AM6/29/15
to tiddl...@googlegroups.com
Hi all,
Another one from me. I seem to have got mixed up with my new tiddler button. Here's the code:
<$let tag1="" text="">
<$newtiddler title=<
<dateTime 'YYYY 0MM 0DD ddd hh:mm:ss'>> skeleton="TaskSkeleton" edit="yes">Create Task "<<dateTime 'YYYY 0MM 0DD ddd hh:mm:ss'>>"</$newtiddler>
</$let>

But when I click the button, the tiddler is created, but it doesn't get opened in edit mode. I have to go and find it in my task list.

Is there a different version of the widget?

Also, do I need the 'let' commands if I'm using the skeleton?

Thanks for any help,
Matthew

Matthew Petty

unread,
Jul 2, 2015, 4:28:26 AM7/2/15
to tiddl...@googlegroups.com
I can't get the newtiddler macro to work at all now. I did the following:
  1. Went to http://tiddlystuff.tiddlyspot.com/
  2. Copied over [[$:/plugins/skeeve/newtiddler]] and [[$:/macros/skeeve/uuid.js]]
  3. Made the suggested changes to make it compatible with 5.1.8 (changed tm to tw)
  4. Created a very simple button, as follows:
  5. <$newtiddler title="test" skeleton="TaskSkeleton">Create</$newtiddler>
  6. Made sure that [[TaskSkeleton]] exists.
  7. When I click the button, nothing happens. No tiddler is created, task or not.
  8. Is there a different macro I should be using?
  9. Help!!

Matthew

Birthe C

unread,
Jul 2, 2015, 6:27:56 AM7/2/15
to tiddl...@googlegroups.com
Hi Matthew

Did you copy the skeleton tiddler from http://tiddlystuff.tiddlyspot.com/? If you didn't I think you should have a look at how they are created.
In your first question you will also need $:/plugins/skeeve/let.js and the dateTimeMacro.


Birthe

Reply all
Reply to author
Forward
0 new messages