Category Archives: Socialengine

I am currently trying to learn the open source social engine and would like to share my finding with youall . Here I will explain how we can develop a widget that will display a text on a page .

1) Create a folder with a meaningful name in “application/widgets”. here I use “phpcodez” .
Type the following commands from socialengine installation directory

cd application

mkdir phpcodez

2) Then create 3 files “Controller.php” ,”index.tpl” and ”manifest.php” in the new folder “phpcodez”

gedit Controller.php
gedit index.tpl
gedit manifest.php

As you know the socialengine follows MVC structure . So controller lies in “Controller.php”
and view lies in “index.tpl” . The file “manifest.php“ ,will tell the system that a new widget has been added .