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   [EMAIL PROTECTED]


_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to