Example of using a Block Layout template with PN .714
(= only for templating module functions and blocks here)

  1. Variables : &pnt-var-test;
     
  2. Loops :

     
  3. If ... elseif ... else ... : this is 1 (= if) this is 2 (= elseif) this is another (= else)
     
  4. Links to PN API-compliant modules : PostCalendar Module
     
Current template : user-main.pnd
Current module : index.php
Block Layout files : (download)
- tests/pnTemplate7x.php : wrapper file for PN .7x (available in the next tarball)
- html/includes/pnBLCompiler.php : BL compiler
- docs/blocklayout : future BL specs

For more complex BL templates, see the Xaraya articles test site. All 'articles' there (News Articles, Documents, Reviews, Pictures, Web Links) are using the same code and functions, but different module templates...