1 fredsy Jan 02, 2012 14:13
3 fredsy Jan 25, 2012 03:37
By happenstance I have been deleting test comments from my blog. I notice that when I delete a comment, the 'leave a comment' code suddenly works: however, browsing to another page and returning, or reloading the page, makes the link disappear again. I have added a comment; no link. Delete the comment, and the link appears again.
Is this some sort of blog cache issue?
4 fredsy Oct 27, 2013 12:59
Well, a year or so later and I'm still having this problem. V5.0.6, test url is here:
http://puppetsinmelbourne.com.au/pelican/news.php/2013/10/and-another-test-post
The feedback_link works perfectly for the main posts page, but not for the single.
Would really love some assistance on this, I'm totally stuck for ideas.
5 mgsolipa Oct 27, 2013 18:23
Hi @na3,
At single page, the comment form is right below the post itself. Of course, at posts disp it's useful to have a feedback link because it leads you directly to the single post comments by adding #feedbacks
to the url. In fact, including feedback link is disabled by default at single post view, but you could enable it as following.
Include the option show_in_single_mode => true
in the parameters array at the $Item->feedback_link
call. Then just put this code wherever you want it appears, this will depend of your skin code. i.e. at evopress default skin I pasted this block code in the line 111 at blogs/skins/evopress/single.main.php
<?php
// Link to comments, trackbacks, etc.:
$Item->feedback_link( array(
'type' => 'feedbacks',
'link_before' => ' | ',
'link_after' => '',
'link_text_zero' => '#',
'link_text_one' => '#',
'link_text_more' => '#',
'link_title' => '#',
'use_popup' => false,
'show_in_single_mode' => true
) );
?>
I hope this could be useful for you.
Regards !
6 fredsy Oct 28, 2013 06:40
Adding the "show_in_single_mode" parameter worked. Thank you SO much, that's been bugging me for over a year. :)
Still having trouble with this.
I'm using the following:
in my single post file. It's the exact same code used in the main page.
The main page shows the comments link fine:
http://www.puppetsinmelbourne.com.au/index.php?blog=46
The single post page doesn't:
http://www.puppetsinmelbourne.com.au/index.php/sdlksdlskl?blog=46
and yes, commenting is turned on for this blog.
I've tried renaming the custom skin files for comments and using the ones in /skins, however it changes nothing. I get no errors in my logs...
Anyone got any ideas?