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

No template was provided for render! Class `EMARTICLES_CMP_LatestArticlesWidget`. | Forum

Topic location: Forum home » Support » General Questions
Stefan
Stefan Sep 23 '11
Hello guys, I am trying ti build a widget. but after making a base for it and trying to display, I get the error in the title.

I have my widget in <plugin>/components/latest_articles_widget.php
the contents are
class EMARTICLES_CMP_LatestArticlesWidget extends BASE_CLASS_Widget 
{

public function __construct( BASE_CLASS_WidgetParameter $paramObj )
{
$this->assign('hello', 'hi');
}

};

and in <plugin>/views/components/latest_articles_widget.html
I have a few words.
Am I missing something? I can't find my error.
Please help.
The Forum post is edited by Stefan Sep 23 '11
Stefan
Stefan Sep 23 '11
I found my error finally. after about an hour.
I failed to call the parent::_constructor method in the constructor;
Den Team
Den Sep 26 '11
Nice to hear that you fixed it by yourself :)