We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Widget - cannot get it to display content | Forum

Martin P
Martin P May 22 '14

New to Oxwall, I've create a simple widget that I have it appearing down the right hand side bar.  The title of the widget it appearing, but no content from the test_widget.html file


What am I doing wrong?

The Forum post is edited by Martin P May 22 '14
dave Leader
dave May 23 '14
are you assigning the var to smarty so you can grab it on the html side. 


example, in your php file you have 


$myvalue = "whatever";

$this->assign('myvalue', $myvalue);


now you can grab it on the html side. 


in your html file


{$myvalue}