not realy sure about the standard but I think if you concern about "how to add header to all your pages with the data inside it"  it must be using the standard MVC and logically in cakePHP, it a standard way how to access using url by creating standard coding of MVC in cakePHP, and how to put together you pieces (inside layout / view) your thtml is by using:
//---------------------------
<?php echo
$this->requestAction("zones/dynamicheader",array('return'));
?>
//---------------------------
anyway if you see this method, this method not create in "Controller" but inheritance from /cake/libs/object.php The parent class of controller and view.

I think there are another way to do this, personally (for now) I like doing it like this.

Regards, Widi Harsojo
my2cn.

On 11/14/06, devarz <[EMAIL PROTECTED]> wrote:

Thanks, that made things a bit clearer to me.

If I understand you correctly, does this mean that it is the *template*
itself that is initiating the call to get the data. Is this the
standard procedure in frameworks llike cake, or are there other ways of
achieving the same result?


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups "Cake PHP" 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