Roundcube Community Forum

 

Add priority option in compose..

Started by pratik_1712, February 07, 2011, 05:16:53 AM

Previous topic - Next topic

pratik_1712

I want to add another mandatory option to set the priority in the compose window along with the subject and Recipient..

I need 5 option buttons with different priority levels..

I guess i should use render_page hook in the mail template..

It would be a lot easier to grasp if any plugin already add an additional mandate textbox or any input fields..

or Is the way i am heading correct.. Guide..!!

Thanks and Regards,
Pratik

SKaero

While I have yet to use them I think it'd be best to try and use the template_object_* hook Plugin_Hooks ? Roundcube Webmail
Then you could just append your content to the end of one of the existing objects.

pratik_1712

can you tell any javascript event..?? i could bind the code to..
An event which will trigger every time the compose windows loads..

I think i should use before or after but not sure what command to use..??

SKaero

If you want it to run every time the page is loaded just use the init event and check the task and action http://trac.roundcube.net/wiki/Plugin_Events