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.16120.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(0x3dbbf90)') 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(0x3da6cb0)', 'Foswiki=HASH(0x2e38e20)', 'HASH(0x3ceed58)') 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(0x3db48f8)', 'System', 'Foswiki::Iterator::FilterIterator=HASH(0x3da6cb0)', 'Foswiki=HASH(0x2e38e20)', 'HASH(0x3ceed58)') 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(0x3db48f8)', 'Foswiki::Iterator::FilterIterator=HASH(0x3da6cb0)', 'Foswiki=HASH(0x2e38e20)', 'HASH(0x3ceed58)') 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(0x2ea4948)', 'Foswiki::Search::Node=HASH(0x3db48f8)', 'Foswiki::Iterator::FilterIterator=HASH(0x3da6cb0)', 'Foswiki=HASH(0x2e38e20)', 'HASH(0x3ceed58)') 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(0x2ea4948)', 'Foswiki::Search::Node=HASH(0x3db48f8)', 'System', 'Foswiki::Iterator::FilterIterator=HASH(0x3da6cb0)', 'Foswiki=HASH(0x2e38e20)', 'HASH(0x3ceed58)') 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(0x3d61fd0)', 'System', undef, 'Foswiki=HASH(0x2e38e20)', 'HASH(0x3ce66a0)') 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(0x3d61fd0)', undef, 'Foswiki=HASH(0x2e38e20)', 'HASH(0x3ce66a0)') 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(0x2ea4948)', 'Foswiki::Query::Node=HASH(0x3d61fd0)', undef, 'Foswiki=HASH(0x2e38e20)', 'HASH(0x3ce66a0)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Meta.pm line 839 Foswiki::Meta::query('Foswiki::Query::Node=HASH(0x3d61fd0)', undef, 'HASH(0x3ce66a0)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Search.pm line 352 Foswiki::Search::searchWeb('Foswiki::Search=HASH(0x3c58d88)', '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(0x3c2be60)', 'HASH(0x3c59370)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Macros/SEARCH.pm line 41 Foswiki::SEARCH('Foswiki=HASH(0x2e38e20)', 'Foswiki::Attrs=HASH(0x3c2c040)', 'Foswiki::Meta=HASH(0x3c453b0)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 3145 Foswiki::_expandMacroOnTopicRendering('Foswiki=HASH(0x2e38e20)', 'SEARCH', '\x{a} "parent.name=\'TwistyPlugin\'"\x{a} type="query"\x{a} topic="Var...', 'Foswiki::Meta=HASH(0x3c453b0)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 3021 Foswiki::_processMacros('Foswiki=HASH(0x2e38e20)', '%SEARCH{\x{a} "parent.name=\'TwistyPlugin\'"\x{a} type="query"\x{a} to...', 'CODE(0x2d994a8)', 'Foswiki::Meta=HASH(0x3c453b0)', 16) called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 2818 Foswiki::innerExpandMacros('Foswiki=HASH(0x2e38e20)', 'SCALAR(0x3c3a130)', 'Foswiki::Meta=HASH(0x3c453b0)') 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(0x3c2b4e8)', 'HASH(0x3c2bc20)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Macros/INCLUDE.pm line 348 Foswiki::INCLUDE('Foswiki=HASH(0x2e38e20)', 'Foswiki::Attrs=HASH(0x3c1a8a8)', 'Foswiki::Meta=HASH(0x3740408)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 3145 Foswiki::_expandMacroOnTopicRendering('Foswiki=HASH(0x2e38e20)', 'INCLUDE', '"VarTWISTY" section="related" includingtopic="VarTWISTYBUTTON"', 'Foswiki::Meta=HASH(0x3740408)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 3021 Foswiki::_processMacros('Foswiki=HASH(0x2e38e20)', '\x{a}#VarTWISTYBUTTON\x{a}---+++ TWISTYBUTTON\x{a}*Shorthand version for ...', 'CODE(0x2d994a8)', 'Foswiki::Meta=HASH(0x3740408)', 16) called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 2818 Foswiki::innerExpandMacros('Foswiki=HASH(0x2e38e20)', 'SCALAR(0x2da8760)', 'Foswiki::Meta=HASH(0x3740408)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 3327 Foswiki::expandMacros('Foswiki=HASH(0x2e38e20)', '\x{a}#VarTWISTYBUTTON\x{a}---+++ TWISTYBUTTON\x{a}*Shorthand version for ...', 'Foswiki::Meta=HASH(0x3740408)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Meta.pm line 3103 Foswiki::Meta::expandMacros('Foswiki::Meta=HASH(0x3740408)', '\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(0x3740408)', 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(0x2e38e20)') 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(0x2472c30)', 'HASH(0x2e38a00)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/UI.pm line 435 Foswiki::UI::_execute('Foswiki::Request=HASH(0x2e12408)', 'CODE(0x2e11f58)', '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(0x2e12408)') 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(0x27bfc38)') 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