[tw] Re: how to use dynamically generated tables with the memorizable plugin
Hi Eric Thank you for explaining things - and correcting my mistakes.. I'd like to be able to use this newtiddler call in the same template: <\> How would I get the bracketed list of tags into the new tiddler macro? Cheers Måns Mårtensson On 13 Jun., 20:49, Eric Shulman wrote: > > This seems to work: > > [[Memo2]] > > < > > and in another tiddler: > > <> > > You need to be very careful with tricks like this. Correct use of > quotes and square brackets are critical. The reason this works is > because: > > A) The doubled square-brackets surrounding the macro parameter are > used to "quote" the value (so it is seen as one parameter. The actual > *value* of the parameter is: > kicks","terms","basic > Note the lack of outer quotes.. this is important > > B) tiddler.tags.containsAny(...) accepts an *array* of values as > input. The code above uses > ...containsAny(["$1"]) > Note the surrounding SINGLE '[' and ']'. These are the array > delimiters, and the content inside the brackets is a *comma-separated > list* of javascript values. > > C) Also note the doublequotes around $1... this is the tricky part: > when the <> macro parameter is substituted into the code, the > outermost doublequotes (from the code) are combined with the 'inner' > quotes from the parameter value, and you get: > ...containsAny(["kicks","terms","basic"]) > > which is a valid javascript array of text strings. > > A more reliable way to do this is to pass a simple space-separated > parameter value (without the inner quotes and commas) and then use > readBracketedList() in the code to turn it into an array: > > [[Memo2]] > < 'tiddler.tags.containsAny("$1".readBracketedList())' > > and in another tiddler: > <> > > enjoy, > -e -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: how to use dynamically generated tables with the memorizable plugin
> This seems to work: > [[Memo2]] > < > and in another tiddler: > <> You need to be very careful with tricks like this. Correct use of quotes and square brackets are critical. The reason this works is because: A) The doubled square-brackets surrounding the macro parameter are used to "quote" the value (so it is seen as one parameter. The actual *value* of the parameter is: kicks","terms","basic Note the lack of outer quotes.. this is important B) tiddler.tags.containsAny(...) accepts an *array* of values as input. The code above uses ...containsAny(["$1"]) Note the surrounding SINGLE '[' and ']'. These are the array delimiters, and the content inside the brackets is a *comma-separated list* of javascript values. C) Also note the doublequotes around $1... this is the tricky part: when the <> macro parameter is substituted into the code, the outermost doublequotes (from the code) are combined with the 'inner' quotes from the parameter value, and you get: ...containsAny(["kicks","terms","basic"]) which is a valid javascript array of text strings. A more reliable way to do this is to pass a simple space-separated parameter value (without the inner quotes and commas) and then use readBracketedList() in the code to turn it into an array: [[Memo2]] <> enjoy, -e -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: how to use dynamically generated tables with the memorizable plugin
Hi Steve > How/where to insert tagstring.readBracketedList($1) into a call to > forEachTiddler, where $1 is the tagstring? > > < sortBy 'tiddler.title' > I am using a function kindly provided by Måns which uses the call to > forEachTiddler to generate a list of tiddlers with the specified tag. > In > the example below case to get all tiddlers tagged with 'kicks'. > > <> > > What I would like to be able to do is generalize the function to > return a list of tiddlers that match one or more tags. In > the example below case to get all tiddlers tagged with 'kicks' or > 'terms' or 'basic'. > > <> This seems to work: [[Memo2]] <> Cheers Måns Mårtensson -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: how to use dynamically generated tables with the memorizable plugin
What's important to understand about readBracketedList() is that it's a function that is defined for the string prototype and thus can be run against any string type variable, like so... theOutputArray = someString.readBracketedList(); So, you don't use it like a function where you feed the string that you want to convert as a parameter. The following would therefore be wrong... theOutputArray = readBracketedList(myString); ...since the global window object does not have a readBracketedList() function defined... only the String prototype does, and so all instances of type string inherit this function. Cheers, Tobias. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: how to use dynamically generated tables with the memorizable plugin
Hi Steve, I guess the kind of "where clause" you need looks somwhat like this... where 'tiddler.tags.containsAny("$1".readBracketedList())' Note, however, I have not tested this, as I am not using fET and so I don't have some example wiki to play with. Cheers, Tobias. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: how to use dynamically generated tables with the memorizable plugin
here is a two stages exemple of remote fET : <><> [[FetTop2000TagTag]] <\>|"' >> [[FetThumbTag3]] <> On Jun 12, 2:36 pm, steve wrote: > Tobias > > How/where to insert tagstring.readBracketedList($1) into a call to > forEachTiddler, where $1 is the tagstring? > > < sortBy 'tiddler.title' > > etc. > > > > I am using a function kindly provided by Måns which uses the call to > forEachTiddler to generate a list of tiddlers with the specified tag. > In > the example below case to get all tiddlers tagged with 'kicks'. > > <> > > What I would like to be able to do is generalize the function to > return a list of tiddlers that match one or more tags. In > the example below case to get all tiddlers tagged with 'kicks' or > 'terms' or 'basic'. > > <> > > Thanks for the help! > > Steve > > On Jun 12, 5:41 am, Tobias Beer wrote: > > > The core function you are looking for is called readBracketedList() > > and it turns the following string of tags... > > > tagstring='foo [[bar baz]] "mumble frotz gronk"'; > > > into the following array of tags... > > > tags=['foo','bar baz','mumble frotz gronk']; > > > ...using the following syntax: > > > tags=tagstring.readBracketedList(); > > > Hope that helps, > > > Cheers, Tobias. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: how to use dynamically generated tables with the memorizable plugin
Tobias How/where to insert tagstring.readBracketedList($1) into a call to forEachTiddler, where $1 is the tagstring? <> I am using a function kindly provided by Måns which uses the call to forEachTiddler to generate a list of tiddlers with the specified tag. In the example below case to get all tiddlers tagged with 'kicks'. <> What I would like to be able to do is generalize the function to return a list of tiddlers that match one or more tags. In the example below case to get all tiddlers tagged with 'kicks' or 'terms' or 'basic'. <> Thanks for the help! Steve On Jun 12, 5:41 am, Tobias Beer wrote: > The core function you are looking for is called readBracketedList() > and it turns the following string of tags... > > tagstring='foo [[bar baz]] "mumble frotz gronk"'; > > into the following array of tags... > > tags=['foo','bar baz','mumble frotz gronk']; > > ...using the following syntax: > > tags=tagstring.readBracketedList(); > > Hope that helps, > > Cheers, Tobias. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: how to use dynamically generated tables with the memorizable plugin
The core function you are looking for is called readBracketedList() and it turns the following string of tags... tagstring='foo [[bar baz]] "mumble frotz gronk"'; into the following array of tags... tags=['foo','bar baz','mumble frotz gronk']; ...using the following syntax: tags=tagstring.readBracketedList(); Hope that helps, Cheers, Tobias. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: how to use dynamically generated tables with the memorizable plugin
Måns I am happily using your MeMo2 function for the terminology quiz generator. I would like to generalize it a bit to use multiple tags with the 'tiddler.tags.containsAny("$1")' function where the input string $1 could contain three tags or more something thing like ["tagA","tagB","tabC"]. What is giving me trouble is that I don't know how to format a single string to be able to handle a variable number of tags. Thanks Steve Wharton On May 22, 6:17 pm, Måns wrote: > Hi Steve > > > I was able to modify MeMo2 to remove the editing capability (and > > address my previous question). > > Great :-) > > > Thanks so much for answering my questions, developing MeMo2 and > > pointing me at the other resources that needed to be pulled in. > > You are welcome :-) > > Cheers Måns Mårtensson -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: how to use dynamically generated tables with the memorizable plugin
Hi Steve > I was able to modify MeMo2 to remove the editing capability (and > address my previous question). Great :-) > Thanks so much for answering my questions, developing MeMo2 and > pointing me at the other resources that needed to be pulled in. You are welcome :-) Cheers Måns Mårtensson -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: how to use dynamically generated tables with the memorizable plugin
Måns I was able to modify MeMo2 to remove the editing capability (and address my previous question). Thanks so much for answering my questions, developing MeMo2 and pointing me at the other resources that needed to be pulled in. Steve On May 22, 3:25 pm, steve wrote: > Måns > > The icons now show up property. > > Is there a way to configure MeMo2 so that the edit checkbox is hidden > with the edit permission turned off? Or is it possible to set a single > tiddler as read only? > > Steve > > On May 22, 12:15 pm, Måns wrote: > > > > > > > > > You are looking for these two > > tiddlers:http://memo.tiddlyspace.com/#arrow_refresh.pngevehttp://memo.tiddlysp... > > > Cheers Måns Mårtensson > > > On 22 Maj, 17:16, steve wrote: > > > > Måns > > > > I imported the various plugins and your MeMo2. Nearly everything > > > works. Two questions remaining: > > > > 1. In your tiddler [[Korean-English memorizeTest]] is there a way to > > > set the default value of the edit box to unchecked? When it is > > > checked then the table cells have extra text like "Mu Shimedit > > > TestMeMo2#2 term". The extra stuff disappears when I manually uncheck > > > it but than I lose the ability to edit any of my tiddlers. > > > > 2. If I want to use the same icons as you, where should the img/ > > > directory be placed relative to the tiddlywiki html file? > > > > Thanks > > > Steve Wharton > > > > On May 22, 9:43 am, steve wrote: > > > > > Måns > > > > > I'm just getting back to my project after taking some time off > > > > Saturday evening. > > > > You have given me a lot to work with and I'll let you know how it > > > > goes. > > > > > Thanks > > > > Steve > > > > > On May 22, 5:09 am, Måns wrote: > > > > > > Hi again Steve > > > > > > I've setup a dedicated space called memo (http://memo.tiddlyspace.com) > > > > > Now editing slices is controlled by sections and the editsectionplugin > > > > > serves it's purpose better... > > > > > > If you include it (memo) in one of your own spaces, you'll get what > > > > > you need to do sth like > > > > > this:http://memo.tiddlyspace.com/#[[Korean-English%20memorizeTest]] > > > > > > Cheers Måns Mårtensson > > > > > > On 22 Maj, 01:36, Måns wrote: > > > > > > > Hi Steve > > > > > > > > Any suggestions on how to fix this or better yet define some sort > > > > > > > of > > > > > > > function like "generateQuiz (inputTag)" that generates the quiz > > > > > > > table > > > > > > > using all tiddlers whose tag is equal to the value of inputTag? > > > > > > > Is this > > > > > > close?http://linux4u.tiddlyspace.com/#[[Korean-English%20memorizeTest]] > > > > > > It depends on forEachTiddlerPlugin to work.. > > > > > > > Checkout [[MeMo#2]] to see the code > > > > > > (you'll need to strip away unnecessary macrocalls like those for > > > > > > editsection and setIcon, to get a clear view I'm afraid..) > > > > > > > Cheers Måns Mårtensson -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: how to use dynamically generated tables with the memorizable plugin
Måns The icons now show up property. Is there a way to configure MeMo2 so that the edit checkbox is hidden with the edit permission turned off? Or is it possible to set a single tiddler as read only? Steve On May 22, 12:15 pm, Måns wrote: > You are looking for these two > tiddlers:http://memo.tiddlyspace.com/#arrow_refresh.pngevehttp://memo.tiddlyspace.com/#arrow_down.png > > Cheers Måns Mårtensson > > On 22 Maj, 17:16, steve wrote: > > > > > > > > > Måns > > > I imported the various plugins and your MeMo2. Nearly everything > > works. Two questions remaining: > > > 1. In your tiddler [[Korean-English memorizeTest]] is there a way to > > set the default value of the edit box to unchecked? When it is > > checked then the table cells have extra text like "Mu Shimedit > > TestMeMo2#2 term". The extra stuff disappears when I manually uncheck > > it but than I lose the ability to edit any of my tiddlers. > > > 2. If I want to use the same icons as you, where should the img/ > > directory be placed relative to the tiddlywiki html file? > > > Thanks > > Steve Wharton > > > On May 22, 9:43 am, steve wrote: > > > > Måns > > > > I'm just getting back to my project after taking some time off > > > Saturday evening. > > > You have given me a lot to work with and I'll let you know how it > > > goes. > > > > Thanks > > > Steve > > > > On May 22, 5:09 am, Måns wrote: > > > > > Hi again Steve > > > > > I've setup a dedicated space called memo (http://memo.tiddlyspace.com) > > > > Now editing slices is controlled by sections and the editsectionplugin > > > > serves it's purpose better... > > > > > If you include it (memo) in one of your own spaces, you'll get what > > > > you need to do sth like > > > > this:http://memo.tiddlyspace.com/#[[Korean-English%20memorizeTest]] > > > > > Cheers Måns Mårtensson > > > > > On 22 Maj, 01:36, Måns wrote: > > > > > > Hi Steve > > > > > > > Any suggestions on how to fix this or better yet define some sort of > > > > > > function like "generateQuiz (inputTag)" that generates the quiz > > > > > > table > > > > > > using all tiddlers whose tag is equal to the value of inputTag? > > > > > > Is this > > > > > close?http://linux4u.tiddlyspace.com/#[[Korean-English%20memorizeTest]] > > > > > It depends on forEachTiddlerPlugin to work.. > > > > > > Checkout [[MeMo#2]] to see the code > > > > > (you'll need to strip away unnecessary macrocalls like those for > > > > > editsection and setIcon, to get a clear view I'm afraid..) > > > > > > Cheers Måns Mårtensson -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: how to use dynamically generated tables with the memorizable plugin
You are looking for these two tiddlers: http://memo.tiddlyspace.com/#arrow_refresh.png http://memo.tiddlyspace.com/#arrow_down.png Cheers Måns Mårtensson On 22 Maj, 17:16, steve wrote: > Måns > > I imported the various plugins and your MeMo2. Nearly everything > works. Two questions remaining: > > 1. In your tiddler [[Korean-English memorizeTest]] is there a way to > set the default value of the edit box to unchecked? When it is > checked then the table cells have extra text like "Mu Shimedit > TestMeMo2#2 term". The extra stuff disappears when I manually uncheck > it but than I lose the ability to edit any of my tiddlers. > > 2. If I want to use the same icons as you, where should the img/ > directory be placed relative to the tiddlywiki html file? > > Thanks > Steve Wharton > > On May 22, 9:43 am, steve wrote: > > > > > Måns > > > I'm just getting back to my project after taking some time off > > Saturday evening. > > You have given me a lot to work with and I'll let you know how it > > goes. > > > Thanks > > Steve > > > On May 22, 5:09 am, Måns wrote: > > > > Hi again Steve > > > > I've setup a dedicated space called memo (http://memo.tiddlyspace.com) > > > Now editing slices is controlled by sections and the editsectionplugin > > > serves it's purpose better... > > > > If you include it (memo) in one of your own spaces, you'll get what > > > you need to do sth like > > > this:http://memo.tiddlyspace.com/#[[Korean-English%20memorizeTest]] > > > > Cheers Måns Mårtensson > > > > On 22 Maj, 01:36, Måns wrote: > > > > > Hi Steve > > > > > > Any suggestions on how to fix this or better yet define some sort of > > > > > function like "generateQuiz (inputTag)" that generates the quiz table > > > > > using all tiddlers whose tag is equal to the value of inputTag? > > > > > Is this > > > > close?http://linux4u.tiddlyspace.com/#[[Korean-English%20memorizeTest]] > > > > It depends on forEachTiddlerPlugin to work.. > > > > > Checkout [[MeMo#2]] to see the code > > > > (you'll need to strip away unnecessary macrocalls like those for > > > > editsection and setIcon, to get a clear view I'm afraid..) > > > > > Cheers Måns Mårtensson -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: how to use dynamically generated tables with the memorizable plugin
Hi Steve > 1. In your tiddler [[Korean-English memorizeTest]] is there a way to > set the default value of the edit box to unchecked? You can set the TiddlyWiki to open as readonly. Write: readOnly=true; in a tiddler tagged with systemConfig... If you want to hide the editSection macros, even if the TW is writable, then you'll have to do some magic with HideWhenPlugin and ToggleTagPlugin - or sth. similar > 2. If I want to use the same icons as you, where should the img/ > directory be placed relative to the tiddlywiki html file? You can import any image I have used as tiddlers. If you have setIconPlugin and AttachFilePluginFormatters installed, it should work without any changes... Cheers Måns Mårtensson -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: how to use dynamically generated tables with the memorizable plugin
Måns I imported the various plugins and your MeMo2. Nearly everything works. Two questions remaining: 1. In your tiddler [[Korean-English memorizeTest]] is there a way to set the default value of the edit box to unchecked? When it is checked then the table cells have extra text like "Mu Shimedit TestMeMo2#2 term". The extra stuff disappears when I manually uncheck it but than I lose the ability to edit any of my tiddlers. 2. If I want to use the same icons as you, where should the img/ directory be placed relative to the tiddlywiki html file? Thanks Steve Wharton On May 22, 9:43 am, steve wrote: > Måns > > I'm just getting back to my project after taking some time off > Saturday evening. > You have given me a lot to work with and I'll let you know how it > goes. > > Thanks > Steve > > On May 22, 5:09 am, Måns wrote: > > > > > > > > > Hi again Steve > > > I've setup a dedicated space called memo (http://memo.tiddlyspace.com) > > Now editing slices is controlled by sections and the editsectionplugin > > serves it's purpose better... > > > If you include it (memo) in one of your own spaces, you'll get what > > you need to do sth like > > this:http://memo.tiddlyspace.com/#[[Korean-English%20memorizeTest]] > > > Cheers Måns Mårtensson > > > On 22 Maj, 01:36, Måns wrote: > > > > Hi Steve > > > > > Any suggestions on how to fix this or better yet define some sort of > > > > function like "generateQuiz (inputTag)" that generates the quiz table > > > > using all tiddlers whose tag is equal to the value of inputTag? > > > > Is this > > > close?http://linux4u.tiddlyspace.com/#[[Korean-English%20memorizeTest]] > > > It depends on forEachTiddlerPlugin to work.. > > > > Checkout [[MeMo#2]] to see the code > > > (you'll need to strip away unnecessary macrocalls like those for > > > editsection and setIcon, to get a clear view I'm afraid..) > > > > Cheers Måns Mårtensson -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: how to use dynamically generated tables with the memorizable plugin
Måns I'm just getting back to my project after taking some time off Saturday evening. You have given me a lot to work with and I'll let you know how it goes. Thanks Steve On May 22, 5:09 am, Måns wrote: > Hi again Steve > > I've setup a dedicated space called memo (http://memo.tiddlyspace.com) > Now editing slices is controlled by sections and the editsectionplugin > serves it's purpose better... > > If you include it (memo) in one of your own spaces, you'll get what > you need to do sth like > this:http://memo.tiddlyspace.com/#[[Korean-English%20memorizeTest]] > > Cheers Måns Mårtensson > > On 22 Maj, 01:36, Måns wrote: > > > > > > > > > Hi Steve > > > > Any suggestions on how to fix this or better yet define some sort of > > > function like "generateQuiz (inputTag)" that generates the quiz table > > > using all tiddlers whose tag is equal to the value of inputTag? > > > Is this > > close?http://linux4u.tiddlyspace.com/#[[Korean-English%20memorizeTest]] > > It depends on forEachTiddlerPlugin to work.. > > > Checkout [[MeMo#2]] to see the code > > (you'll need to strip away unnecessary macrocalls like those for > > editsection and setIcon, to get a clear view I'm afraid..) > > > Cheers Måns Mårtensson -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: how to use dynamically generated tables with the memorizable plugin
Hi again Steve I've setup a dedicated space called memo (http://memo.tiddlyspace.com) Now editing slices is controlled by sections and the editsectionplugin serves it's purpose better... If you include it (memo) in one of your own spaces, you'll get what you need to do sth like this: http://memo.tiddlyspace.com/#[[Korean-English%20memorizeTest]] Cheers Måns Mårtensson On 22 Maj, 01:36, Måns wrote: > Hi Steve > > > Any suggestions on how to fix this or better yet define some sort of > > function like "generateQuiz (inputTag)" that generates the quiz table > > using all tiddlers whose tag is equal to the value of inputTag? > > Is this > close?http://linux4u.tiddlyspace.com/#[[Korean-English%20memorizeTest]] > It depends on forEachTiddlerPlugin to work.. > > Checkout [[MeMo#2]] to see the code > (you'll need to strip away unnecessary macrocalls like those for > editsection and setIcon, to get a clear view I'm afraid..) > > Cheers Måns Mårtensson -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: how to use dynamically generated tables with the memorizable plugin
Hi Steve > Any suggestions on how to fix this or better yet define some sort of > function like "generateQuiz (inputTag)" that generates the quiz table > using all tiddlers whose tag is equal to the value of inputTag? > Is this close? http://linux4u.tiddlyspace.com/#[[Korean-English%20memorizeTest]] It depends on forEachTiddlerPlugin to work.. Checkout [[MeMo#2]] to see the code (you'll need to strip away unnecessary macrocalls like those for editsection and setIcon, to get a clear view I'm afraid..) Cheers Måns Mårtensson -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.