Using TiddlyWiki 5 for contacts

707 views
Skip to first unread message

David Gifford

unread,
Nov 3, 2013, 10:30:45 AM11/3/13
to tiddl...@googlegroups.com
Hi all

At http://www.giffmex.org/tw5mall.htm you will see I have added a section on contacts. Tells in fairly simple language how to use TW5 as a contact manager.

While this will be greatly improved when template tiddlers and new here buttons get implemented, at least there is a way to do it and an explanation of how to do it, before TW5 rolls into beta.

Dave

Stephan Hradek

unread,
Nov 3, 2013, 2:57:46 PM11/3/13
to tiddl...@googlegroups.com
Try this css:

body p.contacts span.tw-list-frame {
    display: table;
}
body p.contacts span.tw-list-element {
    display: table-row-group;
}
body p.contacts span.tw-tiddler {
    display: table-row;
}
body p.contacts span.tw-view-link,
body p.contacts span.tw-transclude {
    display: table-cell;
    padding: 4px;
    border-bottom: 1px solid;
}

And this for your table:

@@.contacts
<$list filter="[tag[personalcontacts]]"><$view field="title" format="link"/><$transclude field="email"/><$transclude field="telephone"/></$list>
@@

Stephan Hradek

unread,
Nov 3, 2013, 3:00:49 PM11/3/13
to tiddl...@googlegroups.com
Before you wonder why I posted it: It should fix the limitation "so I had to make all the table cells the same width so it would look uniform."

David Gifford

unread,
Nov 3, 2013, 3:59:43 PM11/3/13
to tiddl...@googlegroups.com
Thanks Stephan! That works much better. I have updated the mall and have credited you in the contact list tiddler.


On Sun, Nov 3, 2013 at 2:00 PM, Stephan Hradek <stephan...@gmail.com> wrote:
Before you wonder why I posted it: It should fix the limitation "so I had to make all the table cells the same width so it would look uniform."

--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/Iw-AktrTZ_Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.



--
David Gifford
Christian Reformed World Missions, Mexico City

Stephan Hradek

unread,
Nov 3, 2013, 4:47:10 PM11/3/13
to tiddl...@googlegroups.com
I looked at it again and see what I changed:

CSS

body .tw-list-frame.contactstable {
    display: table;
}
body .tw-list-frame.contactstable .tw-list-element {
    display: table-row-group;
}
body .tw-list-frame.contactstable .tw-tiddler {
    display: table-row;
}
body .tw-list-frame.contactstable .tw-view-link,
body .tw-list-frame.contactstable .tw-transclude {

    display: table-cell;
    padding: 4px;
    border-bottom: 1px solid;
}

Tiddler

<$list filter="[tag[personalcontacts]]" type="plain" class="contactstable"><$view field="title" format="link"/><$transclude field="email"/><$transclude field="telephone"/></$list>

No @@ required

David Gifford

unread,
Nov 3, 2013, 5:14:41 PM11/3/13
to tiddl...@googlegroups.com
Thanks, again, Stephan. Just updated.


--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/Iw-AktrTZ_Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Smandoli

unread,
Nov 10, 2013, 4:31:14 PM11/10/13
to tiddl...@googlegroups.com
Dave, your site has provided an encouraging glimpse of TW5.  Thank you. 

On Sunday, David Gifford wrote:

At http://www.giffmex.org/tw5mall.htm ... Tells in fairly simple language how to use TW5 as a contact manager.

David Gifford

unread,
Nov 10, 2013, 5:37:55 PM11/10/13
to tiddl...@googlegroups.com
Thanks Smandoli!

This weekend, with the refactoring, I got all excited and whipped up this, still in process: http://giffmex.org/builditright.html. An even bigger glimpse of what TW5 can become! Blessings,

Dave

Dylan Kinnett

unread,
Nov 11, 2013, 5:51:49 PM11/11/13
to tiddl...@googlegroups.com
David,

Yes, this is an encouraging project indeed. I am also working on a project, in another thread here, to create a submissions tracker. I have a feeling I'll be referring to your example often :)
Reply all
Reply to author
Forward
0 new messages