2 graham Feb 28, 2005 01:01

here is:
Removed
How to add the comment link to multiple.php (multiple blogs page)?
Thanks.
I just added
<div class="bSmallPrint">
<?php $Item->feedback_link( 'comments', '', ' • ' ) // Link to comments ?>
<?php $Item->feedback_link( 'trackbacks', '', ' • ' ) // Link to trackbacks ?>
<?php $Item->feedback_link( 'pingbacks', '', ' • ' ) // 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.
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.
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.
Got a link where we can see this?