Timeline for How to render plugin templates in Craft CMS 3?
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 16, 2018 at 22:01 | vote | accept | Mike | ||
Dec 16, 2018 at 22:01 | comment | added | Mike |
Ah, I managed to try just about everything but this. I tried setTemplateMode(View::TEMPLATE_MODE_SITE) assuming that View::TEMPLATE_MODE_CP was related to rendering templates for routes in the admin control panel, rather than on the public frontend of the site. Thanks!
|
|
Dec 16, 2018 at 16:31 | history | answered | andrew.welch | CC BY-SA 4.0 |