What happens when you try 'element_unique'? Or if that fails, 'cake_element_unique'?
Jeremy Burns Class Outfit http://www.classoutfit.com On 6 Jan 2012, at 11:18:07, Waterschaats wrote: > I've successfully cached an element with in my layout.ctp: > $this->element('main_menu', array(), array("cache" => array('config' > => 'default', 'key' => 'unique'))); > > which results in a cache file named: 'cake_element_unique' > > I can't delete this specific cache file using the following code in my > controller, what am I doing wrong? > > $key='unique'; > Cache::delete($key, $config = 'default'); > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > [email protected] For more options, visit this group at > http://groups.google.com/group/cake-php -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
