Thanks, Makabele, you saved me again!
One of the great things about TW is that it can be really tweaked and
customized for each one's specific use cases! However, for people like me,
with little programming knowledge, it can also become a bit frustrating. I
am very savvy at tweaking existing examples or examples that I glean from
this forum to my uses, but as soon as I try something new, I almost
certainly fail at it!
I would never be able to come up with a construct like
... [all[current]tagging[]]
And I do not know, is it my limited understanding of TW itself, or of of
JavaScript on more general terms?
Once TW5 is out of beta, a 'TW5 Guide for Dummies' is dearly needed!
Meanwhile, us dummies we do have this forum and people like Matabele and
others to help us out. Thanks a lot again, TW rules!
Cheers,
Michael
On Sunday, July 6, 2014 4:38:51 PM UTC+2, Matabele wrote:
>
> Hi
>
> Try something like:
>
> <$list filter="[tags[]!is[system]sort[title]]">
>
> !!{{!!title}}
>
> <$list filter="[all[current]tagging[]]"/>
>
> </$list>
> </$list>
>
>
> regards
>
> On Sunday, July 6, 2014 4:14:53 PM UTC+2, Michael wrote:
>>
>> Back to my SECOND problem:
>>
>> I want to create a nested list, where the outer list is constituted by
>> all the (non-system)tags in my TW (im my case blogs and topics), and the
>> inner list contains all the tiddlers that are tagged with a specific tag.
>>
>> TAG A
>> - Tiddler 1 tagged with TAG A
>> - Tiddler 2 tagged with TAG A
>> ...
>> TAB B
>> - Tiddler 1 tagged with TAG B
>> - Tiddler 2 tagged with TAG B
>> ...
>> TAG N
>>
>> Is this possible?
>>
>>
>>
>> On Friday, July 4, 2014 10:16:07 AM UTC+2, Michael wrote:
>>>
>>> Hi,
>>>
>>> I am about to create a blog diary. This contains tiddlers with urls that
>>> link to the original blogs in the body, a date field and several tags
>>> indicating the blog source and topics covered.
>>>
>>> Now I want to create an index tiddler, which uses a nested list to list
>>> all related tiddlers per tag, sorted by date.
>>>
>>> What I came up with so far is this construction, addressing the 'tags'
>>> field:
>>>
>>> <$list filter="[has[tags]each[tags]sort[tags]]">
>>> <h2><$view field="tags"/></h2>
>>> <$list filter="[title{!!title}sort[date]]">
>>> <div class="tw-menu-list-subitem">
>>> <$view field=date format=date template="0DD mmm YYYY" /> --- <$link
>>> to={{!!title}}><$view field="title"/></$link>
>>> </div>
>>> </$list>
>>> </$list>
>>>
>>> My FIRST problem: if there are several tiddlers with identical tags,
>>> only one is listed.
>>>
>>> My SECOND problem: ideally I would like to have individual tags in the
>>> outer list, not the combination of tags listed in the 'tags' field. I have
>>> absolutely no idea how to do this.
>>>
>>> My THIRD problem: I would also like to include the urls in the body as
>>> working links to the external sites in my list. However, the LinkWidget
>>> seems to link only to tiddlers. Is it possible to create external links in
>>> a list using the text field or any other field?
>>>
>>> Thanks a lot for your help!
>>> Michael
>>>
>>
--
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.