Following my post earlier HOW to create custom page? I was needed to add custom comments block to the page
I read about this in the article http://www.boonex.com/trac/dolphin/wiki/DolModDev
Which refers me to look in inc/classes/BxDolCmts.php (class)
I read the file and followed by the instauration inside.
1) I added a recorded to the table sys_objects_cmts
2) I added new tables etv_cmts and etv_cmts_track
3) Then I added to the costume page this code
// comments function getBlockCode_BlockTwo() { bx_import ('BxTemplCmtsView'); //bx_import('BxEtvCmts'); //$o = new EtvCmts ('etv', (int)$this->aDataEntry['ID']); $o = new BxTemplCmtsView ('etv',(int)$this->aDataEntry['ID']); if (!$o->isEnabled()) return ''; return $o->getCommentsFirst (); }
And after all I got this error.