I'd like to see the mailboxes listed in the block list instead of the menu. This way it's possible to control the visibility of the mailboxes.

Comments

miglius’s picture

Status: Active » Needs review
StatusFileSize
new3.66 KB

I have attached a code which lists mailboxes in the block view. It uses a recurrent function for that and shows:

INBOX
  Drafts
    Test

instead of

INBOX.Drafts.Test

Diff is with the Aug 11 version of the pontomail.module

Souvent22’s picture

Status: Needs review » Needs work

Miglius,

Thanks. Could you do a unified diff for me instead though? cvs diff -u
and I'll patch and commit tonight with some other fixes.

miglius’s picture

StatusFileSize
new4.24 KB

here is diff -u output.

miglius’s picture

Status: Needs work » Needs review

Ernest,

Can you patch the module with this block view code I posted in previuos post? I uploaded the code in unified diff file.

miglius’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new4.34 KB

here is the diff with the cvs version (cvs diff -u)

can you review the code and commit it to cvs?

thanks

Souvent22’s picture

Yes, I shall def. 100% patch this tonight to CVS. Sorry, i'm a bit project happy. Attempting a database.oracle.inc right now.....not so fun. blah.

sime’s picture

Just confirming this patch is good.

Souvent22’s picture

Status: Reviewed & tested by the community » Fixed

Patched.

Anonymous’s picture

Status: Fixed » Closed (fixed)
miglius’s picture

Status: Closed (fixed) » Active
StatusFileSize
new1.51 KB

I have reopened this ticket since after some other update to the code the number of unread messages is not showed next to the folder name.

Here is a patch that fixes that.

Also if a pontomail_sendmail module is enabled, "compose" link is printed in the block.

Souvent22’s picture

Commited. Thanks.

Souvent22’s picture

Status: Active » Closed (fixed)

closing