Thanks a lot, MyProject is very interesting even though i do not
understand everything inside yet :(
Correct me if i am wrong:
1. when i want to create a product that use the features of CPS, it's
better to create an extension, rather than writing codes directly in
CPSDefault?
2. But to create such an extension, i can use an instance of CPS Default
site to build easily new document type, then export the xml files into
my new product?

3. other question : what are python files getCustomDocumentXXX.py in
CPSDocument/skins/cps_document for? can they be used to create new
document types for a new product? if yes do you recommend it?

Sorry for bothering and thank you for answering.

Olivier Grisel a écrit :
> Alpha Dia a écrit :
> 
>> Thanks for these answers!
>> If i create new document types (type,layout,schema), and i export them
>> as XML files and put them to right place in profiles directory, will i
>> have these type of document if i instanciate a new cps site?
>>
> 
> Yes if the "right place" is registered as a profile directory in the
> __init__.py file of your product.
> 
> You can have a look at the sample configuration product MyProject for a
> example on how to build your own profile in you own integration product.
> 
> It is available through svn (no package yet cause it's not complete yet):
> 
> $ cd Products
> $ svn co https://svn.nuxeo.org/pub/CPS3/examples/MyProject/trunk MyProject
> 
> Do not forget to start by reading this:
> 
> http://svn.nuxeo.org/trac/pub/browser/CPS3/examples/MyProject/trunk/README.txt
> 
> 

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

Reply via email to