Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#16 2007-07-10 00:45:23
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: /path/to/site automatically?
Sure. FWIW, you can do:
<txp:php>
$font = 'copper.ttf';
echo zem_ir_set(array(
'group' => 'h3',
'font => $GLOBALS['path_to_site'].$font,
'fontsize' => '16',
'backgroundcolor' => '#111',
'color' => '#ccc',
'transform' => 'lowercase'
'wraptag' => 'h3',
'padding' => '1 3 1 0'
));
</txp:php>
Offline
Re: /path/to/site automatically?
Wow, Mary, I didn’t expect you to go to any trouble! Thank you very much, I’ll use it!
Dozy P My attempt at music
Offline