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"); ?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...