Thursday 30 November 2006 3:29:21 am
Hello, I have in my pagelayout.tpl include a template like this : {include uri='design:actions.tpl' node_id=$node.node_id} The code of actions.tpl :
<a href="/layout/set/print/content/view/full/{$node.node_id}"><img src="/design/plain_site/images/print.gif" alt="Imprimer" title="Imprimer"></a>
<a href="page"><img src="/design/plain_site/images/mail.gif" alt="Nous contactez" title="Nous contactez"></a>
<a href="/content/tipafriend/{$node.node_id}"><img src="/design/plain_site/images/sendto.gif" alt="Envoyez à un ami" title="Envoyez à un ami"></a> <a href="/content/pdf/{$node.node_id}"><img src="/design/plain_site/images/pdf.gif" alt="Version Pdf" title="Version Pdf"></a>
The value of $node.node_id is always the same value on all the pages (The value is, the first $node.node_id generated by the template) And the value of {$node_id}, is too always the same value How can I set off the cache for this ? Or what's wrong ? Thanks
L'informaticien est comme un petit canard:
il est calme en surface mais en dessous il brasse beaucoup d'eau pour
avancer ...!
|