No Code Attached Yet Documentation Required
avatar brianteeman
brianteeman
30 Jan 2022

Maybe my search skills are failing but I can't find any documentation for either of these new features. Not even a three sentence summary.

avatar brianteeman brianteeman - open - 30 Jan 2022
avatar joomla-cms-bot joomla-cms-bot - change - 30 Jan 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 30 Jan 2022
avatar dgrammatiko
dgrammatiko - comment - 30 Jan 2022

Depends on your expectations:

  • If you're looking for documentation on the use of those features, I guess there are no docs.
  • If you're looking for the explainers of the features, then for the child templates is here
avatar brianteeman
brianteeman - comment - 30 Jan 2022

I guess I was looking for both and expecting to find them on docs.joomla.org

avatar brianteeman
brianteeman - comment - 30 Jan 2022

Actually I was also looking for a high level overview of why we have both these new features. I've made an attempt at that which if correct someone can add to the docs site in the correct place as a start.

Child Templates

How do you override an override and not lose it on update? How do you create multiple different overrides of the same view?

Welcome to the world of Child Templates.

A child template works exactly the same as any other template except that it uses all the code, php, css and javascript, of its parent template. At its most basic level it only contains a single file, templateDetails.xml, as everything else is inherited from the parent.

Now with a child template you can customise an override or css and keep the parent template as clean as the day your template provider supplied it. There is no limit on the number of child templates that you can create so each one could have different layouts and styles.

Schedule Tasks

Many Joomla extensions provide options for automating certain tasks eg optimising images, performing a backup or sending a newsletter.

Until now they have all needed to create their own code to schedule the task and/or rely on the site owner understanding how to set up a cron job..

With Joomla 4.1 there is now a core provided component that developers can use with their extensions. It's as simple as writing a new plugin and then the Schedule Tasks component provides all the automation and controls for the site owner to manage the task.

avatar Quy Quy - change - 11 Feb 2022
Labels Added: Documentation Required
avatar Quy Quy - labeled - 11 Feb 2022
avatar brianteeman brianteeman - change - 14 Feb 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-02-14 13:54:25
Closed_By brianteeman
avatar brianteeman brianteeman - close - 14 Feb 2022

Add a Comment

Login with GitHub to post a comment