4.6.x node.module node_show($node, $cid)
4.7.x node.module node_show($node, $cid)
5.x node.module node_show($node, $cid)
6.x node.module node_show($node, $cid, $message = FALSE)
7.x node.module node_show($node, $message = FALSE)

Generate a page displaying a single node, along with its comments.

3 calls to node_show()
node_page in modules/node.module
Menu callback; dispatches control to the appropriate operation handler.
node_revisions in modules/node.module
Menu callback for revisions related activities.
poll_results in modules/poll.module
Callback for the 'results' tab for polls you can vote on


modules/node.module, line 582
The core that allows content to be submitted to the site.


function node_show($node, $cid) {
  $output = node_view($node, FALSE, TRUE);

  if (function_exists('comment_render') && $node->comment) {
    $output .= comment_render($node, $cid);

  // Update the history table, stating that this user viewed this node.

  return $output;