If you visit a node page for a node that is not published, the comment box appears with a "Warning: http://www.mysite.com/node/1234 is unreachable." message.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | facebook_comments_unpublished_nodes.patch | 1.89 KB | Sneakyvv |
If you visit a node page for a node that is not published, the comment box appears with a "Warning: http://www.mysite.com/node/1234 is unreachable." message.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | facebook_comments_unpublished_nodes.patch | 1.89 KB | Sneakyvv |
Comments
Comment #1
Sneakyvv commentedpatch attached
just put
if ($node->status)around the current code
Comment #1.0
Sneakyvv commentedcorrect error message
Comment #1.1
Sneakyvv commentedno site info :)
Comment #3
wmostrey commentedI made this into a new configuration option: "Show comments on unpublished nodes".
Committed, thanks!