PerlDoc

See PublishedAPI for packages intended to be used by Plugin and Contrib authors, or browse all packages.
See also Developing plugins, Developer's Bible, Technical Overview


Parent package: Foswiki::Plugins
Child packages:

    internal package ExtendedWebListPlugin

    NOTE: When writing handlers, keep in mind that these may be invoked on included topics. For example, if a plugin generates links to the current topic, these need to be generated before the afterCommonTagsHandler is run, as at that point in the rendering loop we have lost the information that we the text had been included from another topic.

    initPlugin($topic, $web, $user, $installWeb) → $boolean

    • $topic - the name of the topic in the current CGI query
    • $web - the name of the web in the current CGI query
    • $user - the login name of the user
    • $installWeb - the name of the web the plugin is installed in

    REQUIRED

    Called to initialise the plugin. If everything is OK, should return a non-zero value. On non-fatal failure, should write a message using Foswiki::Func::writeWarning and return 0. In this case
    PluginErrors
    TWikiCompatibilityPlugin
    none
    SpreadSheetPlugin
    none
    SlideShowPlugin
    none
    AttachmentListPlugin
    none
    AutoTemplatePlugin
    none
    AutoViewTemplatePlugin
    none
    BreadCrumbsPlugin
    none
    CommentPlugin
    none
    CompareRevisionsAddonPlugin
    none
    ConfigurePlugin
    none
    DBCachePlugin
    none
    DiffPlugin
    none
    EditRowPlugin
    none
    EditTablePlugin
    none
    ExtendedWebListPlugin
    none
    FilterPlugin
    none
    FlexFormPlugin
    none
    FlexWebListPlugin
    none
    GridLayoutPlugin
    none
    HistoryPlugin
    none
    HomePagePlugin
    none
    ImagePlugin
    none
    InterwikiPlugin
    none
    JQueryPlugin
    none
    ListyPlugin
    none
    MailerContribPlugin
    none
    MathModePlugin
    none
    MetaDataPlugin
    none
    MimeIconPlugin
    none
    MoreFormfieldsPlugin
    none
    MultiLingualPlugin
    none
    NatEditPlugin
    none
    NatSkinPlugin
    none
    PreferencesPlugin
    none
    PubLinkFixupPlugin
    none
    RedDotPlugin
    none
    RenderListPlugin
    none
    RenderPlugin
    none
    SmiliesPlugin
    none
    SubscribePlugin
    none
    TablePlugin
    none
    TinyMCEPlugin
    none
    TopicDataHelperPlugin
    none
    TopicInteractionPlugin
    none
    TopicTitlePlugin
    none
    TwistyPlugin
    none
    UpdatesPlugin
    none
    WebCreatorPlugin
    none
    WebLinkPlugin
    none
    WebPermissionsPlugin
    none
    WysiwygPlugin
    none
    HandlerPlugins
    afterAttachmentSaveHandlerDBCachePlugin
    This handler is deprecated - please check for updated versions of the plugins that use it!
    afterUploadHandlerDBCachePlugin
    MoreFormfieldsPlugin
    TopicInteractionPlugin
    afterCommonTagsHandlerTablePlugin
    TopicInteractionPlugin
    afterEditHandlerMoreFormfieldsPlugin
    WysiwygPlugin
    afterRenameHandlerDBCachePlugin
    FlexWebListPlugin
    ImagePlugin
    MoreFormfieldsPlugin
    TopicTitlePlugin
    afterSaveHandlerDBCachePlugin
    FlexWebListPlugin
    ImagePlugin
    MoreFormfieldsPlugin
    beforeCommonTagsHandlerEditTablePlugin
    NatSkinPlugin
    PreferencesPlugin
    WysiwygPlugin
    beforeEditHandlerMoreFormfieldsPlugin
    NatEditPlugin
    TinyMCEPlugin
    WysiwygPlugin
    beforeMergeHandlerWysiwygPlugin
    beforeSaveHandlerMetaDataPlugin
    MoreFormfieldsPlugin
    MultiLingualPlugin
    TopicTitlePlugin
    WebPermissionsPlugin
    WysiwygPlugin
    beforeUploadHandlerTopicInteractionPlugin
    commonTagsHandlerSpreadSheetPlugin
    SlideShowPlugin
    CompareRevisionsAddonPlugin
    DiffPlugin
    EditRowPlugin
    EditTablePlugin
    FilterPlugin
    ImagePlugin
    MathModePlugin
    completePageHandlerFlexFormPlugin
    NatSkinPlugin
    earlyInitPluginTWikiCompatibilityPlugin
    endRenderingHandlerNatSkinPlugin
    This handler is deprecated - please check for updated versions of the plugins that use it!
    finishPluginAutoTemplatePlugin
    BreadCrumbsPlugin
    DBCachePlugin
    DiffPlugin
    FilterPlugin
    FlexFormPlugin
    FlexWebListPlugin
    GridLayoutPlugin
    ImagePlugin
    JQueryPlugin
    ListyPlugin
    MathModePlugin
    MetaDataPlugin
    MimeIconPlugin
    MoreFormfieldsPlugin
    MultiLingualPlugin
    NatSkinPlugin
    RenderPlugin
    TopicInteractionPlugin
    TopicTitlePlugin
    UpdatesPlugin
    WebCreatorPlugin
    WebLinkPlugin
    initPluginTWikiCompatibilityPlugin
    SpreadSheetPlugin
    SlideShowPlugin
    AttachmentListPlugin
    AutoTemplatePlugin
    AutoViewTemplatePlugin
    BreadCrumbsPlugin
    CommentPlugin
    CompareRevisionsAddonPlugin
    ConfigurePlugin
    DBCachePlugin
    DiffPlugin
    EditRowPlugin
    EditTablePlugin
    ExtendedWebListPlugin
    FilterPlugin
    FlexFormPlugin
    FlexWebListPlugin
    GridLayoutPlugin
    HistoryPlugin
    HomePagePlugin
    ImagePlugin
    InterwikiPlugin
    JQueryPlugin
    ListyPlugin
    MailerContribPlugin
    MathModePlugin
    MetaDataPlugin
    MimeIconPlugin
    MoreFormfieldsPlugin
    MultiLingualPlugin
    NatEditPlugin
    NatSkinPlugin
    PreferencesPlugin
    PubLinkFixupPlugin
    RedDotPlugin
    RenderListPlugin
    RenderPlugin
    SmiliesPlugin
    SubscribePlugin
    TablePlugin
    TinyMCEPlugin
    TopicDataHelperPlugin
    TopicInteractionPlugin
    TopicTitlePlugin
    TwistyPlugin
    UpdatesPlugin
    WebCreatorPlugin
    WebLinkPlugin
    WebPermissionsPlugin
    WysiwygPlugin
    initializeUserHandlerHomePagePlugin
    lateInitPluginJQueryPlugin
    MetaDataPlugin
    modifyHeaderHandlerRenderPlugin
    WysiwygPlugin
    postRenderingHandlerEditRowPlugin
    EditTablePlugin
    MathModePlugin
    PreferencesPlugin
    WysiwygPlugin
    preRenderingHandlerInterwikiPlugin
    RenderListPlugin
    SmiliesPlugin
    TablePlugin
    renderWikiWordHandlerTWikiCompatibilityPlugin
    TopicTitlePlugin
    51 plugins

    will indicate which plugins failed.

    In the case of a catastrophic failure that will prevent the whole installation from working safely, this handler may use 'die', which will be trapped and reported in the browser.

    You may also call Foswiki::Func::registerTagHandler here to register a function to handle variables that have standard TWiki syntax - for example, =%MYTAG{"my param" myarg="My Arg"}%. You can also override internal TWiki variable handling functions this way, though this practice is unsupported and highly dangerous!

    Note: Please align variables names with the Plugin name, e.g. if your Plugin is called FooBarPlugin, name variables FOOBAR and/or FOOBARSOMETHING. This avoids namespace issues.

    Topic revision: r1 - 18 Dec 2024, UnknownUser
    This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
    Ideas, requests, problems regarding Foswiki? Send feedback