1 7doves Apr 04, 2008 22:16
3 7doves Apr 09, 2008 02:37
Hi Francois
I am trying to show comments so that they appear inline under the post they refer to (I don't have that many!)
I had this working pre-upgrade to 2.4.1 but it is not active now and I have no idea what was done to make it work formerly!
The skin I am using is based on Nifty Corners.
Will PM you the url.
TIA
4 fplanque Apr 09, 2008 15:42
ok, nitfy corners, index.main.php around line 255, use this:
<?php
// ------------------ FEEDBACK (COMMENTS/TRACKBACKS) INCLUDED HERE ------------------
if( $disp == 'posts' )
{
$c = 1; // force display of comments
skin_include( '_item_feedback.inc.php', array(
'before_section_title' => '<h4>',
'after_section_title' => '</h4>',
'disp_comment_form' => false, // prevent display of comment form
) );
}
else
{
skin_include( '_item_feedback.inc.php', array(
'before_section_title' => '<h4>',
'after_section_title' => '</h4>',
) );
}
// Note: You can customize the default item feedback by copying the generic
// /skins/_item_feedback.inc.php file into the current skin folder.
// ---------------------- END OF FEEDBACK (COMMENTS/TRACKBACKS) ---------------------
?>
What it does is: if you are displaying the post list, it tweaks the settings a little.
5 7doves Apr 09, 2008 23:38
Thanks François. It was easy, painless and quick. Much appreciated.
It's typically something you'd do in the skin.
Are you trying to add or to remove comments?
On what page? (do you have an url?)