IF you try put to template, variables who is integer -
you don't get anything.
Sample:
<!-- template.tpt -->
<span>I put here integer = '<sm type="area"
name="integer">'</span>
<!-- end -->
in mod file:
$TEMP =& $this->useTemplate('template');
$int = 293;
$TEMP -> addText($int,'integer');
you get:
I put here integer = ''
if you change mod file:
$TEMP -> addText($int.'','integer');
you get correct text.
Greetz,
Kamil Kowalski
kowalski-kamil[at]wp[dot]pl