Sunday, January 19, 2014

CakePhp : unable to include custom CookieHelper to another custom RecordingHelper ?

Hello, I want to create list view and expanded view ('cookie' =>'Posts.posts' & 'value' = 'list' or 'expanded') with (attr) class => active but getting error when I use CookieHelper function read();

please help?


below are the snapshot 




Unable to Load index file when calling RecordingHelper as <?php echo $this->Recording->toggleLink('list','Posts.post','list'); ?>


and when I remove read(); it's shows me list view and expanded view but not creating any cookie rather redirecting me to path specified.

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: