Jump to content

Is Possible To Call Pdt In App View File From Plugin


Recommended Posts

Posted

i need to call a .pdt file inside the base root view from my plugin controller .

let say i want to call "app\views\admin\default\admin_login.pdt" from my plugin controller and pass it the vars .

i know a simple solution is to clone the file inside my view's plugins , but the client need to use root pdt file .

i have tried with setDefaultView function but it always include the view plugin directory .

thanks

Posted

Thanks tyson , you have opened another door for me :)

but is not a workig solution for my actual need , it get the pdt file as i need , but the view still pointed to the app/views/admin .... how i can return it to the plugin view .

this is possible to do it with $this->render("admin_login"); ?

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...