Forums / General / ezhttp and cache / Comment67760

Author Topic

Lo' F.

Thursday 05 May 2011 7:06:23 am

Comment67760

"

...In my template I use a link like this :

<span class="Apple-style-span" style="font-size: 13px; " mce_style="font-size: 13px;" mce_fixed="1">href={concat("myurl/url?idselected=", $node.contentobject_id)|ezurl}</span>

After I use the following code to recover my id :

{if ezhttp_hasvariable( 'idselected', 'get' )}

     {def $idselected=ezhttp('idselected', 'get' )}

{/if}

But this code works only one time. I have problem with the cache....

"

...this way, by setting

{set-block scope=root variable=cache_ttl}0{/set-block}

it should work ...

loredanaebook.it