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.13654.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(0x22ef0d0)') 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(0x22d9d10)', 'Foswiki=HASH(0x136be20)', 'HASH(0x2221e88)') 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(0x22e7a38)', 'System', 'Foswiki::Iterator::FilterIterator=HASH(0x22d9d10)', 'Foswiki=HASH(0x136be20)', 'HASH(0x2221e88)') 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(0x22e7a38)', 'Foswiki::Iterator::FilterIterator=HASH(0x22d9d10)', 'Foswiki=HASH(0x136be20)', 'HASH(0x2221e88)') 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(0x13d7948)', 'Foswiki::Search::Node=HASH(0x22e7a38)', 'Foswiki::Iterator::FilterIterator=HASH(0x22d9d10)', 'Foswiki=HASH(0x136be20)', 'HASH(0x2221e88)') 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(0x13d7948)', 'Foswiki::Search::Node=HASH(0x22e7a38)', 'System', 'Foswiki::Iterator::FilterIterator=HASH(0x22d9d10)', 'Foswiki=HASH(0x136be20)', 'HASH(0x2221e88)') 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(0x2295110)', 'System', undef, 'Foswiki=HASH(0x136be20)', 'HASH(0x22197d0)') 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(0x2295110)', undef, 'Foswiki=HASH(0x136be20)', 'HASH(0x22197d0)') 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(0x13d7948)', 'Foswiki::Query::Node=HASH(0x2295110)', undef, 'Foswiki=HASH(0x136be20)', 'HASH(0x22197d0)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Meta.pm line 839 Foswiki::Meta::query('Foswiki::Query::Node=HASH(0x2295110)', undef, 'HASH(0x22197d0)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Search.pm line 352 Foswiki::Search::searchWeb('Foswiki::Search=HASH(0x218be88)', '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(0x215ef40)', 'HASH(0x218c470)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Macros/SEARCH.pm line 41 Foswiki::SEARCH('Foswiki=HASH(0x136be20)', 'Foswiki::Attrs=HASH(0x215f120)', 'Foswiki::Meta=HASH(0x21784b0)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 3145 Foswiki::_expandMacroOnTopicRendering('Foswiki=HASH(0x136be20)', 'SEARCH', '\x{a} "parent.name=\'TwistyPlugin\'"\x{a} type="query"\x{a} topic="Var...', 'Foswiki::Meta=HASH(0x21784b0)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 3021 Foswiki::_processMacros('Foswiki=HASH(0x136be20)', '%SEARCH{\x{a} "parent.name=\'TwistyPlugin\'"\x{a} type="query"\x{a} to...', 'CODE(0x12cc4a8)', 'Foswiki::Meta=HASH(0x21784b0)', 16) called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 2818 Foswiki::innerExpandMacros('Foswiki=HASH(0x136be20)', 'SCALAR(0x216d1b0)', 'Foswiki::Meta=HASH(0x21784b0)') 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(0x215e5c8)', 'HASH(0x215ed00)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Macros/INCLUDE.pm line 348 Foswiki::INCLUDE('Foswiki=HASH(0x136be20)', 'Foswiki::Attrs=HASH(0x214d928)', 'Foswiki::Meta=HASH(0x1c73308)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 3145 Foswiki::_expandMacroOnTopicRendering('Foswiki=HASH(0x136be20)', 'INCLUDE', '"VarTWISTY" section="related" includingtopic="VarTWISTYBUTTON"', 'Foswiki::Meta=HASH(0x1c73308)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 3021 Foswiki::_processMacros('Foswiki=HASH(0x136be20)', '\x{a}#VarTWISTYBUTTON\x{a}---+++ TWISTYBUTTON\x{a}*Shorthand version for ...', 'CODE(0x12cc4a8)', 'Foswiki::Meta=HASH(0x1c73308)', 16) called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 2818 Foswiki::innerExpandMacros('Foswiki=HASH(0x136be20)', 'SCALAR(0x12db760)', 'Foswiki::Meta=HASH(0x1c73308)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 3327 Foswiki::expandMacros('Foswiki=HASH(0x136be20)', '\x{a}#VarTWISTYBUTTON\x{a}---+++ TWISTYBUTTON\x{a}*Shorthand version for ...', 'Foswiki::Meta=HASH(0x1c73308)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Meta.pm line 3103 Foswiki::Meta::expandMacros('Foswiki::Meta=HASH(0x1c73308)', '\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(0x1c73308)', 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(0x136be20)') 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(0x9a5c30)', 'HASH(0x136ba00)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/UI.pm line 435 Foswiki::UI::_execute('Foswiki::Request=HASH(0x1345408)', 'CODE(0x1344f58)', '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(0x1345408)') 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(0xcf2c38)') 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