Currently I’m finding I have to keep duplicating partials for different modules.
I would like to have a case directory for all partials to be accessed.
Does anyone have a good way of doing this?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Excellent thanks 🙂
However, how do I do this via the controller? I have fancybox and have set up the ajax layout:
The pop up window as required but with the following error:
I kinda of assumed the $this->view->partial would be the same as using $this->partial inside the view template, but I guess not. Ideas?
SOLVED VIA:
Bootstrap initView, added:
Moved my partials to that directory. Then in my controller I do:
Thanks goes out to #zftalks SmartSsa