simple url to clear all caches

Author Message

Alexandre Cunha

Tuesday 30 March 2004 4:00:18 am

How can i build a url to clear all caches instead of click setup > cache > all caches in the admin interface ?

thanks

axel

http://AlexandreCunha.com

Trond Åge Kvalø

Tuesday 30 March 2004 4:33:34 am

Hi Axel

Just a wild suggestion.
What if you create a template override for setup/cache.tpl and in the form tag change method="post" to method="get"?

Shouldn't that bring up the clearcache data in the url?

best regards
trondåge

trondåge

Alexandre Cunha

Tuesday 30 March 2004 6:20:04 am

thanks Trond,

Sounds a good solution.

I get this url:

http://host/index.php/admin/setup/cache?ClearAllCacheButton=All+caches

But unfortunetly, using this url the cahed doest clear ...

any other ideias ?

axel

http://AlexandreCunha.com

Lazaro Ferreira

Tuesday 30 March 2004 8:41:05 am

HI,

This is a good ideia, why you don't post it at suggestion forum ?

Lazaro
http://www.mzbusiness.com

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.