Re: [twdev] Re: How to build a settings panel for a plugin

2019-02-14 Thread Mohammad Rahmani
Thank you! Added to TW-Scripts On Friday, February 15, 2019 at 10:32:28 AM UTC+3:30, stefano franchi wrote: > > > > On Fri, Feb 15, 2019 at 12:04 AM Mohammad Rahmani > wrote: > >> Stefano, >> Could you please bruch up the procedure based on the received comments. >> I would like to add it to

Re: [twdev] Re: How to build a settings panel for a plugin

2019-02-14 Thread stefano franchi
On Fri, Feb 15, 2019 at 12:04 AM Mohammad Rahmani < mohammad.rahm...@gmail.com> wrote: > Stefano, > Could you please bruch up the procedure based on the received comments. I > would like to add it to TW-Scripts. > > Well, there isn't much to write up. As always the solution is simple once it's

Re: [twdev] Re: How to build a settings panel for a plugin

2019-02-14 Thread Mohammad Rahmani
Stefano, Could you please bruch up the procedure based on the received comments. I would like to add it to TW-Scripts. Cheers Mohammad On Friday, February 15, 2019 at 1:42:32 AM UTC+3:30, stefano franchi wrote: > > > > On Thu, Feb 14, 2019 at 2:49 PM Matthew Lauber > wrote: > >> That should

Re: [twdev] Re: How to build a settings panel for a plugin

2019-02-14 Thread stefano franchi
On Thu, Feb 14, 2019 at 2:49 PM Matthew Lauber wrote: > That should be correct. Keep in mind, in the list field, the file will be > named "readme" but the shadow tiddler needs to be named > "$:/plugins/yourName/yourPlugin/readme" > > My bad. I was using an overly complicated naming scheme and

[twdev] Re: How to build a settings panel for a plugin

2019-02-14 Thread Matthew Lauber
That should be correct. Keep in mind, in the list field, the file will be named "readme" but the shadow tiddler needs to be named "$:/plugins/yourName/yourPlugin/readme" Matt On Thursday, February 14, 2019 at 2:01:08 PM UTC-5, stefano franchi wrote: > > > > On Wed, Feb 13, 2019 at 11:30 PM

[twdev] Re: How to build a settings panel for a plugin

2019-02-14 Thread stefano franchi
On Wed, Feb 13, 2019 at 11:30 PM stefano franchi wrote: > Never mind again, got it from the Railroad plugin: > > 1. Create the panels the make up the various tabs of the plugin page >> > > In the plugin.info file, add a "list" field with the names of the > panels, then create corresponding

[twdev] Re: How to build a settings panel for a plugin

2019-02-14 Thread PMario
Hi Stefano, New tabs in the ControlPanel can be created, if you add the tag: $:/tags/ControlPanel to your tiddler. Be sure you also add a caption, otherwise the title would be shown in the tab!!! have fun! mario -- You received this message because you are

[twdev] Re: How to build a settings panel for a plugin

2019-02-14 Thread Simon Huber
Hi Stefano, I can provide you some information: * a widget is based on $:/core/modules/widgets/widget.js ... all the methods defined there are also accessible in your widget (and work with values based on your widget, like the refreshSelf method, that works with your parentDomNode defined on

[twdev] Re: How to build a settings panel for a plugin

2019-02-13 Thread stefano franchi
Never mind again, got it from the Railroad plugin: 1. Create the panels the make up the various tabs of the plugin page > In the plugin.info file, add a "list" field with the names of the panels, then create corresponding tiddlers with prefix $:/plugins/yourName/yourPlugin > 2. Create a