Thanks man, thats the trick. _____
From: [email protected] [mailto:[email protected]] On Behalf Of Sam Sherlock Sent: Tuesday, June 09, 2009 3:34 PM To: [email protected] Subject: Re: Sub templating in views/subscribers/view.ctp $this->element('../subscribers/subview1'); $this->element('../subscribers/subview2'); - S 2009/6/9 RhythmicDevil <[email protected]> Hello, I have a view.ctp for a Subscriber. I want to break up the view into several smaller templates as there are tabs and all sort of stuff on the view. However logically the small pieces dont belong in elements as they are not used anywhere else. I want to put them in views/ subscribers and just include them into the view.ctp template. app/ views/ subscribers/ view.ctp subview1.ctp subview2.ctp 1) Is that possible? 2) Is that correct within Cake's framework? Thanks Steve --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
