[CPS-devel] Re: CPSSkins skins in extension profiles

Florent Guillaume fg at nuxeo.com
Wed Jan 18 19:46:08 CET 2006


On 17 Jan 2006, at 22:53, Olivier Grisel wrote:
> Olivier Grisel a écrit :
>> Could someone please explain me why they are such things as:
>> '''
>>   <skin-path name="CPSSkins">
>>   <layer name="cps_subscriptions" insert-after="cps_default"/>
>>   <layer name="cps_subscriptions_installer" insert- 
>> after="cps_default"/>
>>  </skin-path>
>>  <skin-path name="CPSSkins-macroless">
>>   <layer name="cps_subscriptions" insert-after="cps_default"/>
>>   <layer name="cps_subscriptions_installer" insert- 
>> after="cps_default"/>
>>  </skin-path>
>> '''
>> in CPSSubscriptions/profiles/default/skins.xml and other extension  
>> profiles?

What's the question exactly? The meaning of insert-after ? The fact  
that it's after cps_default ?

If it's why there's CPSSkins and CPSSkins-macroless, I don't know, I  
just kept the preexisting configuration. Jean-Marc? Do we still need  
both?


> Responding to myself, now I remember there were two skins  
> configurations that are swapped at 'Main Content' Area rendering  
> time (for some complicated reason I did not exactly grasped).
>
> But then, why do we have inset-after="cps_default" and not just  
> inset-after="custom"? Do we expect CPSDefault to overload  
> CPSSubscriptions skins in some way ?

Custom is probably fine. Again, I wanted to mimic the preexisting  
installers and they were doing something like that.

Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)   Director of R&D
+33 1 40 33 71 59   http://nuxeo.com   fg at nuxeo.com




More information about the cps-devel mailing list
More information about CPS: CPS project - CVS - API

Hosting: Nuxeo: Zope service provider


This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.