Search found 1 match

by aarondeloach
Sun Jul 01, 2012 5:29 am
Forum: HTMLPad / Rapid CSS / Rapid PHP / WeBuilder Support
Topic: Templates and Path References
Replies: 1
Views: 1836

Re: Templates and Path References

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> ...