Thursday, September 8

How to adding new menu in magento admin panel

Here I have Created a new Module to Add new tab in admin panel of magento.
My Namesapce Name is Anjan and My Module name is Systab
As you know to make a module first we need to make a .XML file with Namespace_Module name under app/etc/modules/ folder. So My File name will be Anjan_Systab.xml

Now I will write the following code inside this xml



    
        
            true
            local
        
    
 

As My CodePool is local which is written in Anjan_Systab.xml I will create a Folder with name Anjan inside app/code/local/, then again will create another folder with name Systab inside Anjan Folder.Now I will create an etc folder inside the Systab Folder. Inside the etc folder I will create config.xml and will write the following code



    
        
            0.1.0
        
    
    
        
            
                standard
                
                    Anjan_Systab
                    systab
                
                                    
        
        
            
                
                    systab.xml
                
            
        
    
    
        
            
                admin
                
                    Anjan_Systab
                    systab
                
            
        
    
    
        
            
                My Tab
                71
                
                    
                        Manage Profile
                        0
                        systab/adminhtml_systab
                    
                
            
        
        
            
                
                    Allow Everything
                
                
                    
                        
                            
                                
                                    
                                        
                                            System Configuration Tab
                                        
                                    
                                
                            
                        
                        
                            System Configuration Tab
                            10
                        
                    
                
            
        
        
            
                
                    systab.xml
                
            
        
    
    
        
            
                Anjan_Systab_Model
                systab_mysql4
            
            
                Anjan_Systab_Model_Mysql4
                
                    
                        systab
Anjan_Systab core_setup core_write core_read Anjan_Systab_Block Anjan_Systab_Helper

Now Clear your magento cache and login to you admin panel You can see one Tab Named My Tab has been successfully created.

Hope it Helps... Thanks....

No comments:

Post a Comment