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/acd4f40c-ab3f-4d45-8d28-5fbb0e6af080%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to