$model = $this->getModel( 'apistring' );
$result = $model->getAPIstring( $userId );
$this->apistring = $result;
the code is located in view.html.php.
When i run
echo $this->apstring;
inside view.html.php i get no error, and the data is outputed.But when i code in:
echo parent::display( 'canvas/default' );
in view.html.php
and
<? $this->apistring;?> or <? echo $this->apistring;?>
in /themes/default/canavas/default.php
I get the following error code.
Notice: Undefined property: SocialThemes::$apistring in /home/norcorp/public_html/media/com_easysocial/apps/user/textbook/themes/default/canvas/default.php on line 20
Looks to me like there are no data in $this-apistring.
What am i doing wrong?