Wednesday, March 7, 2012

Re: Issue with Excel Helper

if you are on cake >= 2.x, then only $this->Excel will work, not $excel :)
--
Lep pozdrav, Tilen Majerle



2012/3/7 jeremyharris <funeralmoss@gmail.com>
Use DebugKit and see if it's in the list of loaded helpers. If it's not, then Cake can't find it. If it is, then perhaps you're referencing it incorrectly.

On Wednesday, March 7, 2012 8:31:23 AM UTC-8, mohit wrote:
Hi Experts,

I am using this tutorial to set up an excel export helper

http://bakery.cakephp.org/articles/melgior/2010/01/26/simple-excel-spreadsheet-helper
I have followed each and every step. additionally I am using following helpers in my code

 public $helpers = array('Form', 'Html', 'Excel', 'Time');

Still I am getting this error

  Undefined variable: excel [APP\View\Engineers\index.ctp, line 40]


Please suggest

--
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
cake-php+unsubscribe@googlegroups.com 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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: