TWiki, hints and tricks
Developing plugins
Set metainfo "TOPICPARENT"
my ( $meta, $text ) = &TWiki::Func::readTopic( 'TWiki', 'TemplateExample' );
&TWiki::Func::writeDebug( "meta: " . $meta->getParent() ); # output "meta: " (not parent set)
$meta->put( 'TOPICPARENT', { 'name' => "Example" } );
&TWiki::Func::writeDebug( "meta: " . $meta->getParent() ); # output "meta: Example"
...
try {
$store->saveTopic( $session->{user}, $webName, $wikiName, $text, $meta, { } );
} catch Error::Simple with {
throw TWiki::OopsException(
'attention',
def => 'save_error',
web => $web,
topic => $topic,
params => [ shift->{-text} ] );
};
Usage
we are using TWiki at work with about 900 users, 9000 topics, 80000 topic views per month.
Some of my colleagues also participate in administrating TWiki and developing enhancements, bug fixing and so on:
Topics I have contributed to:
(sorted in decending date order so that I can see when there's activity)
My Links
My Personal Data
Note: if personal data is being stored using a secret database, then it is only visible to the user and to administrators.
My Personal Preferences
Uncomment preferences variables to activate them (remove the #-sign). Help and details on preferences variables are available in
TWikiPreferences.
- Show tool-tip topic info on mouse-over of WikiWord links, on or off:
- #Set LINKTOOLTIPINFO = off
Related Topics