Recent Topics

1 Apr 04, 2008 22:16    

I had a look in the back office to see if there was a check box to show comments under the post they relate to but didn't find this as a option under the Blog settings. Can it be done this easily or is it wishful thinking?

Or is there a little 'fix' somewhere in this forum to do this please?

TIA

2 Apr 09, 2008 02:08

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?)

3 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 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 Apr 09, 2008 23:38

Thanks François. It was easy, painless and quick. Much appreciated.


Form is loading...