[tw] Re: Turning off the Double Click Edit function
Thanks Mario, I used some code provided by Eric in another thread, but I will have a look. On Saturday, May 25, 2013 1:41:53 AM UTC+10, PMario wrote: http://tiddlytools.com/#ReplaceDoubleClick may be an option. But be aware, it is a transclusion used with tiddler ReplaceDoubleClick ... see the docs. This tiddler needs _no_ systemConfig tag. It needs to be included into ...viewTemplate as div class='anyClassYouNeed' macro='tiddler ReplaceDoubleClick'/div hope this helps. -m PS: I didn't test this. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[tw] Re: Turning off the Double Click Edit function
http://tiddlytools.com/#ReplaceDoubleClick may be an option. But be aware, it is a transclusion used with tiddler ReplaceDoubleClick ... see the docs. This tiddler needs _no_ systemConfig tag. It needs to be included into ...viewTemplate as div class='anyClassYouNeed' macro='tiddler ReplaceDoubleClick'/div hope this helps. -m PS: I didn't test this. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[tw] Re: Turning off the Double Click Edit function
I found that it appeared more than once when searching the html code. Once removed from all instances found I no longer have the double click feature enabled. Thanks Eric! On Saturday, November 28, 2009 9:39:37 AM UTC+11, Eric Shulman wrote: I really want to turn the double click function off all together. I do not find it to be something I use at all This is easy to change... Find the *shadow* tiddler named [[ToolbarCommands]]. It contains a slice table that defines lists of commands for the ViewToolbar and EditToolbar. Find the command +editTiddler in the ViewToolbar definition. Remove the + prefix from this command and save the tiddler. That's it. Double-clicking on a tiddler will no longer invoke the edit mode. enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[tw] Re: Turning off the Double Click Edit function
cflow, Did you edit the HTML file with an editor. * If yes, go on reading * If no, just ignore the rest of the post. There is a plugin, that can change the default double click behaviour. If you edit the html file directly you may cause strange bugs that are very, very, very, very difficult to find. Everyone else, that may use your TW and wants to update the core, will break his/her version. TW is highly flexible and allmost everything can be adjusted using tiddlers. Just to be sure have fun! -m -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[tw] Re: Turning off the Double Click Edit function
Yep, used an editor... I will have a look for the plugin. Thanks! On Thursday, May 23, 2013 11:19:31 PM UTC+10, PMario wrote: cflow, Did you edit the HTML file with an editor. * If yes, go on reading * If no, just ignore the rest of the post. There is a plugin, that can change the default double click behaviour. If you edit the html file directly you may cause strange bugs that are very, very, very, very difficult to find. Everyone else, that may use your TW and wants to update the core, will break his/her version. TW is highly flexible and allmost everything can be adjusted using tiddlers. Just to be sure have fun! -m -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[tw] Re: Turning off the Double Click Edit function
On Nov 28, 11:06 am, Eric Shulman elsdes...@gmail.com wrote: 1. Create a tiddler, say, called DisableDoubleClickOnTiddlers with the following text: Mr. Fly... meet Mr. SledgeHammer... Hijacking the onTiddlerDblClick() function for this purpose is *way* overkill... especially since the TW core already provides the ability to disable double-clicks on tiddlers, simply by removing any leading + prefix from tiddler toolbar command keywords. Indeed, and when I was looking at this issue, I recall Eric, you said the same thing to me. But in my case somehow the solution you suggested failed: even after removing the + prefix, the double click feature persisted. I do recall spending some time on investigating why I was not working for me; but don't recall what I found out. One of these days, I will try again. Thanks. Cheers; 'best, shankar swamy -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: Turning off the Double Click Edit function
Still no idea why MPTW (with tiddlyspot) refuses to give up double click though. MPTW doesn't use the standard ToolbarCommands tiddler. Instead, it uses it's own definition, contained within the MptwTheme tiddler. -e -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: Turning off the Double Click Edit function
MPTW doesn't use the standard ToolbarCommands tiddler. Instead, it uses it's own definition, contained within the MptwTheme tiddler. Ah. Thanks Eric. I'm confusing things for myself by juggling too many different flavors of Tiddlywiki. I have the same problem in ice cream shops. ;) -BC -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: Turning off the Double Click Edit function
On Nov 27, 12:45 pm, sonomakid2002 mco...@comcast.net wrote: I have read through several posts and they deal with mainly turning off the double click edit when in 'read-only' mode and only viewable on the web. I really want to turn the double click function off all together. I do not find it to be something I use at all. I only came up on the double-click option as pure coincidence and am used to and like the idea of clicking 'edit.' Cody 1. Create a tiddler, say, called DisableDoubleClickOnTiddlers with the following text: if (config.options['chkDoubleClickToEdit']===undefined) config.options['chkDoubleClickToEdit']=true; if (!Story.prototype.onTiddlerDblClick_save) { Story.prototype.onTiddlerDblClick_save=Story.prototype.onTiddlerDblClick; Story.prototype.onTiddlerDblClick = function(ev) { if (config.options['chkDoubleClickToEdit']) return story.onTiddlerDblClick_save.apply (this,arguments); } } 2. Tag it with systemConfig tag. 3. Somewhere in the tiddler that has all your systemConfig options, add the following: config.options.chkDoubleClickToEdit=false; Or, set the above to true, depending on which state you want the page to startup. Hopefully, that is what you wanted. Cheers; 'best, shankar -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: Turning off the Double Click Edit function
Shankar, that's fantastic. Thanks! I made a file for DisableDoubleClickEdit, and added the other line to MptwUserConfigPlugin, works a charm. Is there some way I could use that as an option in the OptionsPanel? With a checkbox to toggle it on or off as desired? Something like option chkDisableDoubleClickEdit? How would I make a macro for that? Thanks for your help. - BC On Nov 28, 9:08 am, Shankar shankar.sw...@gmail.com wrote: On Nov 27, 12:45 pm, sonomakid2002 mco...@comcast.net wrote: I have read through several posts and they deal with mainly turning off the double click edit when in 'read-only' mode and only viewable on the web. I really want to turn the double click function off all together. I do not find it to be something I use at all. I only came up on the double-click option as pure coincidence and am used to and like the idea of clicking 'edit.' Cody 1. Create a tiddler, say, called DisableDoubleClickOnTiddlers with the following text: if (config.options['chkDoubleClickToEdit']===undefined) config.options['chkDoubleClickToEdit']=true; if (!Story.prototype.onTiddlerDblClick_save) { Story.prototype.onTiddlerDblClick_save=Story.prototype.onTiddlerDblClick; Story.prototype.onTiddlerDblClick = function(ev) { if (config.options['chkDoubleClickToEdit']) return story.onTiddlerDblClick_save.apply (this,arguments); } } 2. Tag it with systemConfig tag. 3. Somewhere in the tiddler that has all your systemConfig options, add the following: config.options.chkDoubleClickToEdit=false; Or, set the above to true, depending on which state you want the page to startup. Hopefully, that is what you wanted. Cheers; 'best, shankar -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: Turning off the Double Click Edit function
On Nov 28, 8:20 am, BC bruce.armstr...@gmail.com wrote: Shankar, that's fantastic. Thanks! I made a file for DisableDoubleClickEdit, and added the other line to MptwUserConfigPlugin, works a charm. Is there some way I could use that as an option in the OptionsPanel? With a checkbox to toggle it on or off as desired? Something like option chkDisableDoubleClickEdit? How would I make a macro for that? What you mention there should work - except that you want to have the argument as the variable that you are saving: option chkDoubleClickToEdit That should insert a check-box that will allow you to flip the variable's value. Cheers; 'best, shankar -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: Turning off the Double Click Edit function
option chkDoubleClickToEdit That should insert a check-box that will allow you to flip the variable's value. Shankar, it works perfectly. It's now sitting happily in my options panel. I may even insert it in especially long tiddlers that I do a lot of editing on, since double click is occasionally useful to me if I want to avoid lots of scrolling for the edit button. Thank you so much! Standard equipment for me from now on. -B -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: Turning off the Double Click Edit function
if you are using a standard TW, all you have to do is edit ToolbarCommands (Shadowed tiddler) and remove the + next to editTiddler :) Mike On Nov 27, 2:45 pm, sonomakid2002 mco...@comcast.net wrote: I have read through several posts and they deal with mainly turning off the double click edit when in 'read-only' mode and only viewable on the web. I really want to turn the double click function off all together. I do not find it to be something I use at all. I only came up on the double-click option as pure coincidence and am used to and like the idea of clicking 'edit.' Cody -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: Turning off the Double Click Edit function
I really want to turn the double click function off all together. I do not find it to be something I use at all This is easy to change... Find the *shadow* tiddler named [[ToolbarCommands]]. It contains a slice table that defines lists of commands for the ViewToolbar and EditToolbar. Find the command +editTiddler in the ViewToolbar definition. Remove the + prefix from this command and save the tiddler. That's it. Double-clicking on a tiddler will no longer invoke the edit mode. enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: Turning off the Double Click Edit function
Thanks! That helped a lot. I am using version 2.3.0 which had some edits done prior and I do not know if the tiddler toolbar commands go deleted, but it was under my ViewTemplate Tiddler but removing the + did work. Thanks for each of your help! I just want to say that each of you have been a total help. I started using TW about 6 months ago and from this group, my knowledge base has grown significantly. I love trying to read through the information to find my answer and possibly answers to other questions I may have. I have always found that the group provides a quick and easy to follow response! Thanks again. I just wish I had a greater knowledge of JAVA and the likes so that I can understand some the information provided a little better. By trial and error, I usually figure it out! Cody On Nov 27, 4:39 pm, Eric Shulman elsdes...@gmail.com wrote: I really want to turn the double click function off all together. I do not find it to be something I use at all This is easy to change... Find the *shadow* tiddler named [[ToolbarCommands]]. It contains a slice table that defines lists of commands for the ViewToolbar and EditToolbar. Find the command +editTiddler in the ViewToolbar definition. Remove the + prefix from this command and save the tiddler. That's it. Double-clicking on a tiddler will no longer invoke the edit mode. enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: Turning off the Double Click Edit function
Ok, I followed Eric's instructions and I still have double click to edit. I removed the plus sign, saved, uploaded to Tiddlyspot, reloaded the page, confirmed that the plus sign was gone... still have double click to edit happening. I have no idea what to do. That feature drives me mad and I really want it to be opt in not opt out. It would be nice at least if it were an option in the sidebar, or at least in the Advanced options (heck, even in those mysterious hidden options) I need to avoid double clicks as much as possible, for the sake of my hands (some neuropathy) so using the Edit button is better for me, and when I do double click on a web page it's generally to select text. Hard habit to break. Also, calendars are hard to use because I get too many accidental double clicks. Sorry to whine, but I hope the double click to edit thing becomes an easier choice at some point. On Nov 27, 8:34 pm, sonomakid2002 mco...@comcast.net wrote: Thanks! That helped a lot. I am using version 2.3.0 which had some edits done prior and I do not know if the tiddler toolbar commands go deleted, but it was under my ViewTemplate Tiddler but removing the + did work. Thanks for each of your help! I just want to say that each of you have been a total help. I started using TW about 6 months ago and from this group, my knowledge base has grown significantly. I love trying to read through the information to find my answer and possibly answers to other questions I may have. I have always found that the group provides a quick and easy to follow response! Thanks again. I just wish I had a greater knowledge of JAVA and the likes so that I can understand some the information provided a little better. By trial and error, I usually figure it out! Cody On Nov 27, 4:39 pm, Eric Shulman elsdes...@gmail.com wrote: I really want to turn the double click function off all together. I do not find it to be something I use at all This is easy to change... Find the *shadow* tiddler named [[ToolbarCommands]]. It contains a slice table that defines lists of commands for the ViewToolbar and EditToolbar. Find the command +editTiddler in the ViewToolbar definition. Remove the + prefix from this command and save the tiddler. That's it. Double-clicking on a tiddler will no longer invoke the edit mode. enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: Turning off the Double Click Edit function
On Nov 27, 11:54 pm, BC bruce.armstr...@gmail.com wrote: Ok, I followed Eric's instructions and I still have double click to edit. I removed the plus sign, saved, uploaded to Tiddlyspot, reloaded the page, confirmed that the plus sign was gone... still have double click to edit happening. I have no idea what to do. Even stranger, using http://tiddlyhome.bidix.info, I was able to turn off the double click to edit by editing ToolbarCommands in Admin mode, but when I went to Author mode, again, no luck. Turns out that the AuthorViewTemplate has the +editTiddler too, and fixing it there did the trick. Still no idea why MPTW (with tiddlyspot) refuses to give up double click though. -BC -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.