hi,all

I create a page view, display list page of a specific images term, the views-list-image_list.tpl.php
and "function phptemplate_views_view_list_image_list($view, $nodes, $type) " of template.php was generated by the views theming wizard,views template to output one 'row' of a view.

I hope views template to output two 'rows' display list page of a specific images term
(display thumbnail and article title),

How do? Thanks very much!

Comments

nanbeiyu’s picture

+------------------+--------------------+
|
|
|thumbnail A-------+-------thumbnail B
|
|
|article title A------+-------article title B
|---------------------------------------+
|
|
|thumbnail C-------+-------thumbnail D
|
|
|article title C--------------article title D
|-------------------+-------------------+

nanbeiyu’s picture

views-list-image_list.tpl.php code

<div class="view-label view-field-nid">
  <?php print $nid_label ?>
</div>
<div class="view-field view-data-nid">
  <?php print $nid?>
</div>
<div class="view-label view-field-title">
  <?php print $title_label ?>
</div>
<div class="view-field view-data-title">
  <?php print $title?>
</div>
nanbeiyu’s picture

Please help me! thanks!

nanbeiyu’s picture