[ Video Sharing CMS v4 ] comments in article-post issue

Started by ollipaust,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ollipaustTopic starter

hello,

i wanted to implement the comment system on articles.

for this, I edited "default.php" and added the line

<?php echo comments(); ?>


It actually works fine, but I get this message above:

QuoteNotice: Trying to get property of non-object in /home/jpaust/public_html/lib/comments.php on line 9

Tried to fix it alone, but I'm not good enough yet.

I appreciate any help :)
  •  

PHPVibe A.

It needs an complex edit in the comments function, as it expects an global $video and $video->id right now, being designed specially for videos.

Will update this in a patch.

ollipaustTopic starter

  •  

Similar topics (7)