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

Project 5.3: A multilingual event site

A capstone project brief for developers, a two-language event site with an Event class, custom full and line views in an extension, a listing page and translated content, built on a training installation in six to eight…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/trainers/workshops/module-05-capstone-projects/multilingual-event-site.md

On this page

Project 5.3: A multilingual event site

Developers prove their skills by delivering a small feature end to end. This brief fits the end of the developer bootcamp or the full-stack developer week.

At a glance

CourseWorkshops and bootcamps
ModuleModule 5: Capstone projects
Duration6 to 8 hours
LevelIntermediate to advanced
AudienceDevelopers, alone or in pairs
PrerequisitesContent classes, templates and overrides, extensions (Templates and design, Extensions)

Learning objectives

Learners show that they can:

  • model and create a content class;
  • write full and line view templates and override them per class;
  • package the work as an extension and enable it;
  • support two content languages.

The brief

The invented "Lakeside Music Week" needs an event site in English and one more language. Each concert has a title, a date and time, a venue, a description and an image. The Concerts page lists all concerts in date order. Each concert has its own page. All templates and settings live in an extension lakesidemusic.

PartRequirement
Class"Concert": title, date and time, venue, description, image
ViewsA full view for concerts; a line view used in the Concerts list
ListingThe Concerts folder lists its concerts sorted by date
Extensionlakesidemusic holds the overrides, templates and settings; enabled, autoloads regenerated
LanguagesA second content language; at least two concerts translated

Trainer's notes

  • Review the code against the coding standards and the template rules: output escaped with |wash, no logic copied between templates.
  • Check the extension boundary: nothing outside extension/lakesidemusic changed except the activation.
  • Language: a second language needs to be added to the site before translating (Content languages).

Hands-on exercise

  1. Create the extension skeleton (by hand or with a RAD wizard) and enable it.
  2. Create the class "Concert" and four concerts.
  3. Write the line and full view templates and the overrides in the extension.
  4. Make the Concerts folder list concerts sorted by date.
  5. Add the second content language and translate two concerts.
  6. Regenerate autoloads if the extension has classes, clear caches, and test every page in both languages.
  7. Present the result and the extension's file list.

Expected result

Rubric (each criterion 0, 1 or 2 points):

Criterion012
ClassMissing fieldsCompleteComplete, sensible identifiers and required flags
ViewsDefault views onlyOne custom viewFull and line views, escaped output
ListingUnsorted or missingSorted, default viewSorted by date with the line view
Extension boundaryChanges outside the extensionMostly insideEverything inside; enabled cleanly
LanguagesOne languageSecond language addedTwo concerts translated and shown correctly
PresentationMissingWorksWorks, explained, file list shown

A pass is 8 of 12 points; the rubric is the trainer's own and claims no official status.

Quiz

  1. Why must template output be escaped with |wash?
  2. Where do the overrides of this project live?
  3. What must exist before content can be translated into a new language?
Answers
  1. To output values safely in HTML, so content cannot inject markup or scripts.
  2. In the extension lakesidemusic (its settings and design), not in settings/siteaccess/.
  3. The language must be added to the site (Content languages).

Further reading

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