WARNING LocalSite.cfg could not be found (This is normal for a new installation)
This Foswiki is running using a bootstrap configuration worked out by detecting the layout of the installation. To complete the bootstrap process you should either:
  • Restore the missing LocalSite.cfg from a backup, or
  • Complete the new Foswiki installation:

You have been logged in as a temporary administrator. Any requests made to this Foswiki will be treated as requests made by an administrator with full rights Your temporary administrator rights will "stick" until you've logged out from this session.

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::JQueryPlugin
Child packages:

    internal package Foswiki::Plugins::JQueryPlugin

    Container for jQuery and plugins

    PackageMethod init()

    initialize plugin container

    ObjectMethod createPlugin( $pluginName, ... ) → $plugin

    Helper method to establish plugin dependencies. See load().

    ObjectMethod registerPlugin( $pluginName, $class ) → $descriptor

    Helper method to register a plugin.

    ObjectMethod finish

    finalizer

    ObjectMethod load ( $pluginName ) → $plugin

    Loads a plugin and runs its initializer.

    parameters
    • $pluginName: name of plugin

    returns
    • $plugin: returns the plugin object or false if instantiating the plugin failed

    ObjectMethod expandVariables( $format, %params) → $string

    Helper function to expand standard escape sequences $percnt, $nop, $n and $dollar.

    • $format: format string to be expaneded
    • %params: optional hash array containing further key-value pairs to be expanded as well, that is all occurences of $key will be replaced by its value as defined in %params
    • $string: returns the resulting text

    ClassMethod getPlugins () → @plugins

    returns a list of all known plugins

    ClassMethod getRandom () → $integer

    returns a random positive integer between 1 and 10000. this can be used to generate html element IDs which are not allowed to clash within the same html page, even not when it got extended via ajax.

    Topic revision: r1 - 15 Mar 2026, 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