I found a workaround for now, by separating the showname from the link. But I would still love it if there were a way to combine the two.
*<$view tiddler="acercamientos" field="showname" format="text"/> - [ext[liga|./acercamientos.html]] On Monday, February 5, 2018 at 7:02:21 AM UTC-6, David Gifford wrote: > > Hi all > > I want to create a pretty link in an index where the link is to the URL of > an external page (preferably relative path, but I could live with absolute > path), but the text shown refers to a field of a tiddler within the > tiddlywiki file. > > Use case: I use a standalone TiddlyWiki to generate static pages, and a > static index. I use the title fields of the tiddlers for the filename of > the static pages, and a separate field called 'showname' to display the > viewable title of the article in the tiddler. Since I plan to change > shownames often (eg, from '8 things about this topic' to '10 things about > this topic'), I want the index to automatically update so I don't have to > hand enter each change in the index. That way, when I generate the static > index, the showname titles will be baked in, but the links will be to web > pages relative to the location of the index. > > I tried the following but they didn't work. I realize the problem is that > I am mixing html tags with TiddlyWiki widgets. What could I do to get this? > > *<a href="./presentaciones.html"><$view tiddler="presentaciones" > field="showname"/></a> > > *<$link to="./presentaciones.html"><$view tiddler="presentaciones" > field="showname"/></$link> > > > > -- 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/529da053-3035-4da6-a245-eaec5f5221dd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

