2 Pagers in Playback Mode - Drupal 6

I am wondering how it would be possible to pager at the top and bottom of my table, which I created using Views.

+3
source share
2 answers

You can do this by copying view-view.tpl.php from the views / theme directory to your theme. Once he's there, edit it and copy the lines

<?php if ($pager): ?>
  <?php print $pager; ?>
<?php endif; ?>

below the section views-contentand place another copy above.

Please note that this will duplicate the pager for all your views. If you only need to do this on a very specific view, you can click on the topic information section of the view editing form and it will show you all the possible templates for a particular view.

+7
source

. - drupal 7 ( ), , .

css-addict div:

<?php if ($pager); ?>
   <div class="top-pager"> <?php print $pager; ?> </div
<?php endif; ?>

view-styles.css, css

.view-titleview .top-pager {css code}

. .view-titleview -: ctrl-u chrome IE fire-bug

, css-, :

.view-titleview1 .top-pager, view-titleview2 .top-pager {css code}

blanc- . , .

+1

All Articles