- b2evolution CMS User Manual
- Developer Reference
- How to... (Customize)
- How to display comments, trackbacks and pingbacks UNMIXED
How to display comments, trackbacks and pingbacks UNMIXED
This man page refers to b2evolution version: 0.8.2-RC1
Feedback is displayed by the _feedback template, which is usually included by the _main template.
To display comments, trackbacks and pingbacks UNMIXED, use the following code snippet in the _main template:
<?php
// this includes the comments and a form to add a new comment
$disp_comments = 1; // Display the comments if requested
$disp_comment_form = 1; // Display the comments form if comments requested
$disp_trackbacks = 0; // Display the trackbacks if requested
$disp_trackback_url = 0; // Display the trackbal URL if trackbacks requested
$disp_pingbacks = 0; // Display the pingbacks if requested
include( dirname(__FILE__)."/_feedback.php");
// this includes the trackbacks
$disp_comments = 0; // Display the comments if requested
$disp_comment_form = 0; // Display the comments form if comments requested
$disp_trackbacks = 1; // Display the trackbacks if requested
$disp_trackback_url = 1; // Display the trackbal URL if trackbacks requested
$disp_pingbacks = 0; // Display the pingbacks if requested
include( dirname(__FILE__)."/_feedback.php");
// this includes the pingbacks
$disp_comments = 0; // Display the comments if requested
$disp_comment_form = 0; // Display the comments form if comments requested
$disp_trackbacks = 0; // Display the trackbacks if requested
$disp_trackback_url = 0; // Display the trackbal URL if trackbacks requested
$disp_pingbacks = 1; // Display the pingbacks if requested
include( dirname(__FILE__)."/_feedback.php");
?>