[tw5] Re: How to create list of tiddlers and pass to tabs macro?

2018-07-16 Thread talha131
Thanks Jed, this enlist solution is perfect for my needs. I was looking for exactly the same format. the interface between javascript and the much *maligned widgets* can be a bit complex because the widgets are designed to make markup tasks simple. Haha, seems like there is a fault line in th

[tw5] Re: How to create list of tiddlers and pass to tabs macro?

2018-07-15 Thread Jed Carty
If perhaps you just want to use tiddlywiki than you can just write out a list and have it work the way you want, like this: in one tiddler, lets call it 'Tabs List' put the list of tabs you want like this (in the text field with nothing else): Tab1 Tab2 [[Tab3 has spaces in the name]] then in

[tw5] Re: How to create list of tiddlers and pass to tabs macro?

2018-07-15 Thread Jed Carty
It would be something like this: <$set name=someList value=<>> <$macrocall $name=tabs filter=<>/> the interface between javascript and the much maligned widgets can be a bit complex because the widgets are designed to make markup tasks simple. One result of the simplicity and usability is a re

[tw5] Re: How to create list of tiddlers and pass to tabs macro?

2018-07-15 Thread talha131
Right. I have seen some example JS macros. In the examples, a simple parameter is passed to JS macro and it returns an output. Currently, I am not sure how JS is used with TW constructs like tabs macro for example. Say I create a JS macro, that returns a list of tiddlers. How do I use it wi

[tw5] Re: How to create list of tiddlers and pass to tabs macro?

2018-07-15 Thread Jed Carty
There is nothing stopping you from using javascript if that is what you would rather use. It isn't like the features of Javascript have been removed from tiddlywiki. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group

[tw5] Re: How to create list of tiddlers and pass to tabs macro?

2018-07-15 Thread talha131
The list field (s) is the closest thing to arrays in WikiText. Ouch! I think I will stick with using tags then. I don’t think editing field of a tiddler would be as convenient as arrays in programming languages. Thank you Mark. ​ -- You received this message because you are subscribed to th

[tw5] Re: How to create list of tiddlers and pass to tabs macro?

2018-07-14 Thread 'Mark S.' via TiddlyWiki
What? You think an actual programming language might be easier to understand than widgets! Heresy! ;-) The list field (s) is the closest thing to arrays in WikiText. So you could put [[Clean House]] [[Rename File]] into the list field of a tiddler called "aList". Then your tabs could look like:

[tw5] Re: How to create list of tiddlers and pass to tabs macro?

2018-07-14 Thread talha131
Additionally, the reason I don't want to use tags is the order of the tiddlers. I want to tiddlers to appear in a specific order. I can do that with tag by dragging and dropping but that order is reflected everywhere. If I want to have to orders, one sorted by title and other manually, then I