CREAZIONE CONTAINER IN AUTOMATICO

5 messages Options
Embed this post
Permalink
ryuga

CREAZIONE CONTAINER IN AUTOMATICO

Reply Threaded More More options
Print post
Permalink
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....
Vito

Re: CREAZIONE CONTAINER IN AUTOMATICO

Reply Threaded More More options
Print post
Permalink
Ciao,
cosa vuol dire "dove"?? Puoi spiegare il tuo obiettivo - se ti va - così posso(possiamo) darti una mano?

Vito

Il giorno 13 ottobre 2009 16.18, ryuga <[hidden email]> 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....

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


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



--
"Design is the method of putting form and content together. Design, just as art, has multiple definitions; there is no single definition. Design can be art. Design can be aesthetics. Design is so simple, that's why it is so complicated." by Paul Rand

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

Re: CREAZIONE CONTAINER IN AUTOMATICO

Reply Threaded More More options
Print post
Permalink
In reply to this post by ryuga
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
yurj@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

yurj@macbook:~/progetti/plone/test/zinstance/parts/plone/CMFPlone/profiles/default/structure$
more .objects
Members,Large Plone Folder
front-page,Document
yurj@macbook:~/progetti/plone/test/zinstance/parts/plone/CMFPlone/profiles/default/structure$
more .preserve
Members
front-page
yurj@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

yurj@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
> [hidden email]
> http://lists.plone.org/mailman/listinfo/plone-it
> http://www.nabble.com/Plone---Italy-f21728.html


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

Re: CREAZIONE CONTAINER IN AUTOMATICO

Reply Threaded More More options
Print post
Permalink
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
yurj@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

yurj@macbook:~/progetti/plone/test/zinstance/parts/plone/CMFPlone/profiles/default/structure$
more .objects
Members,Large Plone Folder
front-page,Document
yurj@macbook:~/progetti/plone/test/zinstance/parts/plone/CMFPlone/profiles/default/structure$
more .preserve
Members
front-page
yurj@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

yurj@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
> Plone-IT@lists.plone.org
> http://lists.plone.org/mailman/listinfo/plone-it
> http://www.nabble.com/Plone---Italy-f21728.html


_______________________________________________
Plone-IT mailing list
Plone-IT@lists.plone.org
http://lists.plone.org/mailman/listinfo/plone-it
http://www.nabble.com/Plone---Italy-f21728.html
Yuri-11

Re: CREAZIONE CONTAINER IN AUTOMATICO

Reply Threaded More More options
Print post
Permalink
ryuga ha scritto:
> 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
> ).
>  

 Se hai un tuo prodotto custom, puoi inserire il tutto nel profilo e
all'installazione viene creato il contenuto. Controlla come si comporta
in disinstallazione o upgrade, perché potrebbe essere benissimo che
cancelli il contenuto quando viene disinstallato.

> 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.
>  

Ecco, potresti dare anche tu un aiuto a me scrivendo in minuscolo :)


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