Hi Mr De la Rosa Triviño

Thank you for your mail.

I had a little problem :

> To create the "Hello XXX" portlet do this (ZMI
> level):
> 
> 1.- Create a new zpt in portal_skins->custom, with
> id hello_username.

I went to the ZMI, then to CPS, portal_skins, but I
found nowhere how to create a zpt in "custom" ?
I did not find "custom" (I use CPS 3.4 on Windows)
(sorry I am a beginner with CPS, I started to work on
it a fews ago... thank you for your understanding)

By the way, may I print the message "hello user_name"
for each user with his own name ?


On the other hand, may I create an independant module
that I could plug to CPS ?

Thank you very much for your help !

Have a nice day !


Christophe








--- JoseLuis de la Rosa Triviño
<[EMAIL PROTECTED]> a écrit :

> 
> Hi Christophe,
> 
> AFAIK, you can create drafts of a document and even
> lock that document so that nobody can modify it
> while you are working on it, but I'm afraid that CPS
> has got no way to merge changes of a document. Maybe
> CPSWiki is similar to what you're looking for.
> 
> To create the "Hello XXX" portlet do this (ZMI
> level):
> 
> 1.- Create a new zpt in portal_skins->custom, with
> id hello_username.
> 2.- Fill it with this code:
> 
> <tal:block define="mtool here/portal_membership;
>                    anonymous
> mtool/isAnonymousUser;">
> 
>     <p tal:condition="not:anonymous"
> i18n:translate="">
>       Hello,
>         <tal:block i18n:name="user_name"
> i18n:translate=""
>             tal:define="member
> python:mtool.getAuthenticatedMember();"
>             tal:content="python:
> member.getProperty('givenName','') + ' ' +
> member.getProperty('sn','')">
>             User
>         </tal:block>
>     </p>
> </tal:block>
> 
> 3.- From CPS GUI, go to "Manage portlets"
> 4.- Add a new "Custom portlet" wherever you wish and
> as "Render method" use the identifier of the zpt
> created in step 1.
> 5.- You're done.
> 
> If you want to move this to a product of your own:
> 
> 1.- Create the hello_username.pt file in any
> subfolder of "skins", that should be registered in
> portal_skins.
> 2.- From ZMI export the "Portlets Tool" profile
> step.
> 3.- Go to the xml code exported and look for the xml
> file that creates your portlet (in
> cps_portlets.xml).
> 4.- Copy that xml snippet to your product's profile.
> 
> It's just one of the many solutions ;-)
> 
> Regards
> 
> JoseLuis de la Rosa Triviño 
> Técnico de Desarrollo Software 
> FUNDACIÓN IAVANTE 
> [EMAIL PROTECTED] 
> Tel. 951 015 300 
> 
> Este correo electrónico y, en su caso, cualquier
> fichero anexo, contiene información confidencial
> exclusivamente dirigida a su(s) destinatario(s).
> Toda copia o divulgación deberá ser autorizada por
> IAVANTE.
> This e-mail and any attachments are confidential and
> exclusively directed to its adressee(s). Any copy or
> distribution will have to be authorized by IAVANTE.
> 
> 
> -----Mensaje original-----
> De: Christophe GAUTIER
> [mailto:[EMAIL PROTECTED] 
> Enviado el: jueves, 20 de julio de 2006 14:47
> Para: NUXEO
> Asunto: [CPS-devel] CPS
> 
> Hello everybody
> 
> I have a few questions about CPS 3.4 :
> (I am doing an internship in a company)
> 
> 1. I would like to know if I can create a document
> word (for example) then share this document with
> other
> members of the group. Next, if two people want to
> access this document and modify it. Can we keep the
> previous version ? or is it overwritten ?
> If two people access the same document, is there any
> conflict ?
> 
> 
> 2. If I want to create a little module to add to
> CPS,
> I mean a kind of portlet but it should be something
> independant, that's to say that I can plug to CPS.
> Where can I learn how to do it ?
> I need to create a portlet that would print on the
> CPS
> portal "Hello name_of_the_user", how can I do it or
> where may I learn how to do it ?
> 
> 
> If someone may help me, please ?
> 
> Thank you very much !
> 
> Regards
> 
> Christophe
> 
> 
> 
> 
> 
>       
> 
>       
>               
>
___________________________________________________________________________
> 
> Découvrez un nouveau moyen de poser toutes vos
> questions quelque soit le sujet ! 
> Yahoo! Questions/Réponses pour partager vos
> connaissances, vos opinions et vos expériences. 
> http://fr.answers.yahoo.com 
> 
> _______________________________________________
> cps-devel mailing list
> http://lists.nuxeo.com/mailman/listinfo/cps-devel
> 



        

        
                
___________________________________________________________________________ 
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet 
! 
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos 
expériences. 
http://fr.answers.yahoo.com 

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

Reply via email to