Re: [Product-Developers] how do I get configuration from buildout in my plone products?

2011-05-26 Thread Steve McMahon
This looks like an issue that could be better addressed on stackoverflow or the product-developers list. On Thu, May 26, 2011 at 1:33 PM, Noe Nieto wrote: > how do I get configuration from buildout in my plone products? > > > ___ Product-Developers mai

Re: [Product-Developers] Offline bootstrap.py

2011-07-28 Thread Steve McMahon
Try adding "buildout:install-from-cache=true" to your buildout command line. The installers are a good source of solutions for this problem, as they need to be able to run offline. On Thu, Jul 28, 2011 at 1:53 AM, Gilles Lenfant wrote: > Hi, > > This is perhaps not the most suited ML for asking

Re: [Product-Developers] plone.app.jquerytools, disabled scripts in js registry, profile deps: stop the madness!

2011-08-25 Thread Steve McMahon
Hi Sean, Why don't you go ahead and open a ticket for this (component: javascript). I think you're right that this is a mess, and a ticket will give us a place to work through a better solution. Steve On Thu, Aug 25, 2011 at 1:45 PM, Sean Upton wrote: > Okay, so I am trying to figure my way th

Re: [Product-Developers] Serving locale-specific JavaScript resources

2011-09-15 Thread Steve McMahon
Hi Sean, Why not just include locale-specific information in the original HTML view? Hide it it if it isn't meant for immediate display, then grab it with js when you need it. Steve On Thu, Sep 15, 2011 at 10:26 AM, Sean Upton wrote: > I am polling this list for ideas other add-on developers m

Re: [Product-Developers] PloneIDE

2011-10-22 Thread Steve McMahon
We all look forward to seeing you! On Sat, Oct 22, 2011 at 11:00 AM, Franco Pellegrini wrote: > Hi guys, that's right... i was waiting until i actually got my > passport back with the visa, to tell you that everything was great, > but yes, at least they told me i was approved. > I need to go back

Re: [Product-Developers] Plone string encoding problem

2011-12-22 Thread Steve McMahon
There's a good chance that your real problem is coming when you try to write to MySQL. Somewhere in the process of doing that, you're trying to pass an object type that's not understood by the interface (to MySQL), and it's getting converted to a string representation. On Thu, Dec 22, 2011 at 2:44

Re: [Product-Developers] [JS/Plone 4.2] How to register onload handlers properly?

2012-04-18 Thread Steve McMahon
Is it possible that it's just the "$" convention that's fouling you up? Plone components should not depend on the $ alias. A safer method to do a ready function that includes aliasing: jQuery( function($) { /* some code that uses $ */ }); See http://plone.org/documentation/manual/developer-

Re: [Product-Developers] Licensing of Plone addons

2013-01-25 Thread Steve McMahon
The FAQ is pretty good on these issues. To quote from it: """ *Must add-on products for Plone be licensed under the GPL?* In most cases, yes. The GPL covers any "derivative works" of Plone, and defines these derivative works as those which:

Re: [Product-Developers] prepOverlay destination

2013-02-08 Thread Steve McMahon
You should suspect that your form selector isn't identifying the form. If it doesn't, the form submission is a post rather than an ajax post. So, you end up at the action page. On Thu, Feb 7, 2013 at 10:46 PM, Serge Renfer wrote: > Hi there, > > I have the following problem : > > >- I want t

Re: [Product-Developers] prepOverlay destination

2013-02-08 Thread Steve McMahon
rce, from the non-overlay edit page (extract around the head of the > form): > > action=" > http://dev.ageliaco.org:9002/rd/projets-rd/didactique-de-lexpression-francaise/2010/catherine.polli/@@edit"; > method="post" id="form" enctype="multipart/form

Re: [Product-Developers] five.grok no automatic static ressource

2013-02-26 Thread Steve McMahon
Just chatted with davisagli on #plone and he's going to check to see if the static resources change is accidental or intentional. However, the need to specify grok and relations options is intentional. The Framework Team wanted to bring Dexterity into Plone, but didn't want to bless grok into core

Re: [Product-Developers] Generating the Dexterity boilerplate for Plone 4.3

2013-05-25 Thread Steve McMahon
Templer is a work in progress. Until it is further along, ZopeSkel is the stable solution. ZopeSkel works with 4.3, and zopeskel.dexterity has been updated for 4.3. On Fri, May 24, 2013 at 10:14 PM, ajung wrote: > ... > The official way for generating the boilerplate code > seems(?!) to be https

Re: [Product-Developers] Generating the Dexterity boilerplate for Plone 4.3

2013-05-25 Thread Steve McMahon
On Sat, May 25, 2013 at 8:48 AM, Nathan Van Gheem wrote: > What is shipped with the installer and referenced in the docs? I assume > it's still zopeskel? > Yes. The Dexterity Developer Manual explicitly warns against templer and recommends a version of zopeskel. The develop.cfg shipped with the

Re: [Product-Developers] Generating the Dexterity boilerplate for Plone 4.3

2013-05-25 Thread Steve McMahon
On Sat, May 25, 2013 at 6:48 AM, ajung wrote: > Bringing the discussion back to facts. > > The documentation > > > http://dexterity-developer-manual.readthedocs.org/en/latest/schema-driven-types.html > > uses form.schema (from plone.directives as base class) for the schema. > > This is not workin

Re: [Product-Developers] Generating the Dexterity boilerplate for Plone 4.3

2013-05-28 Thread Steve McMahon
erall situation. On Tue, May 28, 2013 at 1:04 AM, Dylan Jay wrote: > On 28/05/2013, at 5:05 PM, "David Glick (Plone)" > wrote: > > > On 5/27/13 11:46 PM, ajung wrote: > >> David Glick (Plone) wrote > >>> Thanks for pointing out some specific places w

[Product-Developers] Add-on Issue Trackers on Plone.Org: Must Migrate

2013-09-27 Thread Steve McMahon
Plone Add-on/Product Developers, The plone.org team is working on a new design for plone.org. That design will likely be implemented as a clean new site with selective migration of content from the old plone.org. Issue trackers for add-on products will NOT be migrated to the new plone.org. POI, t

Re: [Product-Developers] Add-on Issue Trackers on Plone.Org: Must Migrate

2013-09-28 Thread Steve McMahon
> Hi Steve, > > Op 27-09-13 17:09, Steve McMahon schreef: > >> Plone Add-on/Product Developers, >> >> The plone.org <http://plone.org> team is working on a new design for >> plone.org <http://plone.org>. That design will likely be implemented as >>

Re: [Product-Developers] Updating schema in dexterity : how to update existing objects

2013-10-31 Thread Steve McMahon
The basic answer is that you typically don't need to worry about it beyond making sure you set a reasonable default in the declaration. After that, the only thing you really need to do is have some defensive coding in anything that tries to use the attribute (like a template) to do something reaso

Re: [Product-Developers] Updating schema in dexterity : how to update existing objects

2013-10-31 Thread Steve McMahon
t (without that >property, from the previous schema) >- or generating the default value for it for that object > > Or is it that I have to override the default view to have my own template > that check properties on the object to show only the ones this object has? > >

Re: [Product-Developers] RFC: Venusian-based Python-syntax alternative for ZCML-configuration

2014-01-04 Thread Steve McMahon
I like this a lot. It allows us to get configuration into Python without being as magical as grok. One thing I particularly like: knowledge of zcml would easily map to this -- and back! That would make it great for teaching. On Fri, Jan 3, 2014 at 12:17 AM, Asko Soukka wrote: > Hi, > > last ye

Re: [Product-Developers] Resume old 3.1.7

2014-02-10 Thread Steve McMahon
https://launchpad.net/plone/3.1/3.1.7/+download/Plone-3.1.7-UnifiedInstaller.tgzincludes all the Zope and Plone source. On Mon, Feb 10, 2014 at 4:02 AM, SauZheR wrote: > Hi all, > I need to resume an old plone 3.1.7 project. > > Most of the needed tarballs hosted in plone.org now have 0 sized d