In un template per portlet custom ho la necessitĂ di estrarre la URL di un
documento.
Il documento viene trovato con questo codice:
<metal:block define-macro="portlet">
<div id="portlet_libri"
tal:define="presults
python:context.portal_catalog(portal_type='News Item',
path='/testsito/news/libri', sort_on='effective', sort_order='reverse')"
tal:condition="presults">
<tal:block define="pobj python:presults[0].getObject()">
Se tento di ottenere la url con un codice del genere:
<a href=""
tal:attributes="href pobj/getURL;
title pobj/Description">
QUI IL LINK</a>
il portlet non si visualizza.
Si può fare qualcosa?
--
Faber
--------------------
"Life is what happens to you while you're busy making other plans" - J.
Lennon
_______________________________________________
Plone-IT mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/plone-it
http://www.nabble.com/Plone---Italy-f21728.html