3

Does anyone know how to assign a template to a specific component? I know I can create menu items and then assign URLs to a template. But how can I assign a template (not the default) to a component without menu items? Thanks!

1

I think this isn't possible out of the box. I can imagine such a functionality can easily be added by a custom plugin which checks the current component and then set the required template.

  • 1
    Did some digging. Looks like Peter from RegularLabs has your back. extensions.joomla.org/extension/advanced-template-manager – Rixters Feb 5 '18 at 23:00
  • Thank you so much, I was trying to avoid another extension – Nuno Nogueira Feb 6 '18 at 11:27
  • @NunoNogueira: In my answer on the following link (although it proved that the OP had asked a different question), - I describe how a such plugin would look like: joomla.stackexchange.com/questions/21997/…. As for trying to avoid another extension - note that especially the plugin system is designed for this exact purpose. To give you the ability to hook into the Joomla operation and adjust how it behaves, especially for cases like this. So a plugin here is the way to go. – FFrewin Feb 6 '18 at 23:21
1

You can use this: https://www.regularlabs.com/extensions/advancedtemplatemanager but not work with all Joomla template framewoek such as Gantry

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.