All pastes #205545 Raw Edit

Unnamed

public php v1 · immutable
#205545 ·published 2006-10-16 21:55 UTC
rendered paste body
<?php /** * views template to output one 'row' of a view. * This code was generated by the views theming wizard * Date:  * View: entertainment_block * * Variables available: * $view -- the entire view object. Important parts of this object are *   entertainment_block, . * $view_type -- The type of the view. Probably 'page' or 'block' but could *   also be 'embed' or other string passed in from a custom view creator. * $node -- the raw data. This is not a real node object, but will contain *   the nid as well as other support fields that might be necessary. * $count -- the current row in the view (not TOTAL but for this page) starting *   from 0. * $stripe -- 'odd' or 'even', alternating. * $created -- Display the post time of the node. * $created_label -- The assigned label for $created * $title -- Display the title of the node. * $title_label -- The assigned label for $title * $name -- This will display the author of the node. * $name_label -- The assigned label for $name * $body -- Display the Main Content. * $body_label -- The assigned label for $body * * This function goes in your views-list-entertainment_block.tpl.php file */?><div class="view-label view-field-created">  <?php print $created_label ?></div><div class="view-field view-data-created">  <?php print $created?></div><div class="view-label view-field-title">  <?php print $title_label ?></div><div class="view-field view-data-title">  <?php print $title?></div><div class="view-label view-field-name">  <?php print $name_label ?></div><div class="view-field view-data-name">  <?php print $name?></div><div class="view-label view-field-body">  <?php print $body_label ?></div><div class="view-field view-data-body">  <?php print $body?></div>