Just to answer your first question, you want to modify the ViewTemplate  in 
your TiddlyWiki that has the plugin.  (screenshot below)

Also, after you've edited the plugin, you have to make sure to save and 
reload the TiddlyWiki for the change to take effect.

I just tested this again, and it all works A-1.  Double-clicking on any 
tiddler just opens that one tiddler for edit.  Double-clicking on either a 
shadow or a system tiddler does nothing.

Just as a sanity check, download an empty TiddlyWiki, install the plugin in 
that TiddlyWiki, and see if things work correctly there.

I suspect you made a change to the plugin's javascript and also made this 
edit I suggest to the ViewTemplate.

If you did change the javascript, you should probably remove the plugin and 
reinstall.

[image: Screenshot 2021-09-14 9.51.20 AM.png]

On Tuesday, September 14, 2021 at 6:38:26 AM UTC-3 strikke...@gmail.com 
wrote:

> Charlie - editing the viewtemplate lead to another problem - 2 click on 
> one tiddler open all standard tiddlers for edit. 
> On Tuesday, September 14, 2021 at 11:29:20 AM UTC+2 strikke...@gmail.com 
> wrote:
>
>> You find the viewtemplate in .Danielos 2click2edit plugin 
>> <https://danielorodriguez.com/TW5-2click2edit/#%24%3A%2Fplugins%2Fdanielo515%2F2click2edit>
>>
>> On Tuesday, September 14, 2021 at 10:36:23 AM UTC+2 imleg...@gmail.com 
>> wrote:
>>
>>> thank you. Can you give me a link about the viewtemplate, cuz I can't 
>>> find it on google. 
>>>
>>> And why we put a "<$click>" here
>>>
>>> On Monday, September 13, 2021 at 12:50:49 AM UTC+8 cj.v...@gmail.com 
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> Instead of altering the javascript, give what's in the screenshot below 
>>>> a try.
>>>>
>>>> Do note: for the change to take effect, you do have to save and reload 
>>>> your TiddlyWiki.
>>>>
>>>> [image: Screenshot 2021-09-12 1.48.30 PM.png]
>>>>
>>>> On Sunday, September 12, 2021 at 12:34:03 PM UTC-3 imleg...@gmail.com 
>>>> wrote:
>>>>
>>>>> I installed the tiddler 2click2edit. I want to change it a little that 
>>>>> when a tiddler start with the "$", don't trigger the edit command. 
>>>>>
>>>>> I already found the related code. Which 
>>>>> is $:/plugins/danielo515/2click2edit/ClickListener.js
>>>>>
>>>>> I think I need to change the code 
>>>>>
>>>>> ```
>>>>> ClickListener.prototype.editTiddler = function(event) { 
>>>>> //alert(this.getVariable("currentTiddler").getTitle()); 
>>>>>   this.dispatchEvent({type: "tm-edit-tiddler", param: 
>>>>> this.getVariable("currentTiddler")}); 
>>>>> }; 
>>>>> ```
>>>>>
>>>>> But this.getVariable("currentTiddler").getTitle() seems not right, how 
>>>>> to fix it. 
>>>>>
>>>>> And is there a manual for program for tw? 
>>>>>
>>>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/41947fe1-8d72-4b17-9364-8bb98d6471fbn%40googlegroups.com.

Reply via email to