1
votes

I have a simple problem here. I want to display transactional email tab as a new menu tab in main header menu. By default it displays as System > Transactional Emails

I want to include it in main menu right next to System tab.

I have changed in local/Mage/Adminhtml/etc/adminhtml.xml

<config>
    <menu>
    <system translate="title" module="adminhtml">
            <title>Manage Emails</title>
            <sort_order>80</sort_order>
<!--             <action>adminhtml/system</action> -->
            <children>
            <email_template translate="title">
                    <title>Transactional Emails</title>
                    <action>adminhtml/system_email_template</action>
                    <sort_order>60</sort_order>
                </email_template>
            <config translate="title">
                    <title>Configuration</title>
                    <action>adminhtml/system_config</action>
                    <sort_order>110</sort_order>
                </config>
            </children>

     </system>
     </menu>
</config>

As You can see I must have to put config tab with Transactional Emails tab to make them work. If I remove config tab from it then the whole transational emails module doesn't work. I cant load any template in admin panel.

I dont want the config tab with Transactional Emails Tab. Please Help me to solve this issue. I am using Magento 1.5. Thanks in advance.

1

1 Answers

1
votes

In the same file you mentioned add

<email_template translate="title">
    <title>Transactional Emails</title>
    <action>adminhtml/system_email_template</action>
    <sort_order>100</sort_order>
</email_template>

after </system> tag
here in middle (may be about line:115)

</children>
        </system>   <!--after this add-->


        <email_template translate="title">  <--
            <title>Transactional Emails</title>  <--
            <action>adminhtml/system_email_template</action>  <--
            <sort_order>100</sort_order>  <--
        </email_template>  <--


    </menu>
    <acl>
        <resources>
            <all>

P.S : Don't forget to delete/comment

<email_template translate="title">
        <title>Transactional Emails</title>
        <action>adminhtml/system_email_template</action>
        <sort_order>100</sort_order>
</email_template>

(line : 75 -79)
Otherwise both transactional email would be seen

Hope this help you