Re: [ZIZope] customizzare le viewlet si può?
vincenzo barone <[email protected]>
| Newsgroups | gmane.comp.web.zope.italian |
|---|---|
| Organization | Abstract Open Solutions |
| Message-ID | <[email protected]> |
La cosa che si dovrebbe fare nn è customizzare le viewlets TTW ma scrivere la propria viewlets sul file system e registrarla. Se volete vedere la struttura delle viewlets su un sito plone aggiungete semplicemente all'url del vostro sito: ......../manage-viewlets e per magia il vostro plone 3 vi mostrerà la struttura delle viewlets. Altra cosa il "document actions" non è una propria viewlets, plone 3 lo gestisce ancora in modo ibrido per cui se qualcuno volesse scrivere una viewlets per la sezione document actions tenga presente ciò. Questa cosa l'ho scoperta svilupando il link ai feeds di vice. Vincenzo Yuri ha scritto: > http://www.csquaredtech.com/luminescence/plone-3-0-customize-footer-pt-plone-footer > > > Plone 3.0 has a new Viewlet customization process that's different than > what I detailed above.. (not difficult.. just different) > > * Login as manager > * Go to http://mysite.com/manage > * Once in the ZMI go to *portal_view_customizations* > * Scroll down to *zope.interface.Interface* > * Click on *plone.footer* > * At the bottom of the file click on "Customize" > > Instead of putting your footer.pt in the custom directory it puts > *plone.footer* in *portal_view_customizations * > > You can modify the file just the way you would in 2.5.3 and save it. > > If you go back to *portal_view_customizations* and scroll down you'll > note that there is a "yellow" highlight over your plone.footer. This > indicates that the file has been customized. > > What? You made a mistake and you need to revert to the original version > og plone.footer? > > In the previous version you would go to portal_skins/custom find your > file then rename it or delete it. > In 3.0 return to *portal_view_customizations* (if you aren't there > already) and click on the *contents* tab. You'll see your newly > customized file. Delete the newly customized file and plone.footer will > revert to the orginal version. > > (I used plone.footer as an example but the same process is applicable > for any viewlets in portal_view_customizations) > > ========== > > Qualcuno ha provato?? > _______________________________________________ > Zope mailing list > [email protected] > http://lists.zope.it/cgi-bin/mailman/listinfo/zope > > -- Vincenzo Barone - Web Architect - Project Manager [[email protected]] Abstract Open Solutions [ http://www.abstract.it ] Mobile +39 328 3358110 Tel. 02320624747 Tel./Fax +39 081 0608213 PGP Public Key: http://www.abstract.it/gpg/vincenzo.barone _______________________________________________ Zope mailing list [email protected] http://lists.zope.it/cgi-bin/mailman/listinfo/zope
vincenzo.barone.vcf
(text/x-vcard, 319 B)
begin:vcard fn:Vincenzo Barone n:Barone;Vincenzo org:Abstract snc adr;dom:Via Maroncelli, 12 - 20154 Milano ;;Via Coroglio, 57 d - 80124 Napoli email;internet:[email protected] tel;work:081 0608213 tel;fax:081 0608213 tel;cell:3283358110 x-mozilla-html:FALSE url:http://www.abstract.it version:2.1 end:vcard