What is a section's “Module”

← Back

A module is a program that renders a page instead of plain text: a form, catalog, help, chess.

An empty “Module” field means a regular text page: whatever you write in the editor is what the visitor sees.

If you enter a module name, the engine will include its code and show the page it renders. The section's text doesn't go anywhere — it's displayed above the module, and that's a convenient place for an introduction.

Commonly needed names:

  • forms — form and calculator builder;
  • static — object showcase with tiles;
  • help — knowledge base (this section);
  • auth — login, registration, password recovery;
  • settings — visitor's personal settings.

The engine doesn't keep a list of modules: the field is a regular text field, and any name works as long as there's a module folder for it on the server. If you get the name wrong, the page will show the section's text and nothing else.

If it didn't work

  • The page is empty. Check the module name — it's written in Latin characters, exactly as the folder on the server.
  • The module has its own settings. Then a “Module settings” button appears in the section window. No button — this module has no settings.
Did the article help?

See also