I've just implemented a twab address book. I had no trouble creating a tiddler that displays all of my contacts in alphabetical order by last name:
<<forEachTiddler where 'tiddler.tags.containsAny(["AddressBook"])' sortBy 'tiddler.data("last.name")+", "+tiddler.data ("first.name")' write '"[["+tiddler.data("last.name")+", "+tiddler.data ("first.name")+"|"+tiddler.title+"]]\n"' >> Now I want to create a tiddler that lists each (unique) company name in the address book. When I click on a company name, I want to see the list of contacts for that company. Of course, the company level display is similar to the forEachTiddler above with some scripting for uniqueness. The problem I have is, I don't have any real idea of how to display the contacts for single company. I don't want to maintain a tiddler for each company, that is needless data duplication. It seems the right side of the [[ | ]] in the company list will have to point to something other than a tiddler, but I am not sure what. Bonus Question: I really don't know HTML or CSS. What is the minimum changes (preferably local to the tiddler) that I need to make to the forEachTiddler above to display the names in two (or more) columns. Thanks to all who make this group a great resource, Don --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~----------~----~----~----~------~----~------~--~---