Questions and Answers

How do I collect points?

  • +4
    Chosen as best answer
  • +1
    Posted answer
  • +1
    Posted question
  • +1
    Thumb up
  • -1
    Thumb down
2

by Joginder Sharma in Coding about February 12, 2013 closed - report

How can I add a module or Widget in Admin area.

How can I add a module or Widget in Admin area so that i can add a form in admin area in Social Engine 4.

Answer: 1  •  Score 1  •  Views: 1649

1 Answer
Browse by
  • 264

    by Gaurav Sharma about February 12, 2013 Best answer

    if you want to add any page in the admin secction than in the controller you have to inherit 

     

    your class

     

    class Core_AdminAdsController extends Core_Controller_Action_Admin

     

    and if you want to create a menu under plugin section than you can create in the table

     

    "engine4_core_menuitems"

     

    hope it will help you!

     

    Thanks

    Gaurav Sharma

    5 comments
    • Gaurav Sharma
      by Gaurav Sharma
      February 12, 2013

      please create the new file and follow socialengine naming convention for e.d "AdminIndexController.php"

    • Joginder Sharma
      by Joginder Sharma
      February 12, 2013

      thank you...
      is their any way to add menu item under plugin without accessing the database...

    • Gaurav Sharma
      by Gaurav Sharma
      February 12, 2013

      By default there is a menu editor in layout menu
      but there will be no method to create menu with the help of menu editor in plugin section.
      you have to touch the database.

    • Joginder Sharma
      by Joginder Sharma
      February 12, 2013

      okay.........
      thank you for the info.

Question was closed.