Tuesday 30 August 2005 5:32:52 am
hi,
I want to go in a same template by two differents ways.
Fisrt <a href={concat($:item.url_alias, '?cons=1')|ezurl}>{$:item.name|wash}</a>
Secondly, <a href={concat($:item.url_alias, '?cons2=1')|ezurl}>{$:item.name|wash}</a>
In the template result, I have wrinten
{def cons=ezhttp('cons', 'get') cons2=ezhttp('cons2', 'get')} {$cons2}=cons2, {$cons}=cons I clear the cache and back to the first tempate click and see the good url (cons=1 at the end) and on the result template I can see cons=1.
After I go to the second tpl, click and see the good url (cons2=1 at the end of the url) but on the screen I see (cons=1 cons2= ). If I clear the cache again and go to the result tpl in starting to the second tpl( cons2=1) I see the good url and in the tpl result (cons2=1). After I go to the first tpl(cons=1) click, see the good url but I see again (cons2=1, cons= ).
So there is a cache uri problem but in the pagelayout I have ever write to clear cahce url... Can you help me please.
|