SocialEngine: Creating Custom Modules with Widgets

Simple Steps to Creating Widgets in Your Module

Before creating the widget you should the register the widget

Step 1. Register Your Widget

You should follows these steps for register your widget, First go to Your Module.
({social_engine_root}/application/modules/YourModule/settings/content.php) and append the code below

array( ‘title’ => ‘My Widget’,

‘description’ => ‘This is a brand new User Widget’,

‘category’ => ‘Your Widget’,

‘type’ => ‘widget’,

‘name’ => ‘yourmodule.mywidget’,

),

Now the Widget is registered with SocialEngine. To Find the Your widget goto Admin Section Appearance->Layout Editor->Goto layout section in your module profile your widget name appears there.

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply