On a node with 0 comments, the label says "0 Comment", while it should be "0 Comments". Please fix that.
Oh and by the way, you saved me from moving back to WordPress for this theme! I really needed a magazine theme and before you released this one there was nothing good available. Thanks a lot! :)
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | magazeen-template.php_.patch | 845 bytes | moritzz |
Comments
Comment #1
pepemty commentedMay I jump in on this issue?
Humbly, I think that it would be better yet if the comment label doesn't appear at all while there is no comment posted.
Your thoughts?
BTW, thanks for this wonderful theme concept.
Warm regards from my (oh too) sunny México!
:-)
José
Comment #2
niksiv commentedAfter thinking about it, I think the best option would be to have some text like "Add a comment now" or something similar to show when there is no comment. What do you think?
Comment #3
pepemty commentedYes Nikolai, you are right. That way your reader will instantly know they are welcomed to make comments.
:-)
José
Comment #4
zinv commentedOriginally I had the comments to remove the 's' add the end of the comment that is less than 1 since it make no sense to add an 's' for 0 comment.
@niksiv - I'll consider adding an option for that in the theme setting next.
Thanks for the comments -
BTW, The theme is in development , I hoping not to piss off a by releasing as 6.x-1.2. If anyone add a -beta at the end or a development snapshot leave a message.
Comment #5
dman commentedSlightly off-topic, but closely related, the 'comment' button comes up on teasers even when the comment.module is not enabled, or if comments are off for the node.
Not wanted.
I edited the middle of node.tpl.php like so:
- the only difference is
<?php if ($comment ): ?>in there early.Sorry for the indenting, it appears the theme code includes tabs :-(
Therefore not worth trying to submit a patch.
Comment #6
MikeAlbrecht commentedAlso, regarding the above code and previous discussion,
$comment_count > 1should be
$comment_count != 1Same issue in
comment-wrapper.tpl.phpComment #7
TapSkill commentedNo, that would only work for the distinction between "Comment" and "Comments"; not whether or not to show that format. It does solve the immediate problem, though. In any case, this is simple coding, so anyone with even a tiny bit of PHP experience (or any programming knowledge) can fix it. I wonder why it hasn't been committed to a bugfix release, though. Is there no maintainer?
Comment #8
moritzz commentedThe attached patch for template.php fixed this on my site.
Comment #9
sheena_d commentedHi,
Maintenance of this theme has changed hands and we are no longer supporting this version of the theme. You may want to try upgrading to see if that fixes your problems. Sorry for any inconvenience.
Thanks,
Sheena