13
pablo103: solution for catads 1.53:
open catads/templates/catads_item.html
find around line 199:
le="color: #000000"><?php <{/if}> </div>
replace with:
le="color: #000000"><?php <{/if}> </div> <!-- Start Comments --> <a name="comments"></a> <{include file="db:rmc_comments_display.html"}> <{include file="db:rmc_comments_form.html"}> <!-- /End comments -->
open catads/adsitem.php
around line 363 find:
le="color: #000000"><?php showAds(); include XOOPS_ROOT_PATH.'/include/comment_view.php';
replace with:
le="color: #000000"><?php 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