[tw] Re: Concatenating (Joining) Hard and Indirect text within a Filter

2016-06-29 Thread Jed Carty
The addsuffix filter operator can make this simpler. You could use a set 
widget in place of the outer list widget but if you do that than spaces in 
the title will break everything.

<$list filter='[[Company]addsuffix{!!title}]' variable=tag>
<$macrocall $name=list-links filter='[tag]'/>


-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/0797d022-3a00-41ce-8d73-e4331716b64d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Concatenating (Joining) Hard and Indirect text within a Filter

2016-06-28 Thread codacodercodacoder


On Tuesday, June 28, 2016 at 1:18:30 PM UTC-5, Thomas McLeod wrote:
>
> So I want to be able to search for all items tagged with String+Title. 
> Example: 
> Input: Company{{!!title}}
> Output: CompanyApple
> Where: Company is the string and Apple is the title of the tiddler
>
> Now I want to be able to do this with a filter.
> <>
>
> This just returns nothing. 
>
> I've also tried:
> <>
>
> <>
>
>
Something like this?

 \define build-fullname() $(prefix)$$(title)$

<$set name=prefix value=Company>
<$set name=title value={{!!title}}>
<$set name=fullname value=<>>
<> List:

<$list filter="[tagsort[]]">







-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/da9118ce-cce0-4399-9641-a0f8ad4b47cc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Concatenating (Joining) Hard and Indirect text within a Filter

2016-06-28 Thread PMario
Hi Thomas, 

Can you describe, _what_ you want to achieve, and not how you want to 
achieve it. 
I have the impression, there is a concept problem. But this may be just my 
problem of imagination :)

I can see, you want to create an automatic list in a tiddler named "Apple" 
with a prefixed tag. .. But why is your tag prefixed?

-mario

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/b2f5fda4-3ae4-4320-b489-06a2fc0082fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.