[Product-Developers] Re: content factories using zope.formlib

Derek Broughton derek at pointerstop.ca
Mon Mar 30 13:11:15 UTC 2009


Jens W. Klein wrote:

> Am Thu, 26 Mar 2009 11:08:32 -0300 schrieb Derek Broughton:
> 
>> I created some content types using collective.tin, and my original
>> version worked near-perfectly, but of course I had to tamper, and now I
>> can't seem to get the content types to show in the "add new..." menu,
>> though using .../+/obiscanada.OBISFolder in the URL gets me the form,
>> and creation works perfectly.
>> 
>> Can somebody please direct me to the documentation about this /+/ syntax
>> in the URLs?  Googling for "+" is self-defeating, and Martin's book
>> doesn't mention it.
>> 
> 
> the + is a traverser from Products.Five.browser.adding, in Plone usally
> bridged by plone.app.content, see also
> 
> http://dev.plone.org/plone/browser/plone.app.content/branches/1.x/plone/
> app/content/browser/configure.zcml#L9

Thanks Jens, and David for explaining that for "a new-style factory ... you
must not set the 'product' attribute of the FTI" [in the types/*.xml].  I
remember adding that (now), but I would never have found it!
-- 
derek





More information about the Product-Developers mailing list