Viewing 14 replies - 1 through 14 (of 14 total)
  • Would it be possible to do that with CSS? If the comment link had the number of comments as a style, you could add a rule to your style sheet that would set the content of the node to be “Reply” rather than “0”.

    How does that sound?

    Thread Starter lovelidicious

    (@lovelidicious)

    Hmmm.. I think I get what you mean but I am not sure how to do that via CSS. πŸ™

    I just feel that it will be much easier if we can customise it via the admin panel or something. But as long as it can be done, I think it’s fine. Thanks so much for considering this. πŸ™‚

    I’ll poke around to see what looks easiest. The options page for miniposts is already pretty busy, so I don’t want to add more fields if there’s another way to do it.

    Thread Starter lovelidicious

    (@lovelidicious)

    Okay, hope this can be done, that would make this plugin perfect. Thanks again for writing this plugin. πŸ™‚

    I want to disable comments on my miniposts by default, but there isn’t an option to do this… What would be the best way to remove that comments (0) and keep comments automatically shut off for miniposts only?

    Lovelidicious: I’ve spun a new version of Miniposts, just for you. The minipost comment count is now displayed in a span, and the outside a has a style with the number of comments in it. You can now add the following to your style:

    .minipost_commentlink_count_0:before {
    content: ‘Reply’;
    }

    .minipost_commentlink_count_0 .count {
    display: none;
    }

    What this does: adds the text ‘Reply’ to the start of the comment link, then hides the number.

    @redmondtux: Don’t hijack other people’s threads.

    Thread Starter lovelidicious

    (@lovelidicious)

    Right, thanks so much erigami for taking the effort to do this. But do I have to update the plugin to a new version or something? Or it just works by adding that to my stylesheet? πŸ™‚

    Lovelidicious: You have upgrade to version 0.6.11 of the plugin. The appropriate styles weren’t written in previous versions.

    Thread Starter lovelidicious

    (@lovelidicious)

    Thanks so much erigami! It is working perfectly now. πŸ™‚

    Just a note, I think the version number on the plugin page is incorrect as it shows up as version 0.6.9.

    Thread Starter lovelidicious

    (@lovelidicious)

    Edit: Okay, it’s working correctly in Firefox, but the link does not shows up in IE 7. Is there a fix for this? πŸ™

    Lovelidicious: Sorry. I don’t have access to IE7, so I can’t test on it.

    I did a quick search and found: http://dean.edwards.name/IE7/ – JS lib for IE7 to emulate full CSS compliance. There are probably other hacks around as well.

    Thread Starter lovelidicious

    (@lovelidicious)

    Right, I’ll need to check that out tonight. Thanks for the tip. So basically adding that code and js library to the website would make the CSS you posted above works right? Thanks πŸ™‚

    I still think it would be good to have it customised via the admin panel, but this works too, will try it out tonight. Thanks, really appreciate the help and effort πŸ™‚

    Thread Starter lovelidicious

    (@lovelidicious)

    erigami: Thanks for the link. The JS lib for IE 8 works, the link can now be viewed in firefox, ie 7 and opera. It’s working perfectly now. Thanks so much! πŸ™‚

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘[Plugin: Miniposts] Customising the comments link when there are 0 comments to “leave a reply”’ is closed to new replies.