====== tagadd Plugin ====== ---- plugin ---- description: add tags via a popup-dialog, which shows existing tags author : lisps, peterfromearth email : coder@peterfromearth.de type : action lastupdate : 2020-02-29 compatible : !Igor, !Hogfather, Greebo, Frusterick Manners, Elenor Of Tsort, Detritus depends : tag,tagfilter,ajaxedit conflicts : similar : tagentry tags : ajax, tags, dialog downloadurl: https://github.com/lisps/tagadd/archive/master.zip bugtracker : https://github.com/lisps/tagadd/issues sourcerepo : https://github.com/lisps/tagadd/ donationurl: screenshot_img : https://raw.github.com/lisps/tagadd/master/example/example1.png ---- ===== Installation ===== :!: **External requirements:** This plugin requires the following additional components that must be installed separately: * [[plugin:tag]] * [[plugin:tagfilter]] * [[plugin:ajaxedit]] Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually. ===== Examples/Usage ===== Just press ''CTRL+q'' and the PopUp-Dialog will open. On top you can select the namespace, where the tags should be extracted from. Default is the current namespace. Then you can select the wanted tags and confirm with save. ===== Configuration and Settings ===== In the default configuration dialog will only show up on ''CTRL+q'', but you can insert anywhere in your template a call to the JavaScript function ''tagadd__ajax_submitFormTags()'' which will open the dialog. In admin configuration: ^ Setting ^ Default ^ Description ^ | ''showPagetoolBtn'' | ''on'' | show pagetool button | | ''keyCode'' | ''17,113'' | keycodes | | ''altKey'' | ''off'' | ALT key needs to be pressed with the keyCode | | ''ctrlKey'' | ''on'' | CTRL key needs to be pressed with the keyCode | ===== Development ===== === Change Log === [[https://travis-ci.org/lisps/tagadd|{{ https://travis-ci.org/lisps/tagadd.png?nocache|Build Status}}]] {{rss>https://github.com/lisps/tagadd/commits/master.atom date}} === Known Bugs and Issues === :!: 2 ''{{tag>'' fields on one page will cause problems :!: === ToDo/Wish List === ===== FAQ ===== ===== Discussion ===== The code at [[https://github.com/gamma/dokuwiki-plugin-tagadd/tree/tagadd-button]] adds a nice button to the site to activate this plugin. Thanks for this plugin, it is a great idea. But nothing happens if I press ''Ctrl-q''.\\ What can I do to analyze the problem? //Joe, 2013-12-05// >I quess your are not using firefox, if so you can check out the dev branch on github - >there has been a bug due to different key codes on IE/chrome --- [[user>lisps|lisps]] //2013/12/05 11:07// Any more details? Download the github version with configuration but nothing works with Chrome. Also I would prefer to have a button instead of a shortcut. Any way to quickly integrate it in FCKeditor or so? >Can you report the error message? To see the messages open the javascript console (Ctrl+Shift+J). --- [[user>lisps|lisps]] Failed to load resource: net::ERR_CACHE_MISS http://example.com/avatar?do=edit&rev=0 XHR finished loading: POST "http://example.com/lib/exe/ajax.php". js.php?tseed=fa3d2a7d757b04200738e71fb8c147e6:6send js.php?tseed=fa3d2a7d757b04200738e71fb8c147e6:6x.extend.ajax js.php?tseed=fa3d2a7d757b04200738e71fb8c147e6:6x.(anonymous function) js.php?tseed=fa3d2a7d757b04200738e71fb8c147e6:6lockTimerRefresh avatar?do=edit&rev=0:305handlekeypress avatar?do=edit&rev=0:245j ckeditor.js:10CKEDITOR.event.CKEDITOR.event.fire ckeditor.js:12CKEDITOR.editor.CKEDITOR.editor.fire ckeditor.js:13d ckeditor.js:211j ckeditor.js:10CKEDITOR.event.CKEDITOR.event.fire ckeditor.js:12(anonymous function) ckeditor.js:46 ... after I press ALT+Q (18,81). Hello, Could you please show, how i change the keycode? I'm using Firefox and every press ctrl-q quits Firefox unfortunately.The configuration of the keycode are in /conf/default.php. value 17 means ctrl, but value 113 means F2?? after changing this in value 81 (means q??)nothing change. Regards Poul