On Tuesday, October 29, 2013 8:08:11 PM UTC-7, Anton Aylward wrote: > ...
|Ricks Cafe American|[[The County of the Blind]]|[[Metropolis]]| > ... > Why, you ask, do I have a value of [[The Country of the Blind]] in there? > ... Maybe I need to store those fields 'raw' and have the LocationsView > wikify them. Currently I have in LocationsView > <div class='viewer'><b>Country:</b> <span macro='view country > wikified'></span> <b>City:</b> <span macro='view city > wikified'></span></div> > but that doesn't converts single words like 'Wales' to links. > You are VERY close! As you guessed, you should use the "raw" (unbracketed) value in the custom field, so that the output from <<forEachTiddler>> is correct. Then, in your LocationsViewTemplate, instead of the 'wikify' keyword in the view macro, use the 'link' keyword, like this: <span macro='view country link'></span> <span macro='view city link'></span> That will ensure that the field values are displayed as TiddlyLinks, regardless of whether or not they are wiki words, or have spaces. Another important issue: custom fields names should **always be lower case only** (e.g. "country", not "Country"). While it might *seem* that mixed case names work, it can cause problems for some functions and should be avoided. Also, as an optimization in <<forEachTiddler>>, because you are referencing fields in the "current" tiddler, you can replace this syntax: store.getValue(tiddler,"Country") with just: tiddler.fields["country"] which saves a bit of TWCore overhead processing. enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"... http://www.TiddlyTools.com/#Donations Professional TiddlyWiki Consulting Services... Analysis, Design, and Custom Solutions: http://www.TiddlyTools.com/#Contact -- 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 http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.

