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

Links
PHP
TemplatePower
ZOPE
HotScripts
ScriptSearch

Phite (GitHub)
PHITE is now listed on GitHub


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.

Box Example
This is the Right box for the Basic Concepts page. It appears because there is a file called RB_001_Box_Example.inc with this text in it, in the directory PT_003_Basic_Concepts.

 
Chris Robson 2002, Tom Brennfleck 2009
Privacy        Disclaimer
Online: 1    Today: 1    Total: 74,024
Powered by Phite