13
pablo103: solution for catads 1.53:
open catads/templates/catads_item.html
find around line 199:
<{/if}>
div>
replace with:
<{/if}>
div>
<a name="comments">a>
<{include file="db:rmc_comments_display.html"}>
<{include file="db:rmc_comments_form.html"}>
open catads/adsitem.php
around line 363 find:
showAds();
include XOOPS_ROOT_PATH.'/include/comment_view.php';
replace with:
showAds();
include XOOPS_ROOT_PATH.'/include/comment_view.php';
//get all comments for this article/item
RMFunctions::get_comments('catads','catad='.$_GET['ads_id']);
// Comments form
RMFunctions::comments_form('catads', 'catad='.$_GET['ads_id'], 'module', '');
Now comments work for catads