Portal Template Tags
The following tags are used in portal templates. See Create A Template for instructions on how to use them.| Tag | Purpose |
|---|---|
| <?php $gridwidth = 760; ?> | Specify the width of the grid |
| <link href="menus.css" rel="stylesheet" type="text/css" /> | CSS for the menus and buttons |
| <?php _e($props['projectName']); ?> | Returns the project name |
| <?php _e($head); ?> | Place inbetween the <head> tags (includes required css) |
| <?php include("$realpath/$tpl-article.php"); if(file_exists("$realpath/$tpl-article2.php")) include("$realpath/$tpl-article2.php"); ?> | Main body |
| <?php include($realpath.'/footer.php'); ?> | Footer |
| Miscellaneous | |
| <?php _e($props['projectDescription']); ?> | Returns the project description |
| <?php include('itemsgrid.php'); ?> | Returns the list of pages and items |
| <?php include('itemlist.php'); ?> | Returns formatted list of project items (documents, images etc) |
Programmer Notes | Return to What's up?
