Hi Charlie,
I made some changes to the demo based on the discusions in the talk TW forum. Now the modal search edit option works ok.
https://multicolumn-krystal.tiddlyhost.com/#Search%20modal%20button
Hi Charlie,
I made some changes to the demo based on the discusions in the talk TW forum. Now the modal search edit option works ok.
https://multicolumn-krystal.tiddlyhost.com/#Search%20modal%20button
Hey, that looks really good !
Hi Charlie,
I want to edit this tKwm template such that the modal which opens when I click on the links show the editor shown in the image given below - I have named it as âEditor for modal searchâ
I think I have to modify this part of the tKwm template.
<$action-sendmessage
$message=âtm-modalâ
$param={{{ [!is[missing]] [uppercase[]!is[missing]] +[first[]] }}}
template=âKeyword Viewerâ />
But where and how to add the template (Editor for modal search)
Arun.
Yup, thatâs what you want to change.
Get rid of the "template=âKeyword Viewerâ line.
Setup $param=âEditor for modal searchâ
If you want the Editor for modal search to get some kind of parameter related to whatever the tKwm link, then as per https://tiddlywiki.com/#WidgetMessage%3A%20tm-modal, setup some parameter without a dollar sign.
So if you add a parameter called âthis_tiddlerâ, you might have this_tiddler=<> .
In Editor for modal search, you have access to this parameter without having to do anything else. All you have to do is refer to <<this_tiddler>>.
Hi Charlie,
Can you take a look at this demo.
https://multicolumn-krystal.tiddlyhost.com/
Click on the tKwm link in the topbar to see all relevant tiddlers and demo.
Arun.
Holy moly, that TiddlyWiki looks spectacular.
I missed one point. New template (tKwn) I made is not working as intended - here is the link for it - https://multicolumn-krystal.tiddlyhost.com/#tKwn
I am not able to get the âeditor for modal searchâ for the current tiddler within the modal.
I had written earlier:
Yup, thatâs what you want to change.
Get rid of the "template=âKeyword Viewerâ line.
Setup $param=âEditor for modal searchâ
If you want the Editor for modal search to get some kind of parameter related to whatever the tKwm link, then as per https://tiddlywiki.com/#WidgetMessage%3A%20tm-modal, setup some parameter without a dollar sign.
So if you add a parameter called âthis_tiddlerâ, you might have this_tiddler=<> .
In Editor for modal search, you have access to this parameter without having to do anything else. All you have to do is refer to <<this_tiddler>>.
It would probably be a good idea for you to play with empty.html and experiment with modals to make sense of things.
Once you understand how modals work, the following will make more sense if it seemse like gibberish now:
<$action-sendmessage $message=âtm-modalâ $param=âEditor for modal searchâ this_tiddler=<> />
Nothing to add in Editor for modal search. In that tiddler, you can now use <<this_tiddler>> as the reference for whatever happens to be the current tiddler (i.e. the one that brought up the âEditor for modal searchâ tiddler as a modal.)