Jump to content

Disable URL variable caching in a single custom tpl file


Recommended Posts

Hi all,

I have a custom tpl file where I use some GET variables from the URL in this simple way:

{if isset($smarty.get.directory)}{$smarty.get.directory}{/if}
{if isset($smarty.get.search)}{$smarty.get.search}{/if}

The problem is that smarty use the cached values for these variables, and I  cannot update their values after the first page load. I tried with {nocache}{/nocache} without success, every time I load the page with different values, I always get the previous one.

Do you know I can I solve this problem?

Many thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...