Author Topic: Compose window Identities combo  (Read 2818 times)

Offline grpprod

  • Full Member
  • ***
  • Posts: 53
Compose window Identities combo
« on: January 11, 2011, 03:13:12 AM »
Hi,
how would I proceed to convert the From: combo to a simple label when using only one identity? I tried to edite compose.html template but it refers to objects and I can't find the respective code.
Thanks

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Compose window Identities combo
« Reply #1 on: January 11, 2011, 12:58:31 PM »
The drop down is generated in /program/steps/mail/compose.inc in the rcmail_compose_header_from function under the comment "// get this user's identities". However it would be better to make the changes with a plugin.

Offline grpprod

  • Full Member
  • ***
  • Posts: 53
Compose window Identities combo
« Reply #2 on: January 12, 2011, 01:01:03 AM »
Thank you. I am not sure though what do you mean 'with a plugin'. Did you have a specific one in mind or did you mean I have to create one on my own?

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Compose window Identities combo
« Reply #3 on: January 12, 2011, 05:56:05 AM »
I don't know of one that does what you want but you could make one, that way you don't have to patch the core files when you update RoundCube.