How would I go about adding a compose message form to the users profile page?
How would I go about adding a compose message form to the users profile page? |
Any ideas?
Do I need to do a service call? |
Hello Any ideas?
Do I need to do a service call? You cannot use Service Call because mailbox is not a module. It's a system feature. So, you need to create a PHP block and call getBlockCode_ComposeMessage function from templates/base/scripts/BxBaseMailBox.php file. The code should looks like the following $aMailBoxSettings = array ( Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV |
Fantastic, many thanks AntonLV. For any others with a similar problem, use Anton's code above but add this:
$aMailBoxSettings = array ( 'recipient_id' => $this->oProfileGen->_iProfileID |