Recent Topics

1 Feb 28, 2005 00:48    

multiple.php example doesnt have the "leave a comment" link (for only one blog) so I just added for second one:

			
<?php $Item->feedback_link( 'comments', '', ' &bull; ' ) ?>
<?php $Item->edit_link( 'edit', '&bull; ' ) ?>

<?php // ----START OF INCLUDE FOR COMMENTS, TRACKBACK, PING...
$disp_comments = 1;
$disp_comment_form = 1;	
$disp_trackbacks = 1;
$disp_trackback_url = 1;	
$disp_pingbacks = 1;

require( get_path('skins') . '/custom/_feedback.php' );
// ----------- END OF INCLUDE FOR COMMENTS, TRACKBACK, PINGB....

locale_restore_previous();	// Restore previous locale (Blog locale)
?>

and doesnt work!
(stays "leave a comment" forever and no edit link)

What I am missing?

Thanks for your time!

2 Feb 28, 2005 01:01

Got a link where we can see this?

4 Mar 02, 2005 05:41

How to add the comment link to multiple.php (multiple blogs page)?

Thanks.

5 Mar 02, 2005 06:09

I just added

		<div class="bSmallPrint">
			<?php $Item->feedback_link( 'comments', '', ' &bull; ' ) // Link to comments ?>
			<?php $Item->feedback_link( 'trackbacks', '', ' &bull; ' ) // Link to trackbacks ?>
			<?php $Item->feedback_link( 'pingbacks', '', ' &bull; ' ) // Link to trackbacks ?>

			<?php $Item->trackback_rdf() // trackback autodiscovery information ?>

			<a href="<?php $Item->permalink() ?>" title="Permanent link to full entry"><?php echo T_('Permalink') ?></a>
		</div>
		<?php // ---------------- START OF INCLUDE FOR COMMENTS, TRACKBACK, PINGBACK, ETC. ----------------
		$disp_comments = 1;					// Display the comments if requested
		$disp_comment_form = 1;			// 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 = 1;				// Display the pingbacks if requested
		require( get_path('skins').'/_feedback.php');
		// ------------------- END OF INCLUDE FOR COMMENTS, TRACKBACK, PINGBACK, ETC. ------------------- ?>

right between the two /div tags around line 227

				<?php link_pages() ?>
			</div>
** add stuff here **
		</div>
		<?php


I didn't check validation, but I got the comment links and they worked.

6 Mar 02, 2005 06:27

Thanks EdB,

but the comment line in blog B stays "Leave a comment" even if there are comments.

Number of comments shows correctly on other pages. Any idea?

The problem with the edit link is probable for different reasons (shows in multiblogs.php in B2 directory but not in a directory of my choice)

Thanks.

7 Mar 02, 2005 06:53

That's odd - I tested it on an installation that I use as my playground, and didn't test it any deeper than "this seems to work". Tell ya what - I'm pretty tired from actually doing physical labor, so I'll try to see if I can get you an answer tomorrow. No promises though! I'm not much of a multiblog hacker or user. I was just curious why it didn't seem to work for you. Anyway I'll give it a play tomorrow.


Form is loading...