login | register
Fri 09 of Jan, 2009 (21:05 UTC)

bitweaver - Web Application Framework and CMS

Web Application Framework and CMS

Refresh cacheHistoryPrint

block.bitmodule

Created by: hiran, Last modification: Mon 15 of Jan, 2007 (13:03 UTC)
Help creating modules. To make a module it is enough to place this tag into a corresponding mod-name.tpl file in the modules directory.
A {bitmodule} block should use 2 Smarty templates:
  • 1) module.tpl = usual template to generate module look-n-feel
  • 2) module-error.tpl = to generate diagnostic error message about incorrect {bitmodule} parameters

Parameters

nameThe module name, which will be used as kind of identifier within Bitweaver.
titleThe user display name for picking the module from a list.


Sample

{bitmodule name="module_name" title="Module title"}
    <!-- module Smarty/HTML code here -->
{/bitmodule}


See also

Comments

Related Items

Documentation » Technical Documentation » Smarty Functions

a list of custom smarty functions that are used and maintained by bitweaver

block.bitmodule  •  block_box  •  block_form  •  block_forminput  •  block_jstabs  •  block_legend  •  function_biticon  •  function_bit_select_datetime  •  function_formlabel  •  function_libertypagination  •  function_pagination  •  function_smartlink  •  function_var_dump  •  Smarty Functions