Question regarding tagglytagging plugin

16 views
Skip to first unread message

Kashgarinn

unread,
Jan 8, 2008, 7:07:44 AM1/8/08
to TiddlyWiki
Hi there.

I'm interested in adding slice information into the tagglytagging
list, but only for the tagglylist in specific tiddlers which have a
specific tag.

Is that possible with the tagglytagging plugin?

Regards,
K.

Kashgarinn

unread,
Jan 8, 2008, 8:08:52 AM1/8/08
to TiddlyWiki
The more I think about it, the more I'd love the chance to change how
tagglytagging shows you the tags in a tiddler based on the tags the
tiddler itself has.

Would that be hard to implement?

Regards,
K.

Ken Girard

unread,
Jan 9, 2008, 2:07:14 AM1/9/08
to TiddlyWiki
I think you are going to have to explain that a little more before I
understand what it is you are hoping to achieve.

Also, did you know that in the
-Tagged as 'Animal': title↑ modified created group excerpts cols±
line above the tags each word is clickable and saves that view in that
tiddler?

So that if you click on group until it says sitemap, and then on
excepts, and then on cols± you will have something like:
Cow Chicken
...Cheese Egg

And it will still look that way the next time you open the tiddler?
You can even make the tags hidden by clicking on the - before Tagged.

Ken Girard

Kashgarinn

unread,
Jan 9, 2008, 3:58:31 AM1/9/08
to TiddlyWiki
hehe, no problem :)

I'm thinking that if I could perhaps define a yoursearch macro which
would replace/insert itself into the tagglytagging list in a specific
tiddler, that would be awesome.

Let's say I have normal tagglytagging functionality with my tiddlers.

I have tiddlers like "bob" and "ken" and "steve" which are tagged as
'Contacts'. So if I open the 'Contacts' tag, I see the tagglylist
with bob, ken and steve.

When I open the 'Contacts' tiddler, I'd like to see a list with
contact names, email address and phone number, so I create a
Yoursearch macro grabbing the name of the tiddlers, and then grabs the
email and phone number slices, and displays it something like this:

bob - b...@bob.com - 555-5555
Ken - K...@ken.com - 555-5554
Steve - St...@steve.com - 555-5553

But as I have normal tagglytagging functionality, the tagglylist is
right below this list with bob, ken and steve.

I would love the ability to just use the tagglylist for this list, let
the yoursearch macro grab the data, and let tagglytagging display it.
Hope I explained it better this time around :)

K.

Simon Baird

unread,
Jan 20, 2008, 8:22:18 AM1/20/08
to Tiddl...@googlegroups.com
2008/1/9 Kashgarinn <stei...@gmail.com>:

I'm thinking that if I could perhaps define a yoursearch macro which
would replace/insert itself into the tagglytagging list in a specific
tiddler, that would be awesome.

Let's say I have normal tagglytagging functionality with my tiddlers.

I have tiddlers like "bob" and "ken" and "steve" which are tagged as
'Contacts'.  So if I open the 'Contacts' tag, I see the tagglylist
with bob, ken and steve.

When I open the 'Contacts' tiddler, I'd like to see a list with
contact names, email address and phone number, so I create a
Yoursearch macro grabbing the name of the tiddlers, and then grabs the
email and phone number slices, and displays it something like this:

bob - b...@bob.com - 555-5555
Ken - K...@ken.com - 555-5554
Steve - St...@steve.com - 555-5553

But as I have normal tagglytagging functionality, the tagglylist is
right below this list with bob, ken and steve.

I would love the ability to just use the tagglylist for this list, let
the yoursearch macro grab the data, and let tagglytagging display it.
Hope I explained it better this time around :)


This would be very cool. Some kind of hideWhen/showWhen in view template should do the trick. Eg:

<div macro="showWhen tiddler.title == 'People'">
<div class="tagglyTagging" macro="forEachTiddler where [[tiddler.tags.contains('People')]] write [[....]]"></div>
</div>
<div macro="hideWhen tiddler.title == 'People'">
<div class="tagglyTagging" macro="tagglyTagging"></div> </div>

Fill the ..... part above with your perfect forEachTiddler output that includes the slice data. (I think FET is going to work better than YourSearch), Though it might get tricky with the quote chars.

Have fun..

Simon.

--
simon...@gmail.com
Reply all
Reply to author
Forward
0 new messages