FAQ - Add your Sidebar Widget

Add your Sidebar Widget

6129


Step by Step guide to add your own sidebar widget.

First you need to create the sidebar widget file within the template you use:

img

In our case we created a file with Google Adsense as content. After you created the file and his content (in our case mycustomwidget.php), head to your adminstration panel and go to Hooks - New Hook.

img

Important here is to use the tpl_sidebar hook and in the code field insert the name of your file you just created (mycustomwidget.php).

img

Now go to any page, news or plugin and your just created sidebar widget is now available to use.

img

You have just created your first sidebar widget, used the integrated hook system in CMS.