Blocks are discreet sections of content that can be created and configured in the admin interface. Custom blocks can be created and are typically made up of text, graphics and pictures. The content in these blocks may be formatted individually or inherit the site formatting. Blocks may also be part of a modules display output. The blocks administration page is where all blocks are configured and administered.

Blocks are like a newspapers' 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. They are often used to place HTML content, banners or pictures, and the site administrators can easily create their own blocks with the "custom block" feature.

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