I use elements to do it as well.

In my /app/controllerName/view/action, I echo
$this->renderElement('elementName', array('elementTitle' => 'title',
'elementList' => array($html->link('listItem' => 'listUrl'))));

In /app/views/elements/elementName.thtml, I parse the information that
was passed to the element to build an unordered list of links
(typically, actions that can be performed in the current view, like
delete, edit, new, index, etc.). I then assign all of the parsed
information to $this->object_actions_content.

In /app/views/layouts/default.ctp, I echo $this->object_actions_content
in the appropriate column.

It works really well for my purposes. I hope it can be of some use to
you.

HTH,
D

On Jan 11, 9:32 pm, "Gould, Adrian" <[EMAIL PROTECTED]>
wrote:
> I'm familiar with CSS etc, but wondering if anyone has any tips on getting 
> cake to output two different sets of layout to two different columns.
>
> EG:
>
> Column 1 -> contains the blog entries in reverse order
>
> Column 2 -> contains the latest comments, the latest number of visitors, and 
> so on.
> 
> Thanks in advance
> 
> Adrian


--~--~---------~--~----~------------~-------~--~----~
 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