| 1 |
|
<?php |
| 2 |
|
// $Id: views-view-row-node.tpl.php,v 1.3 2008/07/09 18:31:26 merlinofchaos Exp $ |
| 3 |
|
/** |
| 4 |
|
* @file views-view-row-node.tpl.php |
| 5 |
|
* Default simple view template to display a single node. |
| 6 |
|
* |
| 7 |
|
* Rather than doing anything with this particular template, it is more |
| 8 |
|
* efficient to use a variant of the node.tpl.php based upon the view, |
| 9 |
|
* which will be named node-view-VIEWNAME.tpl.php. This isn't actually |
| 10 |
|
* a views template, which is why it's not used here, but is a template |
| 11 |
|
* 'suggestion' given to the node template, and is used exactly |
| 12 |
|
* the same as any other variant of the node template file, such as |
| 13 |
|
* node-NODETYPE.tpl.php |
| 14 |
|
* |
| 15 |
|
* @ingroup views_templates |
| 16 |
|
*/ |
| 17 |
|
?> |
| 18 |
|
<h2>I'm a node</h2> |
| 19 |
|
<?php print $node; ?> |
| 20 |
|
<?php if ($comments): ?> |
| 21 |
|
<?php print $comments; ?> |
| 22 |
|
<?php endif; ?> |