Hi to all!
I'd like to create my own nav partlet with linguaplone
features.
I saw that the standard navigation portlet works fine (so
if i change
the language all contents are switched).
I usually use this script for getting folder's contents:
<ul tal : define="sections
python:here.portal_url.contentValues(filter={'portal_type'
:'Section'})">
<li id="home"><a
tal:attributes="href
portal_url">Home</a></li>
<li tal:repeat="section sections"><a
tal:attributes="href
section/absolute_url; class
python:test(here.absolute_url().startswith(section.absolute_
url()),
'selected', nothing)"
tal:content="section">Home</a></li&g
t;
But it shows all folders with no language filter,and if i
change the
language I still see all folders... somebody could help me?
thank you,
Cristian
------------------------------------------------------------
-------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Plone-i18n mailing list
Plone-i18n lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plone-i18n
a>
|