Regards,

part of the requirements for a project was to have a block including specific content and messages, i think private messages is a great module so far and the fact that includes a block with links is even better, but the only way to overwrite this block content was hacking the module code which everybody already knows is not a good drupal practice.

what i did was create a patch that transform this functions into theme functions, that way we can overwrite them using the template.php file.

i think this option is really important for users that want to modify that content.

Files: 
CommentFileSizeAuthor
privatemsn.patch3.1 KBtatewaky
PASSED: [[SimpleTest]]: [MySQL] 4,913 pass(es). View

Comments

doors’s picture

I believe this is a needed addition to allow for theming all parts of the module.

ptmkenny’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, privatemsn.patch, failed testing.

ptmkenny’s picture

Version: 7.x-1.2 » 7.x-1.x-dev
ptmkenny’s picture

Status: Needs work » Needs review

privatemsn.patch queued for re-testing.

ptmkenny’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev
ptmkenny’s picture

privatemsn.patch queued for re-testing.