A problem with blog comments monitoring

edited November 2012 in News & Announcements
I am trying to use your blog module.

The Monitor Comments is checked.

When I post a comment, I get an email with a link:
FUEL: http://localhost/highlandfuel/fuel/blog/comments/edit
Clicking on this link goes to page not found.

Is this a bug in the code that sends the email? Shouldn't it add the comment id as a paremeter in the url?:
http://localhost/highlandfuel/fuel/blog/comments/edit/2

Comments

  • edited 11:44AM
    That indeed was a bug? Is this with the latest from GitHub?
  • edited 11:44AM
    I think so, when did you last updated the version on GitHub?

    Another question I have is why I don't see the Read more link on the posts.

    I copied the blog folder into a new folder, since I don't need authors on my blog I decided to try and just remove what I don't need from the original blog files.

    Now I don't see the read more link on the posts, which I don't think has a connection to removing anything concerning authors.

    Trying to find the problem with no success up to now.
  • edited 11:44AM
    Trying to figure out where is the read more link.
    I searched for all occorances of the function get_excerpt_formatted. I found you call it in the search.php file with 3 parameters when the functins itself gets two: get_excerpt_formatted($char_limit = NULL, $readmore = '')

    In the posts.php file you call it like this: $post->excerpt_formatted so what do I need to change in order to see the read more link?
  • edited 11:44AM
    Ok, for now what I did is change the function in blog_posts_model from:
    function get_excerpt_formatted($char_limit = NULL, $readmore = '')
    to
    function get_excerpt_formatted($char_limit = NULL, $readmore = 'Read more...')

    Which solves the problem but I'm not sure that's the way to do it.
  • edited 11:44AM
    You could change the call to:

    $post->get_excerpt_formatted(NULL, 'Read more...');
  • edited 11:44AM
    I've tried that, but then I don't get anything in the post content on the posts page.
  • edited 11:44AM
    Hmm, I can't replicate that. I just changed:

    <?=$post->excerpt_formatted?>

    For:
    <?=$post->get_excerpt_formatted(NULL, 'Boom')?>

    And I still get the excerpt with a link of 'Boom'.
  • edited 11:44AM
    That's strange
Sign In or Register to comment.