tagglytagging question

10 views
Skip to first unread message

koyut

unread,
Nov 26, 2007, 7:18:41 PM11/26/07
to TiddlyWiki
Is it possible to display only a set default of displaying tags in a
default format like groups, and title only and removing the sort
options?

koyut

unread,
Nov 27, 2007, 9:27:17 PM11/27/07
to TiddlyWiki
Bump any one?

Trü Olanis

unread,
Nov 27, 2007, 10:14:29 PM11/27/07
to TiddlyWiki
How do you mean, exactly? List only certain tags in groups?

Ken Girard

unread,
Nov 27, 2007, 10:24:07 PM11/27/07
to TiddlyWiki
Try Udo's ForEachTiddlerPlugin
http://tiddlywiki.abego-software.de/#ForEachTiddlerExamples

Ken Girard

koyut

unread,
Dec 2, 2007, 5:41:41 PM12/2/07
to TiddlyWiki
Hmm... In taggly tagging you can sort the tiddlers with the same tags.
What I actually need is to disable the sorting options and have a
default one that you cannot toggle. And the default sorting I am
thinking of is groups.

Daniel Baird

unread,
Dec 2, 2007, 5:55:29 PM12/2/07
to Tiddl...@googlegroups.com
Untested.. but find this line in TagglyTaggingPlugin:
listMode: ["normal","group","sitemap","commas"],

try removing the other types, so it looks like this:
listMode: ["group"],

Then save and RELOAD. Maybe that'll work...

Cheers
;Daniel


--
Daniel Baird
Cop: "Do you know how fast you were going, sir?"
Heisenberg: "No, but I know exactly where I am!"

Simon Baird

unread,
Jan 14, 2008, 7:21:17 AM1/14/08
to Tiddl...@googlegroups.com
removing the sort options would require some minor javascript surgery. respond if you still want some help with this.

Simon.
--
simon...@gmail.com

koyut

unread,
Jan 16, 2008, 4:58:21 PM1/16/08
to Tiddl...@googlegroups.com
I still am Interested

Simon Baird

unread,
Jan 19, 2008, 10:24:27 AM1/19/08
to Tiddl...@googlegroups.com
To remove the list controls you need to comment out a few lines in TagglyTagging plugin. The lines are highlighted below. Use // at the start of the line to comment it out.


	refresh: function(place) {
var title = place.getAttribute("title");
removeChildren(place);
if (store.getTaggedTiddlers(title).length > 0) {
var lingo = config.taggly.lingo;
//config.taggly.createListControl(place,title,"hideState");
if (config.taggly.getTagglyOpt(title,"hideState") == "show") {
createTiddlyElement(place,"span",null,"tagglyLabel", lingo.labels.label.format([title]));
//config.taggly.createListControl(place,title,"title");
//config.taggly.createListControl(place,title,"modified");
//config.taggly.createListControl(place,title,"created");
//config.taggly.createListControl(place,title,"listMode");
//config.taggly.createListControl(place,title,"excerpts");
//config.taggly.createListControl(place,title,"numCols");
config.taggly.createTagglyList(place,title);
}
}
}
}

To make a default list option you should edit the section below as Daniel says earlier in this thread. For each of the items in listOpts the first one is the default. I've made "group" the default below by moving it to the start of the list. Adjust others as required:

	

config: {
showTaggingCounts: true,
listOpts: {
// the first one will be the default
sortBy: ["title","modified","created"],
sortOrder: ["asc","desc"],
hideState: ["show","hide"],
listMode: ["group","normal","sitemap","commas"],
numCols: ["1","2","3","4","5","6"],
excerpts: ["noexcerpts","excerpts","contents","sliders"]
},
--
simon...@gmail.com

koyut

unread,
Jan 20, 2008, 10:10:13 AM1/20/08
to Tiddl...@googlegroups.com
Great I'm going to try this now and post the results
Reply all
Reply to author
Forward
0 new messages