Hello,

1. NO NEED TO WRITE LIKE THIS IN THE SUBJECT
2. Are you overriding your beforeFilter() in your other controllers?
If true, are you calling parent::beforeFilter()? If not, do it now.
3. If step no.2 didn't help, did you try calling debug($this-
>viewVars) in your view to see what's going on there?

On May 18, 4:41 pm, lakers fan <[email protected]> wrote:
> Hello,
>
>     I get an error undefined variable $left_content. This variable has been 
> defined in beforeFilter() of app_controller.php. In beforeFilter(), the code 
> is:
>
>   $this->set("left_content",$left_content);
>
> Somehow the variable is not passed on to the view files.. Any clues??
>
> Thanks,
>
> Bharani
>
> _________________________________________________________________
> Hotmail® goes with 
> you.http://windowslive.com/Tutorial/Hotmail/Mobile?ocid=TXT_TAGLM_WL_HM_T...
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to