Тёмный

Child Templates in Joomla 4.1 

OSTraining
Подписаться 44 тыс.
Просмотров 3,8 тыс.
50% 1

It's never a good idea to edit a template file that might get changed or reverted with an update to your CMS. Typically, if you wanted to add your own changes to a template, you would create a child template. It was a bit of a process to create a child template in Joomla and most template companies created their own way of managing this feature.
With the release of Joomla 4.1, we now have a native way of creating and managing child templates. In this video Rod demonstrates how easy it is to do and highlights a couple of caveats you'll need to know.
For more Joomla Training visit ostraining.com

Опубликовано:

 

13 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 8   
@pythonantole9892
@pythonantole9892 2 года назад
This is really cool, one pain i have always had is serving a modified template on specific pages. This will make it much easier than the long route of creating template duplicates.
@maikkaune
@maikkaune 2 года назад
AFAIK, Joomshaper's Helix Ultimate does not have any CHILD template feature. But they have moved all default overrides to the system plugin, so you can even override those defaults, something that was impossible in previous Helix releases. On the other hand, this is nice but makes the whole J! core override check and comparison feature useless :(
@Ostraining
@Ostraining 2 года назад
Maik, thanks for sharing that info on Helix.
@patricktoulze1274
@patricktoulze1274 2 года назад
Yes, great addition to te core and I think that “GOOD” Joomla Templates providers should do everything to level with Joomla core functions until it start to restrict the power of their framework.
@Take-the-Ticket
@Take-the-Ticket 2 года назад
Does this mean multiple overrides for a given module or component views? Like normally you would just have the one "html" sub directory and that's it. That would be awesome, I've wanted that soooo many times.
@maikkaune
@maikkaune 2 года назад
Basically yes... but you could always create multiple "alternative layouts" with a new name. On the other other hand, you might switch a complete set of different overrides by assigning a Child template style. Can't imagine that I would ever need it... but possible.
@patricktoulze1274
@patricktoulze1274 Год назад
You deleted my comments about the new Astroid framework permitting the child template possibilities. I unsuscribe from your channel
@sonvnn
@sonvnn 8 месяцев назад
Opps! I think if I think if there is no justice here, we don't need to care about them anymore 😂
Далее
The Joomla Menu Module Mystery Solved
7:31
Просмотров 1,1 тыс.
Manage All Your Joomla Sites for Free!
8:01
Can You Really Make Drupal's Layout Builder Usable?
9:52
Overview of Literature Survey
21:21
Просмотров 126 тыс.