On Aug 16, 8:56 pm, Eric Shulman <[email protected]> wrote:
> > Is it possible for a new tiddler to add its title into the menu? I'd
> > like to have a "New" item on the menu; when the user clicks it, it
> > will create a new tiddler and, on saving, add the title to the menu.
>
> One way to do this is to use the 'tag' parameter in the <<newTiddle>>
> macro to automatically tag the new tiddler with some unique keyword,
> like "menuitem":
>
> <<newTiddler .... tag:menuitem>>
>
> Then, in [[MainMenu]] (I assume that's what you meant by 'the menu'),
> you could write:
>    <<list filter [tag[menuitem]]>>
>
> This will automatically render a bullet list with links to all
> tiddlers tagged with "menuitem"

Many thanks for replying. This is almost exactly what I wanted. Two
further questions: firstly, how would I make [[MainMenu]] refresh
itself to show the new tiddler? And where is the CSS that creates the
bullets for the list? i.e. how to remove?

Regards
David
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to