TABLE OF CONTENTS › Defaulting To "Always On"
Some people don’t like how Postmaster “hides” the mail module on the Content > Write tab until and article has been selected or saved. This is very easy to change.
Go to TXP > Admin > Plugins and click the “Edit” link next to Postmaster. At the very top of the plugin you’ll see a block of code like this:
include_plugin('Postmaster Library'); // postmaster library functions
register_callback('bab_pm_zemcontact_submit','zemcontact.submit'); // plugs into zem_contact, public-side
if (@txpinterface == 'admin') {
add_privs('postmaster', '1,2'); // see help for details
register_tab('extensions', 'postmaster', 'Postmaster');
register_callback('bab_postmaster', 'postmaster');
register_callback('bab_pm_zemcontact_submit','zemcontact.submit');
register_callback("bab_pm_eop", 'article' , 'edit', '0');
register_callback("bab_pm_eop", 'article' , 'save', '0');
register_callback("bab_pm_eop", 'article' , 'publish', '0');
// register_callback("bab_pm_writetab", 'article' , ''); // default is "only while editing"
register_callback("bab_pm_writetab", 'article' , 'edit');
register_callback("bab_pm_writetab", 'article' , 'save');
register_callback("bab_pm_writetab", 'article' , 'publish');
}
You want to make it look like this (simply delete the two hash marks):
include_plugin('Postmaster Library'); // postmaster library functions
register_callback('bab_pm_zemcontact_submit','zemcontact.submit'); // plugs into zem_contact, public-side
if (@txpinterface == 'admin') {
add_privs('postmaster', '1,2'); // see help for details
register_tab('extensions', 'postmaster', 'Postmaster');
register_callback('bab_postmaster', 'postmaster');
register_callback('bab_pm_zemcontact_submit','zemcontact.submit');
register_callback("bab_pm_eop", 'article' , 'edit', '0');
register_callback("bab_pm_eop", 'article' , 'save', '0');
register_callback("bab_pm_eop", 'article' , 'publish', '0');
register_callback("bab_pm_writetab", 'article' , ''); // default is "only while editing"
register_callback("bab_pm_writetab", 'article' , 'edit');
register_callback("bab_pm_writetab", 'article' , 'save');
register_callback("bab_pm_writetab", 'article' , 'publish');
}