Hi,

In my AppControllers beforeFilter I use a TreeHelper to generate the main 
menu.

Now I need to pass a/some arguments to this TreeHelper from within a Views 
element.

Does anyone know if it can be done and how to do this? Or do I need to put 
this TreeHelper somewhere else instead of in a beforeFilter to be able to 
pass arguments from within a view?

The reason why I need to pass arguments from within a view (or element) is 
that I want to use different themes and the arguments that need to be 
passed are different for each theme so I need to send them from within the 
Views/Themed-folder.
Or is it possible to put a bootstrap.php file within a theme?

Thanks for any help.

-- 
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en.


Reply via email to