Share » Forums » Developer » ezhttp and cache

ezhttp and cache

ezhttp and cache

Tuesday 12 June 2007 1:19:02 am - 2 replies

Author Message

André R.

Tuesday 12 June 2007 1:46:46 am

If you use view params the viewcache should handle it correctly.

uri:
some_nice_uri/(my_var)/44/(my_other_var)/yes

code:
{def $myvar = first_set($view_parameters.my_var, 0)}

Using first_set will handle cases where it's not set..

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

luis muñoz

Tuesday 12 June 2007 2:33:45 am

It worked like a charm, thanks

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu