One more thing to look forward to in Plone 4 :)

On Mon, Sep 1, 2008 at 8:16 AM, Gilles Lenfant <[EMAIL PROTECTED]
> wrote:

>
> Le 31 août 08 à 16:41, David Bain a écrit :
>
>
>  I've registered two extension profiles in my profiles.zcml. While both of
>> them showup under portal_setup > import, only the first one is available via
>> quickinstaller.
>> Is there a way to make both available?
>>
>> Below is my profiles.zcml file
>>
>> <configure
>>    xmlns="http://namespaces.zope.org/zope";
>>    xmlns:genericsetup="http://namespaces.zope.org/genericsetup";
>>    i18n_domain="hey.now">
>>
>>  <genericsetup:registerProfile
>>      name="default"
>>      title="Cool Theme"
>>      directory="profiles/default"
>>      description='Extension profile for the "The Cool Theme" Plone theme.'
>>      provides="Products.GenericSetup.interfaces.EXTENSION"
>>      />
>>  <genericsetup:registerProfile
>>      name="test"
>>      title="The Cool Theme 2"
>>      directory="profiles/test"
>>      description='New profile as an experiment, footer not hidden'
>>      provides="Products.GenericSetup.interfaces.EXTENSION"
>>
>
>
> Hi,
>
> If the only purpose of the second profile is to provide resources for test
> cases, you'd better mark it with...
>
>      for="Products.CMFPlone.interfaces.ITestCasePloneSiteRoot"
>
> ... and change your tests setup accordingly in the setupPloneSite(...).
> i.e.
>
> setupPloneSite(products=['your.product'],
> extension_profiles=['profiles-your.product:test'])
>
> (not sure I'm showing the real API, check this ;)
>
> Otherwise, speaking of your issue, its fix is postponed to Plone 4
>
> https://dev.plone.org/plone/ticket/8263
>
> Hope this helped...
> --
> Gilles Lenfant
> INGENIWEB (TM) - SAS 50000 Euros - RC B 438 725 632
> Bureaux de la Colline
> 1 rue Royal
> 92210 Saint Cloud - France
> Phone : 01 78 15 24 00 / Fax : 01 46 02 44 04
> web : www.ingeniweb.com - une société du groupe Alter Way
>
>
>
>
>
>
>
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to