Hi Jed
Thank you, though I confess I am too ignorant to understand your example. I
tried experimenting with it for a while but I am obviously doing something
wrong.
Also, I forgot to mention that the title will not be on a separate line.
Below is what I created originally to make it look like I want. It consists
of two list filters that will all flow together on the same line. The alt
arrows are the 'titles' I am talking about.
<$list filter="[all[current]tags[]sort[title]]"> ↑ <$link><span
class="giffbuttonsgreen"><$view field="title"/></span></$link></$list>
<$list filter="[all[current]backlinks[]sort[title]] -[all[current]tags[]]
-[all[current]links[]]"> ↔ <$link><span class="giffbuttonsblue"><$view
field="title"/></span></$link></$list>
CSS:
.giffbuttonsblue
{padding:2px;background-color:#DDF;padding-left:8px;padding-right:8px;line-height:25px;margin-right:8px;font-size:10pt;}
.giffbuttonsgreen
{padding:2px;margin-top:30px;background-color:#DFB;padding-left:8px;padding-right:8px;line-height:25px;margin-right:8px;font-size:10pt;}
html body.tc-body a.tc-tiddlylink .giffbuttonsgreen {color:#694;}
What do I need to tweak in your example? It looked like a filter in a filter in
a filter, and it wasn't clear to me what each part does. Sorry for my ignorance!
On Saturday, November 26, 2016 at 4:36:25 PM UTC-6, Jed Carty wrote:
>
> You just put your test inside the conditional part of the template.
> Something like:
>
> <$list filter='[is[current]tag[foo]]'>
> <$list filter='[is[current]backlinks[]limit[1]]' variable=dummy>
>
>
> !Look at me! I am a title!
>
>
> <$list filter='[<currentTiddler>backlinks[]]'>
>
>
> </$list>
>
>
> </$list>
> </$list>
>
> note that the variable=dummy is needed in the second list widget. It
> doesn't have to be dummy, but it has to be something. Also replace
> [is[current]tag[foo]] with whatever filter you want for your conditional
> part.
>
--
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/e2618895-2629-4afd-af48-91bbd8247a06%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.