how can i request a variable in my home.ctp of my cakePHP application?

Posted by Simon on Stack Overflow See other posts from Stack Overflow or by Simon
Published on 2010-05-18T08:15:27Z Indexed on 2010/05/18 8:20 UTC
Read the original article Hit count: 230

Filed under:
|
|
|

I created a page using the MVC structure called 'sections' ( view is located in the app/views/sections folder, model in the model folder and the controller in the controller folder) when i request the variable $test, it works fine without any errors..

When i want to request this variable in my home.ctp, it provides me with an error, saying that the variable is undefined..

Is there any way in cakePHP to request this variable on any page you want it to?

Thnx in advance!

© Stack Overflow or respective owner

Related posts about cakephp

Related posts about php