PHITE: Content Snippets |
Home > Quick Start > Basic Concepts Elements Blocks Content Snippets PHITE Environment Other Features Security > Code Examples > Tool Examples > Choose Skin > Contact Me > Help > Credits > Downloads > PHITE Sites
|
Content Snipets PHITE block or element files can contain plain text, HTML or PHP (or a mixture of all three). Creating these files or 'snippets' is very simple. Plain Text files will simply have their text inserted in the appropriate element or block. HTML can also be included, but must not include the <HTML>, <HEAD> or <BODY> tags -- these will come from the .tpl template file.
PHP can also be included, by enclosing the PHP as usual in <?php ... ?> tags.
See the section on PHITE variables for gaining access to the environment. |
|
|