WebBasic CMS


Templates in Web Basic a single file in HTML format. To perform various actions (loops, conditions, inserting data, etc.) is used special instructions in the tag attributes. Thus, the HTML structure does not break third-party code.

To insert database fields, use double curly brackets. It also supports multiple fields.


    <head data-wb-role="include" data-wb-src="/tpl/head.inc.php"> 
       <nav data-wb-role="include" src="/tpl/menu.inc.php"> 
         <div data-wb-role="foreach" data-wb-from="peoples" data-wb-where='phone > ""'>
              <p>{{firstname}} {{lastname}} - {{phone}}</p>

Learn More about Web Basic instructions.