il mio obiettivo รจ quello di creare una struttura direttamente in fase di
installazione di plone.
Leggendo la tua risposta , MOLTO UTILE E GRADITA, credo di aver ottenuto le
informazioni necessarie per poterlo fare (O MEGLIO PER POTERCI PROVARE :-P
).
STO ULTIMANDO UN SITO E CERCO DI VELOCIZZARE IL TUTTO IN MODO DA POTER
INSTALLARE TUTTO L'AMBARADAM IN UN SOL COLPO. 
GRAZIE YURI MI HAI DATO UN GRANDE AIUTO.






Yuri-11 wrote:
> 
> ryuga ha scritto:
>> CIAO A TUTTI,
>> PROVO A SPIEGARMI..
>> VORREI , SE OSSIBILE, CAPIRE DOVE PLONE ALL'ATTO DELL'INSTALLAZIONE CREA
>> I
>> CONTENUTI :
>> - MEMBERS
>> - NEWS 
>> - EVENTS
>>
>> GRAZIE A CHI E' IN ASCOLTO....
>>   
> 
> lo fa il profilo di cmfplone, credo:
> 
> $ pwd
> /home/yurj/progetti/plone/test/zinstance/parts/plone/CMFPlone/profiles/default/structure
> y...@macbook:~/progetti/plone/test/zinstance/parts/plone/CMFPlone/profiles/default/structure$
>  
> ls -l
> totale 12
> -rw-r--r-- 1 yurj yurj 5183  2 ott  2008 front-page
> drwxr-xr-x 2 yurj yurj 4096 20 nov  2008 Members
> 
> y...@macbook:~/progetti/plone/test/zinstance/parts/plone/CMFPlone/profiles/default/structure$
>  
> more .objects
> Members,Large Plone Folder
> front-page,Document
> y...@macbook:~/progetti/plone/test/zinstance/parts/plone/CMFPlone/profiles/default/structure$
>  
> more .preserve
> Members
> front-page
> y...@macbook:~/progetti/plone/test/zinstance/parts/plone/CMFPlone/profiles/default/structure$
>  
> more .properties
> [DEFAULT]
> description =
> title = Portal
> 
> $ cat front-page
> 
> id: front-page
> title: Welcome to Plone
> excludeFromNav: False
> subject:
> description: Congratulations! You have successfully installed Plone.
> contributors:
> effectiveDate: None
> expirationDate: None
> language:
> rights:
> creation_date: 2007/04/02 14:28:30 US/Central
> modification_date: 2007/04/02 14:28:30 US/Central
> relatedItems:
> allowDiscussion: None
> Content-Type: text/html
> 
> <p class="discreet">
> If you're seeing this instead of the web site you were expecting, the 
> owner of
> this web site has just installed Plone. Do not contact the Plone Team
> or the Plone mailing lists about this.
> </p>
> 
> etc etc
> 
> il resto viene fatto nel setuphandler.py
> 
> y...@macbook:~/progetti/plone/test/zinstance/parts/plone/CMFPlone$ grep 
> news setuphandlers.py
>         if 'news' not in existing:
>             news_title = 'News'
>             news_desc = 'Site News'
>                     news_title = util.translate(u'news-title',
>                     news_desc = util.translate(u'news-description',
>             _createObjectByType('Large Plone Folder', p, id='news',
>                                 title=news_title, description=news_desc)
>             _createObjectByType('Topic', p.news, id='aggregator',
>                                 title=news_title, description=news_desc)
>             folder = p.news
>             topic = p.news.aggregator
> 
>>   
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Plone-IT mailing list
>> [email protected]
>> http://lists.plone.org/mailman/listinfo/plone-it
>> http://www.nabble.com/Plone---Italy-f21728.html
> 
> 
> _______________________________________________
> Plone-IT mailing list
> [email protected]
> http://lists.plone.org/mailman/listinfo/plone-it
> http://www.nabble.com/Plone---Italy-f21728.html
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/CREAZIONE-CONTAINER-IN-AUTOMATICO-tp3816333p3816512.html
Sent from the Plone - Italy mailing list archive at Nabble.com.

_______________________________________________
Plone-IT mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/plone-it
http://www.nabble.com/Plone---Italy-f21728.html

Rispondere a