own plug-in doesn't work
Posted: Sun Feb 26, 2006 10:11 am
Hi
One of my own plugins doesn't work (it worked in earlier version of cmsms). It seems some things have changed.
the following lines:
produces the following error:
which is the second line above.
non-object?
$objContent is an object with the "content" in it, or am I wrong?
Help is appreciated
One of my own plugins doesn't work (it worked in earlier version of cmsms). It seems some things have changed.
the following lines:
Code: Select all
$objContent = ContentManager::LoadContentFromId($pageID);
$actualcontent = $objContent->GetPropertyValue('content_en');
Code: Select all
Fatal error: Call to a member function on a non-object in /home/deneirn/public_html/cms/plugins/function.index.php on line 37
non-object?
$objContent is an object with the "content" in it, or am I wrong?
Help is appreciated