Hi to all.

I'm developing a plugin named "pizza" and I have another plugin named
"beautifull_layout".
When I order a new pizza i'd like to use a layout from the
"beautifull_layout" plugin.

class Pizza extend PizzaAppController {
  function order() {
    $this->plugin = "beautifull_layout";
    $this->layout = "pink_layout";
  }
}

When this code is being executed I get a missing view error because
Cake look for Pizza::order view into beautifull_layout plugin.
I want to use  layout from different plugin but keep views and other
things in my plugin.

Thanks to all!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to