On Saturday, September 5, 2020 at 6:36:08 AM UTC-7, vinvi...@gmail.com 
wrote:
>
> Also the page title appears, but not as a link.
> Something like this should happen:
> <$ link to = <<currentTiddler> >> <$ view field = "title" /> </ $ link>
>

Are you including all those spaces in your syntax?  If so, that is at least 
part of the problem.

TiddlyWiki syntax is very particular.  Unlike other programming languages, 
whitespace is important.  There cannot be spaces in between the "$" and the 
widget name, nor between a parameter name and the "=". Similarly, doubled 
angle brackets surrounding a variable name must be kept together and there 
cannot be spaces in the closing "/$widgetname".

Extra spaces ARE permitted surrounding "param=value" and in-between widgets 
(though this can result in spaces being displayed in the output).

Thus, the above line of code should properly be written like this:
<$link to=<<currentTiddler>>><$view field="title"/></$link>

Similarly, in the <<list-links>> filter parameter, spaces matter as well.  
Your filter syntax currently reads as:
"[tag<currentTiddler>] + [tag[NameOfTheTag]]"

However, there should not be a space between the "+" and the filter 
expression that follows.  Thus:
"[tag<currentTiddler>] +[tag[NameOfTheTag]]"

In fact, while the +[...] syntax can be used to combine two filter 
expressions (i.e., as an "AND"), you can also write this as:
"[tag<currentTiddler>tag[NameOfTheTag]]"

Which also means: has a tag equal to the <currentTiddler> name AND a tag 
equal to "NameOfTheTag"

Please try fixing your syntax by removing all the errant spaces, and then 
let me know what happens...

-e

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0ec53dd1-3aec-491c-9dfe-29935c198d54o%40googlegroups.com.

Reply via email to