login | register
Mon 15 of Mar, 2010 (19:46 UTC)

bitweaver - Web Application Framework and CMS

Web Application Framework and CMS

Refresh cacheRSS feedPrint

Do I use the $smarty global variable to display pages?

by Stephan Borg
Friday 01 of July, 2005
Posted to Developer's FAQ
Uh, no - we use:
$gBitSystem->display( 'tikipackage:articles/list_articles.tpl', tra("articles") );

Where:
  • 'tikipackage:articles/list_articles.tpl' is a url to find package templates store under package/templates/ directory
  • tra("articles") is used to change the browser title - should be standard practise to do this and indicate where in the CMS you are (and what you're looking at).

Comments