Hello,
Is it possible to add a contact picture to one of the cols in Message List?
I am not using the
| , so could I use it to display the sender's picture?
In order to get it done, I suppose I would have to add an sql select statement inside | , right?
I've searched and can't seem to find the file which generates the | , where can I find it?
Thank you. :)
Anyone knows where the file is located? I can't seem to find it :/
i think you can do it with a plugin on the messages_list hook
Hi JohnDoh,
I must confess I don't know Object Oriented PHP (I am learning at a very slow pace because the project i'm in doesn't allow much time to learn), so it's a bit difficult sometimes to work around the plugins.
What I would ask is if you could point me to a more specific location as to where the 'cols' in the message list are created so that I can figure out how to put some data inside.
For instance, I'm thinking of using the 'size' and 'threads' cols to put inside the contact's photo (using a db query) and the delete message button.
Can I do that? (I suppose it's not a very organized way to do it, but I'm extremely low on time to learn Object Oriented PHP)
Thank you! :)
edit - ok, so I managed to find the mail/program/steps/settings/edit_folder.inc file and I can add an extra col called 'photo'.
// Settings: sorting column
...
$select->add(rcube_label('photo'), 'photo');
But I still have no clue as to where I can find the place to add content inside that label / col.
:D Just read.
candylost: read where?
I'm still stuck at this... can you guys help me out? :)