Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Joomla! 4 Masterclass

You're reading from   Joomla! 4 Masterclass A practitioner's guide to building rich and modern websites using the brand-new features of Joomla 4

Arrow left icon
Product type Paperback
Published in Jan 2023
Publisher Packt
ISBN-13 9781803238975
Length 338 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Luca Marzo Luca Marzo
Author Profile Icon Luca Marzo
Luca Marzo
Arrow right icon
View More author details
Toc

Table of Contents (26) Chapters Close

Preface 1. Part 1 – Joomla! Out of the Box
2. Chapter 1: A Powerful and Extensible Core FREE CHAPTER 3. Chapter 2: How to Manage Content 4. Chapter 3: Advanced Content Management 5. Chapter 4: Exploring the Flexibility of Modules 6. Chapter 5: Building Your Site Structure: the Menu System 7. Chapter 6: Managing Users and Their Permissions 8. Part 2: Advanced Features
9. Chapter 7: SEO at Its Best 10. Chapter 8: One Site, Multiple Languages 11. Chapter 9: Planning Operations with Scheduled Tasks 12. Chapter 10: Tailored Communication with Mail Templates 13. Chapter 11: Command-Line Interface 14. Part 3: Styling and Securing Your Website
15. Chapter 12: Styling Your Website – Templates 16. Chapter 13: Customize Everything with Overrides 17. Chapter 14: Child Templates 18. Chapter 15: Template Frameworks 19. Chapter 16: Advanced Features – Access and Security 20. Part 4: Case Studies
21. Chapter 17: Case Study – A Corporate Website in Joomla 22. Chapter 18: Case Study – Online Academy with Joomla 23. Chapter 19: Case Study – A B&B Booking System with Joomla 24. Index 25. Other Books You May Enjoy

Creating a child template

To create a child template, open System Dashboard and click on Site Templates.

You can see whether your template supports child templates thanks to the Parent label next to the name of the template, as in Figure 14.1.

Figure 14.1 – Child templates | Support for child templates

Figure 14.1 – Child templates | Support for child templates

From the list of templates, open your current frontend template. In our example, we’ll use Cassiopeia, which supports child templates.

Click on the Create Child Template button in the toolbar, as highlighted in Figure 14.2.

Figure 14.2 – Child templates | Create Child Template

Figure 14.2 – Child templates | Create Child Template

In the pop-up window, you are requested to insert the name of the child template and to select one or more styles to be included in your child, as in Figure 14.3.

Figure 14.3 – Child templates | Create Child Template | Name and styles

Figure 14.3 – Child templates | Create Child Template | Name and styles

Click on the Create Child Template button in the pop-up...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime