hi,
i'm using the 1.2. rc1 version of cake.
i've got the following layout:
<div id="header">
<cake:nocache>
<?=$this->element('searches/searchbox')?>
<?=$this->element('menu/topmenu')?>
</cake:nocache>
</div>
<div id="content">
<?=$content_for_layout ?>
</div>
my view cache config in books controller:
var $cacheAction = array ('books/view/' => '+1 hour');
the view cache has generated correctly in the tmp folder after the
first request (/devel/books/view/374):
<div id="header">
<?=$this->element('searches/searchbox')?>
<?=$this->element('menu/topmenu')?>
</div>
after the first request my searchbox form (this is in the searchbox
element):
<form controller="search" id="SearchIndexForm" method="post" action="/
devel/searches">
after a browser refresh:
<form controller="search" id="SearchIndexForm" method="post" action="/
searches/">
the devel prefix had gone. is it a bug or my mistake? please help me.
thank you,
gbk
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---