Advanced Search  :  Site Statistics  :  Directory  :  Web Resources  :  Forum  
    Plugins for Geeklog Geeklog Plugins    
 Welcome to Plugins for Geeklog
 Saturday, May 17 2008 @ 07:08 AM EDT

More comments questions

   
PluginsOK, I am slowly understanding how to enable comments on my plugin, but one key thing that seems to not be documented is : how do I call the comment engine from my code? My plugin has many screens and obviously not all of them should have comments enabled. Only when I get a detailed view of an individual yeast in my yeast db should comments be enabled.

Poking through the lib-common.php I see COM_commentBar(), and my guess would be that I call this where I want to enable comments (in addition of course to implementing the 4 comment APIs). So I downloaded the filemgt plugin just to view it as sample code, and unfortunately there do not appear to be any calls in it to 'commentbar', so maybe I'm wrong.

And even if I'm right, and example would be nice. The in-line code comments in the lib-common do not give me all I need to know about how to call this function.

thanks,
-Alan
p.s. Here is my plugin

 

What's Related

Story Options

More comments questions | 2 comments | Create New Account
The following comments are owned by whomever posted them. This site is not responsible for what they say.
More comments questions
Authored by: anonymous on Saturday, January 25 2003 @ 08:45 PM EST
OK, I think I just found my answer here
http://gplugs.sourceforge.net/pluginman/CommentAPI.php
I\'ll go through it and let you know if I still have problem.

thanks,
-Alan
 Copyright © 2008 Plugins for Geeklog
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By Geeklog 
Created this page in 0.16 seconds