On Wed, Mar 21, 2012 at 4:33 PM, Chris Nelson <chris.nel...@sixnet.com>wrote:
> On 03/21/2012 03:15 PM, Peter Suter wrote: > >> On 21.03.2012 19:36, Chris Nelson wrote: > > [...] > ... >> >> Based on the rest of your description, I would have thought >> ExtensionOption is exactly what you want: >> >> task_sorter = ExtensionOption('trac-jsgantt'**, 'task_sorter', >> ITaskSorter, >> 'DefaultTaskSorter', >> """Name of the component implementing `ITaskSorter`, which is used >> for sorting tasks.""") >> ... >> theSorter = task_sorter >> ... >> That's how it usually works in Trac. Are you sure this does not fit your >> needs? Why not? >> > > > I can and have done that as I've experimented but that requires a user to > edit trac.ini to choose. What I want is for them to enable the component > they want in the web admin. > > You get that feature OOTB if you use Trac IniAdminPlugin ... ;) -- Regards, Olemis Facebook => http://www.facebook.com/olemis Twitter => http://www.twitter.com/olemislc (@olemislc) Blog ES => http://simelo-es.blogspot.com Blog EN => http://simelo-en.blogspot.com Quora => http://www.quora.com/olemis Youtube => http://youtube.com/user/greatsoftw Get a signature like this. <http://r1.wisestamp.com/r/landing?promo=17&dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_17> CLICK HERE.<http://r1.wisestamp.com/r/landing?promo=17&dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_17> -- You received this message because you are subscribed to the Google Groups "Trac Development" group. To post to this group, send email to trac-dev@googlegroups.com. To unsubscribe from this group, send email to trac-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en.