Author Topic: Adding text to existing compose.html  (Read 1684 times)

Offline nlreeftank

  • Jr. Member
  • **
  • Posts: 14
Adding text to existing compose.html
« on: December 04, 2012, 01:53:18 PM »
Hi all,

Im trying to add text to the existing compose.html

i added this to compose.html

Code: [Select]
<tr>
<td class="title"><label for="_from">Ontvangen:</label></td>
<td class="editfield">
<roundcube:label name="aantal_ontvangen" />
</td>
</tr>
    <tr>
<td class="title"><label for="_from"><roundcube:label name="from" /></label></td>
<td class="editfield">
<roundcube:object name="composeHeaders" part="from" form="form" id="_from" tabindex="1" />
<a href="#identities" onClick="return rcmail.command('identities')" class="iconlink edit"><roundcube:label name="editidents" /></a>
</td>
</tr>

in my plugin i init with

Code: [Select]
$this->register_handler('aantal_ontvangen', array($this, 'my_function'));
that calls

Code: [Select]
function my_function()
{
  $content = "dit werkt";
  return($content);
}

but this aint filling in the text.
what do i do wrong here?


Offline nlreeftank

  • Jr. Member
  • **
  • Posts: 14
Re: Adding text to existing compose.html
« Reply #1 on: December 05, 2012, 09:03:49 AM »
I wish the support was beter around here, takes ages to get an answere on posts