Roundcube Community Forum

 

Enhance message list

Started by ihkawiss, August 09, 2013, 06:39:38 AM

Previous topic - Next topic

ihkawiss

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

SKaero

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.

ihkawiss

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

SKaero

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