Re: [Tiki-devel] About the plugin
Jonny Bradley via TikiWiki-devel <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.devel |
|---|---|
| Message-ID | <[email protected]> |
Aha, i see, so you want to get the field names for a tracker (depending on the tracker_id i guess). Check out the PluginList GUI where i've attempted to do something similar, the basic data comes from lib/core/Services/Edit/ListPluginHelper.php and is used in lib/jquery_tiki/pluginedit_list.js in the jqueryTiki.plugins.list.fieldsSelector() function. Does that give you somewhere to start? Hope so, jonny > On 7 Jul 2022, at 21:50, Eutyche ODIMBA KOSHE <[email protected]> wrote: > > > I was thinking about the PluginInsert. I would first like to use it better in a local instance and then rewrite the documentation. reading the code i'm not well enlightened since i don't even know the parameters. so i said to myself, if i can get the complete list of extraparameters and add it to the page as a link, it will save time for others who will be using the same plugin > > Le jeu. 7 juil. 2022 à 11:23, Jonny Bradley via TikiWiki-devel <[email protected]> a écrit : >> Hi Eutyche >> >> Nice to see you here, welcome! :) >> >> The extraparams parameter, as i understand it is for plugins where it's not possible to define all the possible parameters in advance, for instance for wikiplugin_datachannel, where the parameters depend on a datachannel (which relies on a profile) so will have user-defined params. >> >> In some, like wikiplugin_icon, where different custom icon sets can be used, other unpredictable parameters may be needed (altohugh not often in my experience). >> >> Which ones are you thinking of? >> >> jonny >> >> >> >> >> > On 7 Jul 2022, at 07:55, Eutyche ODIMBA KOSHE <[email protected]> wrote: >> > >> > In the description of the plugin, there is an option : 'extraparams' => true, in my way of understanding I say to myself that it is a plugin that accepts a list of parameters common to the plugin that have this option activated. Then to write a documentation on a plugin that could also serve all the other plugins that are in the same case i would like to have the list of all its parameters. any idea on how to have them? but also is this understanding correct? >> > _______________________________________________ >> > TikiWiki-devel mailing list >> > [email protected] >> > https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel >> >> >> >> _______________________________________________ >> TikiWiki-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel >> >> >> -- >> ODIMBA Eutyche >> project lead >> 2536, Av. Des aviateurs >> Q.Gambela, Lubumbashi >> Tel.: 00 243 85 84 61 087 >> >> >> _______________________________________________ >> TikiWiki-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel > _______________________________________________ TikiWiki-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel