• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

I wonder if there is a way to disable one of the 2 calls to the javascript file. Its an external file, so fetched from cache, but this could be neater.

AC


This can be solved as soon as TwistyPlugin has a context. -- AC
All plugins have a context; see this bit from SVN:7237 from CC

Item759: Add context ID for all registered plugins, so it's easy to tell if they are installed or not just using a %IF statement

Modified: twiki/branches/DEVELOP/lib/TWiki/Plugin.pm
===================================================================
--- twiki/branches/DEVELOP/lib/TWiki/Plugin.pm  2005-10-31 15:16:56 UTC (rev 7236)
+++ twiki/branches/DEVELOP/lib/TWiki/Plugin.pm  2005-10-31 15:31:59 UTC (rev 7237)
@@ -213,6 +213,7 @@
            }
        }
    }
+    $this->{session}->enterContext( $this->{name}.'Enabled' );
 }

WN


Implemented somewhere down the road. AC

ItemTemplate
Summary PatternSkin plus enabled TwistyPlugin loads TwistyContrib javascript twice
ReportedBy ArthurClemens
AppliesTo Extension
Component PatternSkin
Priority Low
CurrentState Closed
WaitingFor

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r6 - 2005-11-17 - ArthurClemens
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback