From hedleyroos at gmail.com Mon May 4 23:32:15 2009 From: hedleyroos at gmail.com (Hedley Roos) Date: Mon, 4 May 2009 23:32:15 +0200 Subject: [Kss-devel] More powerful macroContent methods Message-ID: <776caf8b0905041432l19cc20f4xfedab0632002816f@mail.gmail.com> Hi Balazs and Godefroid I created a branch at https://svn.plone.org/svn/plone/plone.app.kss/branches/hedley-macrocontent . The docstring of the _macroContent method explains what I'm doing in detail. For the impatient: The target is to be able to evaluate macros defined in templates (used by browser views, viewlets and portlets) from a kss view. Currently you can call macroContent only for templates that are traversable, ie. typically page templates that live in the skins directory. The expanded arg spec means it is possible to re-use legacy macros which require a certain context and local variables to be present. Please have a look and provide some feedback. Thanks Hedley From mymir.org at googlemail.com Thu May 28 14:07:27 2009 From: mymir.org at googlemail.com (Vladislav Vorobiev) Date: Thu, 28 May 2009 14:07:27 +0200 Subject: [Kss-devel] Kupu kss plugin | overhead In-Reply-To: References: <604c02230810041842v45fdb7bar6744e9e67a6cef6b@mail.gmail.com> Message-ID: <604c02230905280507h2708e02dx5f717e1db2f0446b@mail.gmail.com> > more people find it useful, it can go to a component on its own. > > http://bazaar.launchpad.net/~kissbooth/kss.plugin.jsmath/trunk/annotate/21?file_id=kss_jsmath.js-20071127201149-79dx2pzwy2ftq08k-32 Thanks, i tryed this code and it works perfectly! It is very useful to keep a kukit.js small and load js code by needed. I integrated this library with the kupu plugin. Vlad