Edit the default layout at app\views\layouts\default.ctp and add a
element (at app\views\elements) placing it where you want. You can
access de data from the db using the element's requestAction method.

Read http://book.cakephp.org/view/94/Views

On Mar 6, 9:35 pm, ashutosh <[email protected]> wrote:
> hi all,
> I was trying cakePHP to make my site. this side has left side bar
> which picks the catalog data from db and the middle content depending
> upon the some other parameter. Left side bar will always be same
> format and will be picked up from db. any idea how should i do that? i
> am new to cakePHP. I want to create that Left side bar as other file
> and include in main and middle part in other file and include in main
> file.... any suggestion??
--~--~---------~--~----~------------~-------~--~----~
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