Index of /ports/www/lifetype/work/cocomment
Name Last modified Size Description
Parent Directory 17-Jan-2008 11:44 -
class/ 02-Aug-2007 12:48 -
locale/ 02-Aug-2007 12:48 -
plugincocomment.clas..> 01-Aug-2007 16:32 3k
template/ 02-Aug-2007 12:48 -
templates/ 02-Aug-2007 12:48 -
[USAGES]:
1. Upload: Upload all the extract files and directorys to $LifeType_Install_Dir/plugin/cocomment
2. Modify template: Use $cocomment->show($postId) in template file to enbed coComment toggle-integration script in LiFeType.
[IMPORTANT NOTICE]
1. The form must has name and id attribute with value "NewComment", just like
Code:
<form id="NewComment" name="NewComment" ....>
2. The submit button must has name and id attribute with value "post", like
Code:
<input type="submit" name="post" id="post"....>
[EXAMPLE]:
Add the following code in commentform.template to replace </form>:
Code:
{assign var="postId" value=$post->getId()}
{$cocomment->show($postId)}
</form>