[Usuarios Plone] Viewlets y LinguaPlone
Jon Cano
jon.cano at prlsoft.com
Wed Mar 16 16:55:46 UTC 2011
Hola a todos,
Al pasar de plone2.5 a plone 4 estoy bastante perdido.
Solucionados otros problemas ahora me surge uno nuevo
La modificacion del Header, que antes se hacia mediante el
main_template, ahora esta el tema de los viewlets que me trae de cabeza.
Puedo ocultarlos dede el @@manage-viewlets, pero queroa poner el you are
here en el footer y no puedo.
¿¿Algun consejo respecto a los viewlets o como modificarlos??
Y el otro tema es las traducciones en plone 4, que antes usaba algo tal
que asi
<td
tal:condition="python:portal.portal_languages.getLanguageBindings()[0]
== 'es' ">
<h5 style="background-color: #990000; color:rgb(255, 255, 255);
font-weight: lighter; vertical-align: top;"> Últimas
Noticias </h5></td>
<td
tal:condition="python:portal.portal_languages.getLanguageBindings()[0]
== 'en' ">
<h5 style="background-color: #990000; color:rgb(255, 255, 255);
font-weight: lighter; vertical-align: top;"> Lastest
News </h5></td>
<td
tal:condition="python:portal.portal_languages.getLanguageBindings()[0]
== 'fr' ">
<h5 style="background-color: #990000; color:rgb(255, 255, 255);
font-weight: lighter; vertical-align:
top;"> Actulités </h5></td>
<td
tal:condition="python:portal.portal_languages.getLanguageBindings()[0]
== 'de' ">
<h5 style="background-color: #990000; color:rgb(255, 255, 255);
font-weight: lighter; vertical-align:
top;"> Nachrichten </h5></td>
<td
tal:condition="python:portal.portal_languages.getLanguageBindings()[0]
== 'ru' ">
<h5 style="background-color: #990000; color:rgb(255, 255, 255);
font-weight: lighter; vertical-align: top;"> Lastest
News </h5></td>
<td
tal:condition="python:portal.portal_languages.getLanguageBindings()[0]
== 'zh' ">
<h5 style="background-color: #990000; color:rgb(255, 255, 255);
font-weight: lighter; vertical-align:
top;"> 最新新聞 </h5></td>
y ahora ya no puedo, y tengo que usar archivos .po y no consigo que
funcione nada
Gracias
--
Un saludo
<=====================================>
------ Jon Cano ------
jon.cano at prlsoft.com
===========================
Tfno.: +34 944 417 512
Fax.: +34 944 417 512
<=====================================>
More information about the Usuarios-Plone
mailing list