Hi Jon

The Demo code works in two stages:

1. The value of the tag selected with the <$select> widget is stored to a 
field somewhere
2. This value is then retrieved and used by the <$makelist> widget to set 
the list in '$:/StoryList'

These two text-references must match in order for the code to work -- if 
you have a look at the code in the 'List all Tagged' tiddler 
at: http://gwiz.tiddlyspot.com/ -- you will see that I have specified both 
the tiddler title and field name for both the <$select> widget and the 
<$makelist> widget -- this ensures these two text-references match.

regards

On Saturday, June 28, 2014 12:55:04 PM UTC+2, Jon wrote:
>
> Hi Matabele,
>
> I've got your MakeList Demo working in my wiki but when I copied this code 
> into a new tiddler and tried it, (after saving and refreshing) the only 
> action was to close the tiddler - am I missing another bit of code 
> somewhere?
>
> Thanks
> Jon
>
> On Saturday, 28 June 2014 11:42:39 UTC+1, Matabele wrote:
>>
>> Hi Jon
>>
>> OK -- try this code:
>>
>> <$select field="target" default='(none)'>
>> <option value="null">(none)</option>
>> <$list filter="[all[tiddlers]tags[]sort[title]]">
>> <option value=<<currentTiddler>>><$view field="title"/></option>
>> </$list>
>> </$select>
>> <$makelist tiddler="$:/StoryList" filter="[tag{!!target}]">
>> <$button message="tw-make-list">Show Tagged</$button>
>> </$makelist>
>>
>> regards
>> On Saturday, June 28, 2014 12:05:08 PM UTC+2, Jon wrote:
>>>
>>> Hi Matabele,
>>>
>>> That looks very interesting too - I'll play around with it and add it to 
>>> all your other improvements! But what I was really after is probably a lot 
>>> simpler. Your MakeListDemo transcludes the tiddlers with a particular tag 
>>> but you mention this could also be adapted for the main story river - How 
>>> do you do that?  And would this mean that when you clicked "Show Tagged" 
>>> the tiddlers with that tag would appear under the "Open" tab on the 
>>> right-hand side?
>>>
>>> Thanks, Jon.
>>>
>>> On Saturday, 28 June 2014 09:40:55 UTC+1, Matabele wrote:
>>>>
>>>> Hi Jon
>>>>
>>>> OK -- appear to have it working now with a single click using a 
>>>> <$setfield> widget. Don't know if the timing between the two widgets will 
>>>> be synchronised in all cases though.
>>>>
>>>> Anyway, give it a try -- perhaps it will work out for you.
>>>>
>>>> regards
>>>>
>>>> On Saturday, June 28, 2014 9:06:58 AM UTC+2, Jon wrote:
>>>>>
>>>>> Hi Matabele,
>>>>>
>>>>> Thats super - I've managed to transfer it to my own wiki and it's 
>>>>> working fine - really useful.
>>>>>
>>>>> I hesitate to ask for anything else but is it an easy thing to just 
>>>>> show the (clickable) titles of the tiddlers which have the particular tag 
>>>>> - 
>>>>> would this be the case if it was in the Main Story river?
>>>>>
>>>>> Thanks, Jon.
>>>>>
>>>>> On Saturday, 28 June 2014 06:53:23 UTC+1, Matabele wrote:
>>>>>>
>>>>>> Hi Jon
>>>>>>
>>>>>> I have uploaded my new <$makelist> widget to: 
>>>>>> http://gwiz.tiddlyspot.com/
>>>>>>
>>>>>> The Demo for the widget shows how this widget may be used to open all 
>>>>>> tiddlers with a given tag (for the purposes of the demo these are opened 
>>>>>> in 
>>>>>> a substory of the Menu tiddler, but the code may easily be changed to 
>>>>>> open 
>>>>>> the tiddlers in the main story river.) 
>>>>>>
>>>>>> The Menu links on the site also serve as usage examples -- in this 
>>>>>> case the filter is a simple list of tiddlers.
>>>>>>
>>>>>> Hope this fits your needs.
>>>>>>
>>>>>> regards
>>>>>>
>>>>>> On Friday, June 20, 2014 9:26:03 AM UTC+2, Jon wrote:
>>>>>>>
>>>>>>> Hi
>>>>>>>
>>>>>>> I'd find it really useful to be able to simultaneously open all the 
>>>>>>> tiddlers with a particular tag and then close them all again.
>>>>>>>
>>>>>>> Is that already possible?
>>>>>>>
>>>>>>> Thanks
>>>>>>> Jon
>>>>>>>
>>>>>>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to