NiceTaggingPlugin throwing error

34 views
Skip to first unread message

Daniel

unread,
Dec 13, 2011, 4:33:45 PM12/13/11
to tiddl...@googlegroups.com

Error in macro <<niceTagger>>
Error while executing macro <<niceTagger>>:
TypeError: src is null

Hello, I get the above error in nicetaggingplugin when I import it into latest tiddlywiki and put the macro in edittemplate and viewtemplate.

Does anyone know why and how to fix it?

Daniel

Daniel

unread,
Dec 13, 2011, 5:25:47 PM12/13/11
to tiddl...@googlegroups.com
The errors were because I didn't have a "Suggestions" tiddler, which I had in the macro.

Another question:
If I  use it in the viewtemplate, adding tags works, but deleting them by clicking the red x doesn't. Is it possible to make deleting tags work also in the viewtemplate? not only in the edittemplate?

Daniel

unread,
Dec 14, 2011, 2:16:37 AM12/14/11
to tiddl...@googlegroups.com
I am looking for a quick and intuitive way of adding and deleting tags.

NiceTaggingPlugin is great because it doesn't call save routine after each addition/deletion. Therefore very fast action. I really like Toby Beer's tag-plugin too, but it is slow. Eric Schulman's checkbox-plugins can be used, but are also slow.

The only problem with NiceTaggingPlugin that I can see is that clicking the red x to delete tags in viewtemplate or when invoking macro in any tiddler doesn't work. When clicking save it doesn't actually save with tags deleted. It retains the tags that were there before clicking the red x.

??? Any suggestions

rakugo

unread,
Dec 14, 2011, 5:08:45 AM12/14/11
to TiddlyWiki
Mmmm... most strange
Can I ask a few things
1) Are you using the most up to date version of the plugin? (http://
nicetagging.tiddlyspace.com/#NiceTaggingPlugin)
2) Which web browser are you using? (I've tried in Chrome and Firefox
and both seem to work)
3) What other plugins have you got installed

The suggestions tiddler shouldn't be needed. I don't even think this
is used any more, so my only thought is that you must be using an
older version of the plugin? However it's possible another plugin is
breaking it.

I think in it's current form the macro doesn't work at all in the
ViewTemplate as it was designed for the EditTemplate as it relies on
you hitting the save button to save. I've had lots of trouble with
this in the past, and I think I gave up trying to support updates via
the ViewTemplate.

<div macro="niceTagger"></div> should be all you need to add to the
EditTemplate to get it to work

Let me know how you get on...
Jon

Daniel

unread,
Dec 14, 2011, 6:13:38 AM12/14/11
to tiddl...@googlegroups.com
I got the error in both chromium and firefox on Linux. And I tried it on a freshly downloaded tiddlywiki 2.6.5
The only other plugin I had was messagefadeout wich only changes the behaviour of the yellow messagebox when saving.

It works as you describe, so that is alright. I can also add tags if I put it in viewtemplate, but not delete them from viewtemplate. I understand that it was hard getting it working from the viewtemplate.

When you have a lot of tiddlers changing tags from view mode becomes very unresponsive (as in TagSearchPlugin), since it autosaves every time you click to add or delete a tag. Adding tags in view mode from your plugin and then clicking save button is much snappier. If you could delete tags too in view mode that would be great.

Daniel 
Reply all
Reply to author
Forward
0 new messages