Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
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

Example – updating your site through the CLI

In this example, we will update our website using various CLI commands.

First, we will check for updates by using the php joomla.php core:check-updates command and pressing Enter.

The system will notify us of whether a new version can be installed, as shown in Figure 11.9:

Figure 11.9 – CLI | Checking for updates

Figure 11.9 – CLI | Checking for updates

To perform the update, we can execute the php joomla.php core:update command and press Enter.

The system will then process the update. This may take several minutes, depending on the size of the update package. Once the update is completed, the system will prompt you with a confirmation message, as shown in Figure 11.10:

Figure 11.10 – CLI | Joomla core updated successfully

Figure 11.10 – CLI | Joomla core updated successfully

As you can see, updating Joomla through the CLI is very easy.

With this example, we have finished exploring Joomla 4’s CLI.

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 $19.99/month. Cancel anytime
Banner background image