In Joomla exists a tmpl=foo
query parameter to change the template file used to render a page (commonly tmpl=component
for modals). But there is no real way in the UI to configure this. Essentially, if you'd like for a template to support multiple layouts, you have to ship your own plugin hooking the right forms to offer this capability otherwise strictly using out-of-the-box features you have to have multiple templates. It should be a core capability to natively support multiple template layouts and allow templates to natively support multiple page layout types without needing to jump through extra hoops.
Labels |
Added:
?
|
Status | New | ⇒ | Discussion |
Category | ⇒ | com_templates |
You have template styles, component layouts, and module layouts. Thinking
about it, basically adding a param to template styles to set the layout
file (default index.php) would cover it without needing to change too much.
It’s basically an alternative to creating an entire second template when
you have an entire custom page layout, you add a new layout to the existing
template and more easily reuse existing resources in your template.
On Tue, Jul 10, 2018 at 7:51 PM Brian Teeman notifications@github.com
wrote:
maybe i am missing something but dont you define the layout you want to
use in the menu item—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#21013 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAWfoaOppONgTkMFCw7VOGSsrpdGJQXZks5uFUwrgaJpZM4VGbS5
.
--
Labels |
Added:
J3 Issue
|
I don't have time for this and the odds of anyone else picking it up are slim to none.
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-09-09 16:54:24 |
Closed_By | ⇒ | mbabker |
maybe i am missing something but dont you define the layout you want to use in the menu item