Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

Module 7: Extensions

The seventh module of the Developers course. Learners map the anatomy of an extension, give theirs metadata and a license, regenerate autoloads and activate extensions, declare dependencies for the loading order, and…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/trainers/developers/module-07-extensions/README.md

On this page

Module 7: Extensions

Since module 1 learners have built mysite_hello one piece at a time. This module turns it into a proper extension: a map of what it holds, its identity and license, the autoloads and activation that make its code reachable, its place in the loading order, and a template operator as the last piece.

At a glance

CourseDevelopers
Duration3 hours 55 minutes (with one 10-minute break)
Lessons5
LevelIntermediate to advanced

Lessons

LessonDurationWhat learners do
Lesson 7.1: The anatomy of an extension40 minutesMap every file of mysite_hello to its extension point and setting
Lesson 7.2: extension.xml, ezinfo.php and a license45 minutesWrite the metadata, add a license, check the About page
Lesson 7.3: Autoloads and activation45 minutesezpgenerateautoloads.php -e, Setup > Extensions, class not found
Lesson 7.4: Loading order and dependencies40 minutesRead the order, declare <uses>, see the real loading position
Lesson 7.5: A template operator55 minutesWrite, register and use mysite_initials

Preparing this module

  • Each learner has mysite_hello with the pieces of modules 3 to 6 committed in its own Git repository.
  • xmllint is installed on the learners' machines (lesson 7.2); check with xmllint --version.
  • An administrator account for the Extensions page and the About page.
  • Rehearse lesson 7.3 step 3 (the class not found on purpose) so you can show the debug output on the projector.

Timing plan

PartMinutes
Lesson 7.140
Lesson 7.245
Lesson 7.345
Break10
Lesson 7.440
Lesson 7.555
Total235

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x