Blocks and Modules
BlocksSiteSupra block - is a piece of PHP code put on the page. Navigation menus, search, site map are blocks. While rendering a page on user request SiteSupra Engine calls page template, then layout and then blocks. The blocks concept is implemented with a few ground-breaking technological features that makes it extremely effective both for site development and maintenance.
The blockâÀ™s properties are called by right-clicking the block area on the page in Edit Site. When itâÀ™s allowed by website system design, the blocks could be dragged and dropped from the repository to the page. ThereâÀ™s also a possibility of setting access rights on the block-level by implementing a combined page template model. This way the site authors could be limited to manipulating with only some of the blocks on the page, for example text blocks. ModulesThe SiteSupra module is a concept very similar to the SiteSupra block with the main difference in that it isnâÀ™t put on a page and it executes before the page load. The modules are used for developing applications that go beyond page limits and affect the site as a whole. For example User Manager and SupraTrack applications you find in the demo site are modules. A module could be used in combination with blocks or other modules, making that possible to create powerful and versatile applications. The modules are registered in .conf files and are called with an icon on the SiteSupra main toolbar.
|