J3 Issue ?
avatar mbabker
mbabker
7 Jul 2018

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.

avatar mbabker mbabker - open - 7 Jul 2018
avatar joomla-cms-bot joomla-cms-bot - change - 7 Jul 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 7 Jul 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 7 Jul 2018
Status New Discussion
avatar franz-wohlkoenig franz-wohlkoenig - change - 7 Jul 2018
Category com_templates
avatar brianteeman
brianteeman - comment - 11 Jul 2018

maybe i am missing something but dont you define the layout you want to use in the menu item

avatar mbabker
mbabker - comment - 11 Jul 2018

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
.

--

  • Michael Please pardon any errors, this message was sent from my iPhone.
avatar brianteeman brianteeman - change - 2 Aug 2018
Labels Added: J3 Issue
avatar brianteeman brianteeman - labeled - 2 Aug 2018
avatar mbabker
mbabker - comment - 9 Sep 2018

I don't have time for this and the odds of anyone else picking it up are slim to none.

avatar mbabker mbabker - change - 9 Sep 2018
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2018-09-09 16:54:24
Closed_By mbabker
avatar mbabker mbabker - close - 9 Sep 2018

Add a Comment

Login with GitHub to post a comment