summaryrefslogtreecommitdiff
path: root/sites/all/modules/views/theme/views-view-row-comment.tpl.php
diff options
context:
space:
mode:
Diffstat (limited to 'sites/all/modules/views/theme/views-view-row-comment.tpl.php')
-rw-r--r--sites/all/modules/views/theme/views-view-row-comment.tpl.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/sites/all/modules/views/theme/views-view-row-comment.tpl.php b/sites/all/modules/views/theme/views-view-row-comment.tpl.php
new file mode 100644
index 000000000..7fe2e81fe
--- /dev/null
+++ b/sites/all/modules/views/theme/views-view-row-comment.tpl.php
@@ -0,0 +1,18 @@
+<?php
+
+/**
+ * @file
+ * Default simple view template to display a single comment.
+ *
+ * Rather than doing anything with this particular template, it is more
+ * efficient to use a variant of the comment.tpl.php based upon the view,
+ * which will be named comment-view-VIEWNAME.tpl.php. This isn't actually
+ * a views template, which is why it's not used here, but is a template
+ * 'suggestion' given to the comment template, and is used exactly
+ * the same as any other variant of the comment template file, such as
+ * node-nodeTYPE.tpl.php
+ *
+ * @ingroup views_templates
+ */
+?>
+<?php print $comment; ?>