I use this in a document:
$templ['base'] = '../';
$templ['title'] = 'Untitled Document';
$templ['menu'] = 'menu.php';
include($templ['base'].'templ/2col.php');
and this in the template:
<a href="<?php echo $templ['base'] ?>#">Lorem ipsum dolor</a> ...
Search found 1 match
- Sun Jul 01, 2012 5:29 am
- Forum: HTMLPad / Rapid CSS / Rapid PHP / WeBuilder Support
- Topic: Templates and Path References
- Replies: 1
- Views: 1836