• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.
Plugins can add a context ID in their initPlugin method; but that's not available to Contribs. So there's no easy way to tell if e.g. TwistyContrib or JSCalendarContrib is installed. It would be neat to be able to do this, because it could be used to make skins tolerant of javascript contribs like JSCalendarContrib and TwistyContrib.

Without such a context ID, we have to allow implicit dependencies, such as PatternSkin being dependent on TwistyContrib. IMHO this is OK, because PatternSkin should really be packaged as a contrib and have a DEPENDENCIES requirement for the TwistyContrib.

But it would still be nice to have a context ID. I think.


Undeferred, post Dakar CC

All a plugin needs to do is to require the contrib module. That tells it if it's installed. Discarding.


Summary No way for a contrib to adda context ID
ReportedBy CrawfordCurrie

SVN Range

AppliesTo Engine

Priority Enhancement
CurrentState No Action Required


TargetRelease major

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r5 - 2007-05-20 - TWikiUserMapping_CrawfordCurrie
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback