Roundcube Community Forum

 

signature above quoted text

Started by SuperATP, March 19, 2008, 08:55:45 PM

Previous topic - Next topic

SuperATP

hi everyone,
i must say that i am loving the new release, its better than ever!
now i have customised my install of roundcube, but i cannot seem to get the signature inserted at the top of a reply.
please can you tell me how to do this, im sure its not that difficult.
i have tried but to no avail.
thanks in advance,
SuperATP

blove57

I've been looking for this too. Any know?

sunside

It was on another thread before, and still works for this release; change the following lines (actually, only the last two lines, no. 1840 + 1841, were changed) in /program/js/app.js:

  // add the new signature string
   if (this.env.signatures && this.env.signatures[id])
    {
    sig = this.env.signatures[id]['text'];
    if (this.env.signatures[id]['is_html'])
     {
     sig = this.env.signatures[id]['plain_text'];
     }
    if (sig.indexOf('-- ')!=0)
    // sig = '-- \n'+sig;
    message = '\n\n'+sig+'\n\n'+message;
    }