Author Topic: Enhance message list  (Read 3409 times)

Offline ihkawiss

  • Jr. Member
  • **
  • Posts: 15
Enhance message list
« on: August 09, 2013, 06:39:38 AM »
Hello

For our theme we want a alternative message list, which just has also some first parts of the body, so that you can already read the first line for example.

Can this be done without changing the roundcube core ? With a plugin ? Or is it already possible to get the body for a specific message - not the selected.

Would be great if you can give me hint.

Best regards ihkawiss

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: Enhance message list
« Reply #1 on: August 09, 2013, 11:59:42 AM »
The message list only gets the email headers so it not a change that you could easily make. You may be able to do it with a plugin but it would probably be easier to modify the core which isn't a really good idea.

Offline ihkawiss

  • Jr. Member
  • **
  • Posts: 15
Re: Enhance message list
« Reply #2 on: August 12, 2013, 06:12:22 AM »
Hello SKaero

Thanks for your reply!

We really would like to add those enhancements. Can you give me a hint, where I should make the changes ? I've seen that rcmail_imap.php does some maillist - should that be done there ?

Thanks a lot and best regards
ihkawiss

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: Enhance message list
« Reply #3 on: August 12, 2013, 05:56:32 PM »
In order to get the first line of the body your going to have to get the whole message body, it will add a huge performance overhead. Take a look at the hooks available in and see if you can use them to do what you want: http://trac.roundcube.net/wiki/Plugin_Hooks