Reference:
http://groups.google.com/group/tiddlywiki/browse_thread/thread/de4784018f05304d
01: config.quickOpenTag = {
02: dropdownChar: (document.all ? "\u25bc" : "\u25be"), // the little
one doesn't work in IE?
03: // experimental - this function is not working
04: createTagButton: function(place,tag,excludeTiddler,title,tooltip)
{
05: var sp = createTiddlyElement(place,"span",null,"quickopentag");
//
combined container
06: createTiddlyText(createTiddlyLink(sp,title||tag,false),tag); //
create quick open link
07: var theTag =
createTiddlyButton(sp,config.quickOpenTag.dropdownChar,
08:
config.views.wikified.tag.tooltip.format([tag]),onClickTag);
09: theTag.setAttribute("tag",tag);
10: if (excludeTiddler)
11: theTag.setAttribute("tiddler",excludeTiddler);
12: },
13: init: function() {
14: // we fully replace these builtins. can't hijack them easily
15: window.createTagButton = this.createTagButton;
16: }
18: }
19: config.quickOpenTag.init();
Line 4/6/7 trying to figure out why they are working against each
other. . .
line 6 has reverse tag/title placement of line 7 ?
Probably a syntax problem or something simple -.-
My Test tiddler looks like
!!!tag macro
{{{
<<tag 'RealTag Name' 'PrettyTag Name'>>
<<tag systemConfig ▼>>
}}}
<<tag 'RealTag Name' 'PrettyTag Name'>>
<<tag systemConfig ▼>>
!!!tags macro
<<tags>>
Goal:
trying to use Core formatting on QuickOpenTagPlugin instead of mptw
pretty tag so if plugin is disable / removed <<tag myTag>> & <<tag
myTag prettyTag>> references still work. . . mptw version <<tag
PrettyTagName|RealTagName>>
I think I am close, but can't seem to get over the last hurdle.
I appreciate your assistance,
Mike
--
You received this message because you are subscribed to the Google Groups
"TiddlyWikiDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tiddlywikidev?hl=en.