How can I access variables such as the name of the current web within a plugin? Statements like
$myweb=&TWiki::Prefs::getPreferencesValue("WEB") or
$myweb=&TWiki::Prefs::getPreferencesValue("MYPLUGIN_WEB") don't work and I could not find an appropriate
get... function in
TWiki::Func.pm.
--
FrankThommen - 04 Mar 2003
The name of the current web and the web where the Plugin is installed are passed to the
initPlugin function and are available in the Plugin as
$web and
$installWeb, respectively.
--
PeterThoeny - 06 Mar 2003