Does anybody know the file or table I am suppose to edit to change or remove these buttons in the mailbox section of my website? Thanks in advance for your help!
Does anybody know the file or table I am suppose to edit to change or remove these buttons in the mailbox section of my website? Thanks in advance for your help! |
See the attachment, the embed picture's link expired. Thanks! |
Hello These buttons can be modified via templates/base/scripts/BxBaseMailBox.php file. Find the following lines (near 1336 line number) // generate extended mailbox actions The below code in switch is used to generate action buttons for different mail box tabs, like Inbox, Outbox, Trash, etc. Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV |
Hi, Thanks for your help. I found that if I remove this from that file: 'inputs' => array( 'actions' => array( 'type' => 'input_set', 'colspan' => 'true', 0 => null, 1 => array ( 'type' => 'button', 'value' => $aLanguageKeys['restore_message'], 'attrs' => array('onclick' => 'if (typeof oMailBoxViewMessage != \'undefined\') oMailBoxViewMessage.restoreMessages(' . $aRow['ID'] . ');'), ), It disables the "restore" button, however, it does not completely remove it and I cannot find the line that deals with the "delete" button in the trash mode of the mailbox. What I am trying to do is make it so my users can delete the messages from the trash folder, but I dont want it to be that they are gone forever. I mean, I should be able to go back in PhpMyAdmin and access the table with the messages even though the user may have deleted the message. As it looks now, when the user deletes it, it is completely deleted.
|
Does anyone know how to do this? |
Please Help. |
Nevermind. Fixed It! |