Parar gerar um tema do Plone 3 eu utilizei o site
http://paster.joelburton.com/pasteweb.py/createform?tpl=plone3_theme
onde é gerado o arquivo para instalação do tema como se fosse um
produto do Plone.

Descompacte o arquivo ZIP gerado. Execute o arquivo setup.py que fica
na raiz com o comando "python setup.py install".

Será gerado uma pasta build/lib que o tema como se fosse um produto do
Plone. Copie essa para dentro da pasta Products e reinicie o Plone.

O tema será exibido a lista de produtos a serem instalados.

Até aqui foi muito bem, porém, não consigo personalizar estes novos
temas que acabei de instalar. Alguém tem idéia? :( 


--- Em zope-pt@yahoogrupos.com.br, "rogeriocdluiz" <rogeriocdl...@...>
escreveu
>
> Pessoal,
> 
> Estou tentando criar um novo tema instalável para Plone 3 mas estou
> tendo problemas. Estou tentando usar a ferramenta paster mas o tema
> não aparece no portal quickinstaller. 
> 
> Notei, ao rodar o rodar o Plone em modo debug que acontece o seguinte
> erro: 
> 
> -----------------------
> 
> 
> ZopeXMLConfigurationError: File
> "/opt/internet_3.1/zinstance/parts/instance/etc/site.zcml", line
> 14.2-14.55
>     ZopeXMLConfigurationError: File
>
"/opt/internet_3.1/zinstance/parts/instance/etc/package-includes/002-wwwprdf.theme-configure.zcml",
> line 1.0-1.57
>     ConfigurationError: ('Invalid value for', 'package', "ImportError:
> Couldn't import wwwprdf, No module named wwwprdf")
> 
> --------------------------
> 
> 
> Executei o paster assim:
> 
> paster create -t plone3_theme
> 
> Selected and implied templates:
>   ZopeSkel#basic_namespace  A project with a namespace package
>   ZopeSkel#plone            A Plone project
>   ZopeSkel#plone3_theme     A Theme for Plone 3.0
> 
> Enter project name: wwwprdf.theme
> Variables:
>   egg:      wwwprdf.theme
>   package:  wwwprdftheme
>   project:  wwwprdf.theme
> Enter namespace_package (Namespace package (like plonetheme))
> ['plonetheme']:
> Enter package (The package contained namespace package (like example))
> ['example']: theme
> Enter skinname (The skin selection to be added to 'portal_skins' (like
> 'My Theme')) ['']: Tema internet PRDF
> Enter skinbase (Name of the skin selection from which the new one will
> be copied) ['Plone Default']:
> Enter empty_styles (Override default public stylesheets with empty
> ones?) [True]:
> Enter include_doc (Include in-line documentation in generated code?)
> [False]: True
> Enter zope2product (Are you creating a Zope 2 Product?) [True]:
> Enter version (Version) ['0.1']:
> Enter description (One-line description of the package) ['An
> installable theme for Plone 3.0']:
> Enter long_description (Multi-line description (in reST)) ['']:
> Enter author (Author name) ['Plone Collective']:
> Enter author_email (Author email) ['product-develop...@...']:
> Enter keywords (Space-separated keywords/tags) ['web zope plone theme']:
> Enter url (URL of homepage) ['http://svn.plone.org/svn/collective/']:
> Enter license_name (License name) ['GPL']:
> Enter zip_safe (True/False: if the package can be distributed as a
> .zip file) [False]:
> Creating template basic_namespace
> (...)
> Copying MANIFEST.in_tmpl to ./wwwprdf.theme/MANIFEST.in
> Running /opt/internet_3.1/Python-2.4/bin/python setup.py egg_info
> 
> Após isso inserí as entradas no buildout.conf e executei-o, sem no
> entanto, ser mostrado nenhum erro.
> 
> há alguma coisa errada nas configurações do paster?
> 
> Valeu!
>


Responder a