Or actually, try: $this->layoutPath = 'xml'; $this->layout = 'default';
obviously that second line is optional - as 'default' is what should be used anyway. On Dec 4, 7:48 am, Grant Cox <[EMAIL PROTECTED]> wrote: > I expect it will work with > $this->layout = 'xml'.DS.'default'; > > On Dec 4, 4:15 am, Andreas <[EMAIL PROTECTED]> wrote: > > > Hi > > > I've been trying to use the xml layout but it's not going too well > > since the layout file itself is located within a subfolder called xml > > (xml/default.ctp) and I'm not sure how to reach it with $this->layout > > = '';? > > > Andreas --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---