informacion adicional
Publicado por Carlos (2 intervenciones) el 24/03/2009 18:41:10
hola necesito saber donde puedo activar la informacion adicional que sale en los documentos.
Me refiero a la informacion de:
documento creado por..........,ultima modificacion..................
He leido sobre /portal_skins/custom/document_byline pero no lo he podido activar
<div class="documentByLine"
metal:define-macro="byline"
i18n:domain="plone"
tal:condition="python: site_properties.allowAnonymousViewAbout or not isAnon"
tal:define="creator here/Creator;
creator_home python:mtool.getHomeUrl(creator);">
<img src="" alt=""
tal:define="locked portal_object/lock_icon.gif;
lockable python:hasattr(here, 'wl_isLocked');"
tal:condition="python:lockable and here.wl_isLocked()"
tal:replace="structure python:locked.tag(title='Locked')"
/>
<span tal:condition="creator"
i18n:translate="box_created_by">
Created by
</span>
<a href="#" tal:condition="creator_home"
tal:attributes="href creator_home"
tal:content="creator">
bob
</a>
<span tal:condition="not: creator_home"
tal:content="creator">
bob
</span>
<br />
<tal:contrib condition="here/Contributors">
<span i18n:translate="label_contributors">
Contributors
</span>:
<span tal:replace="python: ', '.join(here.Contributors())">
Mary
</span>
<br />
</tal:contrib>
<tal:rights condition="here/Rights">
<span tal:replace="here/Rights">
Copyleft NiceCorp Inc.
</span>
<br />
</tal:rights>
<span>
Last modified
</span>
<span tal:replace="python:here.toLocalizedTime(here.ModificationDate(),long_format=1)">
August 16, 2001 at 23:35:59
</span>
<span class="state-expired"
tal:condition="python:here.isExpired(here)">
expired
</span>
</div>
Me refiero a la informacion de:
documento creado por..........,ultima modificacion..................
He leido sobre /portal_skins/custom/document_byline pero no lo he podido activar
<div class="documentByLine"
metal:define-macro="byline"
i18n:domain="plone"
tal:condition="python: site_properties.allowAnonymousViewAbout or not isAnon"
tal:define="creator here/Creator;
creator_home python:mtool.getHomeUrl(creator);">
<img src="" alt=""
tal:define="locked portal_object/lock_icon.gif;
lockable python:hasattr(here, 'wl_isLocked');"
tal:condition="python:lockable and here.wl_isLocked()"
tal:replace="structure python:locked.tag(title='Locked')"
/>
<span tal:condition="creator"
i18n:translate="box_created_by">
Created by
</span>
<a href="#" tal:condition="creator_home"
tal:attributes="href creator_home"
tal:content="creator">
bob
</a>
<span tal:condition="not: creator_home"
tal:content="creator">
bob
</span>
<br />
<tal:contrib condition="here/Contributors">
<span i18n:translate="label_contributors">
Contributors
</span>:
<span tal:replace="python: ', '.join(here.Contributors())">
Mary
</span>
<br />
</tal:contrib>
<tal:rights condition="here/Rights">
<span tal:replace="here/Rights">
Copyleft NiceCorp Inc.
</span>
<br />
</tal:rights>
<span>
Last modified
</span>
<span tal:replace="python:here.toLocalizedTime(here.ModificationDate(),long_format=1)">
August 16, 2001 at 23:35:59
</span>
<span class="state-expired"
tal:condition="python:here.isExpired(here)">
expired
</span>
</div>
Valora esta pregunta


0