> Should I re-post this with a title that has the correct terminology?
> I.E. onClickTag exclude "xyz" tiddler for extendTagButtonPlugin
Try putting this tweak into a tiddler tagged with "systemConfig":
-------------------------------------
var fn=onClickTag.toString();
fn=fn.replace(
/for \(r = 0; r < tagged.length; r\+\+\) \{/,
'var
ex=store.getTiddlerText("ExcludeFromTagList","").readBracketedList();'
+'for(r=0;r<tagged.length;r++) { if (ex.contains(tagged[r].title))
continue;'
);
eval(fn);
-------------------------------------
(reminder: watch out for Google-added line breaks in the above
code...)
When invoked at startup, this tweak gets the core's definition of
onClickTag as a text string, then matches and replaces bit of code in
order to insert the additional handling needed to read a space-
separated, bracketed list of tiddler titles from
[[ExcludeFromTagList]], and then skip over those titles when rendering
the tag dropdown.
Note: Because ExtendTagButtonPlugin modifies the core's onClickTag()
function, and the above tweak must be applied to the unaltered core
function definition, you will need to name the tweak tiddler so that
it's title precedes "ExtendTagButtonPlugin" alphabetically. Try using
"." as the first 'letter' of the tiddler title... because it is sorted
before all letters, it will ensure that the tweak tiddler is invoked
first.
Once this tweak is loaded, any tiddler titles entered into
[[ExcludeFromTagList]] will be automatically omitted from all tag
dropdown lists.
enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios