I apologize if this has been asked before, I looked but did not find
the answer I was looking for.

I know how to include a file in PHP, and here is what I am looking to
do:
in view.ctp:
-------------------------------------
<?php include 'menu.php'; ?>

<p>Other view content here</p>
-------------------------------------

What is the cake way of doing something like this?  Where menu.php
holds the top level menu?

And I know I can put nav in default.ctp, but I only want it shown on a
few select pages (all within the same controller scope).
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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