Hi, Actually i use this method in a controller to show a different view than the initial view of the action.
class IndexController extends BaseController {
public function indexAction() {
$this->view->pick("products/category");
}
}
But when i do that, the render view is views/products/category.phtml, but the code in /views/index.phtml is executed but not rendered. (I discover that the query in index.phtml are executed in the log file)
Same problem in Phalcon 1.3.1 and 1.3.2
Why is the defaut views executed, and how can i avoid that ?