
I want to grab everything under "views/" with no duplication and make it selectable via a drop down. So in this instacne, the dropdown would consist of:
Default
Graph Search
Live View
MyView
As a bonus for 50 points, I'd also ideally like to remove "Graph Search" and "Live View" from the options.
Any ideas?
Steve
<$list filter="the above">
</$list>
<$select>
<$list filter="the above">
<option>
</$list>
</$select>Hi Steve,
all views are stored below this path
Moreover, as it was mentioned, they have a common boolean "view marker"
If you want to select all views, you can use the "tmap" macro (a tmap helper macro used by TiddlyMap) to return all views or all view labels.
See the TiddlyMap source code e.g. for the sidebar editor:
here you can see the use of the "tmap" macro to return all views by label
<$list filter=<<tmap "option" "selector.allViewsByLabel">> >
you can also get the full tiddler path via
<<tmap "option" "selector.allViews">>
both selectors are stored in this (shadow tiddler) js file
Hope this helps.
Felix
--
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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/34be9d75-fb46-42be-8c02-cc8ff7fb0f60%40googlegroups.com.
Thanks, glad to hear this :) Developing a project management application sounds interesting, I hope you find a good way to "hack" yourself through TiddlyWiki (and TiddlyMap) to achieve your goal ;)
Regards
Felix
Thanks for your replies, all. Especially to Felix as that looks ideal - just need to find some time to have a tinker.
btw, Felix - it was your TiddlyMap plugin and Gould's Dropboard plugin that inspired me to get coding in tw! I'm trying to pull it all together to make a project management application - so thanks for such a great plugin!
--
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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0dccd632-a2ca-48fe-8473-2c7bc9c330db%40googlegroups.com.