Самостоятельные модули (standalone modules) - это модули не привязанные ни к какой категории. Более того - они не привязываются ни к какой категории в принципе.
Можно рассматривать standalone модули как простой include php файла. Т.е вы можете вставить код в любое место, в шаблоны, в другие модули, в messages.
Синтаксис: <?php WBG::module("module_name")?>. Пример output шаблона со вставками модулей:
<html>
<header>
<title>Test output template</title>
</header>
<body>
<table>
<tr>
<td><?php WBG::module("navigation-top")?></td>
</tr>
<tr>
<td><?php WBG::content()?></td>
</tr>
<tr>
<td><?php WBG::module("navigation-footer")?></td>
</tr>
</table>
</body>
</html>
<header>
<title>Test output template</title>
</header>
<body>
<table>
<tr>
<td><?php WBG::module("navigation-top")?></td>
</tr>
<tr>
<td><?php WBG::content()?></td>
</tr>
<tr>
<td><?php WBG::module("navigation-footer")?></td>
</tr>
</table>
</body>
</html>
В данном примере мы видим output template, который содержит 2 standalone модуля.
navigation-top и navigation-footer.
Модули
Документы раздела