Blocks are like a newspaper’s front page: they are teasers that incite readers to read more complete stories in the inside pages. Blocks offer small bits of dynamic content with links to the actual content stored in the module.

Part of the things that happen under the hood or behind curtains when a module is installed in a XOOPS site is that the module’s blocks are registered in the system so they can be used at will by the webmaster.

What can a webmaster do with a block? Well, mostly, decide about where in the site the block will be shown (the equivalent of defining a shop window, which in this case can be in the outside, the home page, or even in the inside: a block can be defined to be shown in other modules), and when shown, where in a page will it be seen.

Every module that is installed in a XOOPS site registers its blocks in the system, and the webmaster can decide where it will be shown, in what part of the page it’ll appear and what kind of relevance, weight or position will it have. The site administrator can also edit the block’s label and, if knowledgeable enough, can even edit the template that underlies the block’s presentation.

Last updated