Hi Just thinking how i can organise my layouts and elements. If i have some specific functions e.g. a comments form which can only be completed by the post owner, how should i place this in the post view? Should i create a separate layout or create an element and have a conditional statement. I shouldn't add conditional statements to the view right? So the only thing i can think of is creating a variable using set in the controller function and adding the relevant element name which i'm sure is the wrong way to go. Any help would be appreciated.
R --~--~---------~--~----~------------~-------~--~----~ 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---