TWISTYBUTTON

Shorthand version for TWISTYSHOW & TWISTYHIDE This is useful if both the show and the hide button take the same arguments.
  • Supported parameters: all parameters supported by TWISTY, except for noscript and class (only used for 'toggle' content)
  • Parameter differences:
    • mode: button mode defaults to div
  • Syntax: %TWISTYBUTTON{id="myid" ... }%
  • Supported parameters:
    Parameter Value Description Remark
    mode "div" or "span" Specify if the Twisty button will use a <div> or a <span> tag. Note that if the contents contains block elements such as div, mode should be div as well to create valid HTML markup. optional, defaults to <div>
  • Example:
    %TWISTYBUTTON{
        id="myid"
        link="more"
      }%%TWISTYTOGGLE{
        id="myid"
      }%content%ENDTWISTYTOGGLE%
  • Expands as:
    content
  • Related: Could not perform search. Error was: 'tempfile' can't be called as a method at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Sandbox.pm line 506. at /usr/share/perl5/vendor_perl/File/Temp.pm line 1006. File::Temp::tempfile('File::Temp', 'STDERR.27204.XXXXXXXXXX', 'DIR', '/www/sugpo223/cgi-bin/wiki/working/tmp', 'UNLINK', 0) called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Sandbox.pm line 506 Foswiki::Sandbox::sysCommand('Foswiki::Sandbox', '/bin/grep -E -l -H -- %TOKEN|U% %FILES|F%', 'TOKEN', '^%META:TOPICPARENT{.*\bname=\"TwistyPlugin\"', 'FILES', 'ARRAY(0x29480b0)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Store/SearchAlgorithms/Forking.pm line 109 Foswiki::Store::SearchAlgorithms::Forking::search('^%META:TOPICPARENT{.*\bname=\"TwistyPlugin\"', 'System', 'Foswiki::Iterator::FilterIterator=HASH(0x2932cf0)', 'Foswiki=HASH(0x19c4e20)', 'HASH(0x287ae68)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Store/SearchAlgorithms/Forking.pm line 267 Foswiki::Store::SearchAlgorithms::Forking::_webQuery('Foswiki::Search::Node=HASH(0x2940a18)', 'System', 'Foswiki::Iterator::FilterIterator=HASH(0x2932cf0)', 'Foswiki=HASH(0x19c4e20)', 'HASH(0x287ae68)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Store/SearchAlgorithms/Forking.pm line 182 Foswiki::Store::SearchAlgorithms::Forking::query('Foswiki::Search::Node=HASH(0x2940a18)', 'Foswiki::Iterator::FilterIterator=HASH(0x2932cf0)', 'Foswiki=HASH(0x19c4e20)', 'HASH(0x287ae68)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Store/VC/Store.pm line 518 Foswiki::Store::VC::Store::query('Foswiki::Store::RcsLite=HASH(0x1a30948)', 'Foswiki::Search::Node=HASH(0x2940a18)', 'Foswiki::Iterator::FilterIterator=HASH(0x2932cf0)', 'Foswiki=HASH(0x19c4e20)', 'HASH(0x287ae68)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Store/VC/Store.pm line 470 Foswiki::Store::VC::Store::searchInWebMetaData('Foswiki::Store::RcsLite=HASH(0x1a30948)', 'Foswiki::Search::Node=HASH(0x2940a18)', 'System', 'Foswiki::Iterator::FilterIterator=HASH(0x2932cf0)', 'Foswiki=HASH(0x19c4e20)', 'HASH(0x287ae68)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Store/QueryAlgorithms/BruteForce.pm line 192 Foswiki::Store::QueryAlgorithms::BruteForce::_webQuery('Foswiki::Query::Node=HASH(0x28ee0f0)', 'System', undef, 'Foswiki=HASH(0x19c4e20)', 'HASH(0x28727b0)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Store/QueryAlgorithms/BruteForce.pm line 78 Foswiki::Store::QueryAlgorithms::BruteForce::query('Foswiki::Query::Node=HASH(0x28ee0f0)', undef, 'Foswiki=HASH(0x19c4e20)', 'HASH(0x28727b0)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Store/VC/Store.pm line 518 Foswiki::Store::VC::Store::query('Foswiki::Store::RcsLite=HASH(0x1a30948)', 'Foswiki::Query::Node=HASH(0x28ee0f0)', undef, 'Foswiki=HASH(0x19c4e20)', 'HASH(0x28727b0)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Meta.pm line 839 Foswiki::Meta::query('Foswiki::Query::Node=HASH(0x28ee0f0)', undef, 'HASH(0x28727b0)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Search.pm line 352 Foswiki::Search::searchWeb('Foswiki::Search=HASH(0x27e4e88)', 'topic', 'Var*', 'search', 'parent.name=\'TwistyPlugin\'', 'basetopic', 'VarTWISTY', '_RAW', '\x{a} "parent.name=\'TwistyPlugin\'"\x{a} type="query"\x{a} topic="Var...', ...) called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Macros/SEARCH.pm line 32 Foswiki::__ANON__() called at /usr/share/perl5/vendor_perl/Error.pm line 419 eval {...} called at /usr/share/perl5/vendor_perl/Error.pm line 411 Error::subs::try('CODE(0x27b7f40)', 'HASH(0x27e5470)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Macros/SEARCH.pm line 41 Foswiki::SEARCH('Foswiki=HASH(0x19c4e20)', 'Foswiki::Attrs=HASH(0x27b8120)', 'Foswiki::Meta=HASH(0x27d14b0)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 3145 Foswiki::_expandMacroOnTopicRendering('Foswiki=HASH(0x19c4e20)', 'SEARCH', '\x{a} "parent.name=\'TwistyPlugin\'"\x{a} type="query"\x{a} topic="Var...', 'Foswiki::Meta=HASH(0x27d14b0)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 3021 Foswiki::_processMacros('Foswiki=HASH(0x19c4e20)', '%SEARCH{\x{a} "parent.name=\'TwistyPlugin\'"\x{a} type="query"\x{a} to...', 'CODE(0x19254a8)', 'Foswiki::Meta=HASH(0x27d14b0)', 16) called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 2818 Foswiki::innerExpandMacros('Foswiki=HASH(0x19c4e20)', 'SCALAR(0x27c61b0)', 'Foswiki::Meta=HASH(0x27d14b0)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Macros/INCLUDE.pm line 297 Foswiki::__ANON__() called at /usr/share/perl5/vendor_perl/Error.pm line 419 eval {...} called at /usr/share/perl5/vendor_perl/Error.pm line 411 Error::subs::try('CODE(0x27b75c8)', 'HASH(0x27b7d00)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Macros/INCLUDE.pm line 348 Foswiki::INCLUDE('Foswiki=HASH(0x19c4e20)', 'Foswiki::Attrs=HASH(0x27a6928)', 'Foswiki::Meta=HASH(0x22cc308)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 3145 Foswiki::_expandMacroOnTopicRendering('Foswiki=HASH(0x19c4e20)', 'INCLUDE', '"VarTWISTY" section="related" includingtopic="VarTWISTYBUTTON"', 'Foswiki::Meta=HASH(0x22cc308)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 3021 Foswiki::_processMacros('Foswiki=HASH(0x19c4e20)', '\x{a}#VarTWISTYBUTTON\x{a}---+++ TWISTYBUTTON\x{a}*Shorthand version for ...', 'CODE(0x19254a8)', 'Foswiki::Meta=HASH(0x22cc308)', 16) called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 2818 Foswiki::innerExpandMacros('Foswiki=HASH(0x19c4e20)', 'SCALAR(0x1934760)', 'Foswiki::Meta=HASH(0x22cc308)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 3327 Foswiki::expandMacros('Foswiki=HASH(0x19c4e20)', '\x{a}#VarTWISTYBUTTON\x{a}---+++ TWISTYBUTTON\x{a}*Shorthand version for ...', 'Foswiki::Meta=HASH(0x22cc308)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Meta.pm line 3103 Foswiki::Meta::expandMacros('Foswiki::Meta=HASH(0x22cc308)', '\x{a}#VarTWISTYBUTTON\x{a}---+++ TWISTYBUTTON\x{a}*Shorthand version for ...') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/UI/View.pm line 412 Foswiki::UI::View::_prepare('\x{a}#VarTWISTYBUTTON\x{a}---+++ TWISTYBUTTON\x{a}*Shorthand version for ...', 'Foswiki::Meta=HASH(0x22cc308)', 0) called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/UI/View.pm line 392 Foswiki::UI::View::view('Foswiki=HASH(0x19c4e20)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/UI.pm line 316 Foswiki::UI::__ANON__() called at /usr/share/perl5/vendor_perl/Error.pm line 419 eval {...} called at /usr/share/perl5/vendor_perl/Error.pm line 411 Error::subs::try('CODE(0xffec30)', 'HASH(0x19c4a00)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/UI.pm line 435 Foswiki::UI::_execute('Foswiki::Request=HASH(0x199e408)', 'CODE(0x199df58)', 'view', 1) called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/UI.pm line 274 Foswiki::UI::handleRequest('Foswiki::Request=HASH(0x199e408)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Engine/CGI.pm line 41 Foswiki::Engine::CGI::run('Foswiki::Engine::CGI=HASH(0x134bc38)') called
Topic revision: r1 - 20 Sep 2010, ProjectContributor
 

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 Psychologie Kiel? Send feedback