Show Module Link at Left Menu Admin OpenCart. Save your time while you develop or install or edit modules/extnesions. For installation just upload the module and you are set.

Download for free OpenCart Version 3
ShowModuleLinkAtLeftMenu.ocmod

For OpenCart version 2 please download from below:

showmodulelinkatadmin2.ocmod

Code written for OpenCart version 3

<?xml version="1.0" encoding="utf-8"?>
<modification>
    <name>Show Module Link At Left Menu</name>
    <version>3.0</version>
    <author>Rupak Nepali</author>
    <link>https://webocreation.com</link>
    <code>webocreation_show_module_link_at_left_menu</code>
    <description>Show module link at left menu</description>
    <file path="admin/controller/common/column_left.php">
        <operation>
            <search><![CDATA[ if ($this->user->hasPermission('access', 'marketplace/extension')) { ]]></search>
            <add position="after"><![CDATA[
                $marketplace[] = array(
                    'name'   => "Modules",
                    'href'     => $this->url->link('marketplace/extension&type=module', 'user_token=' . $this->session->data['user_token'], true),
                    'children' => array()
                );
            ]]></add>
        </operation>
    </file>
</modification>

Code written for OpenCart version 2 is below:

<?xml version="1.0" encoding="utf-8"?>
<modification>
    <name>Show Module Link At Left Menu</name>
    <version>2.0</version>
    <author>Rupak Nepali</author>
    <link>https://webocreation.com</link>
    <code>webocreation_show_module_link_at_left_menu_2</code>
    <description>Show module link at left menu</description>
    <file path="admin/controller/common/column_left.php">
        <operation>
            <search><![CDATA[ if ($this->user->hasPermission('access', 'extension/extension')) { ]]></search>
            <add position="after"><![CDATA[
                $extension[] = array(
                    'name'   => "Modules",
                    'href'     => $this->url->link('extension/extension&type=module', 'token=' . $this->session->data['token'], true),
                    'children' => array()
                );
            ]]></add>
        </operation>
    </file>
</modification>

Thanks and let me know if you found any issues.

 

 

LEAVE A REPLY

Please enter your comment!
Please enter your name here