Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: ihkawiss on August 09, 2013, 06:39:38 AM

Title: Enhance message list
Post by: ihkawiss 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
Title: Re: Enhance message list
Post by: SKaero 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.
Title: Re: Enhance message list
Post by: ihkawiss 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
Title: Re: Enhance message list
Post by: SKaero 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