I haw created a view with page and attachment. I understand that the attachment is a part of the page and the footer is actually on the end of the page after attachment but I't would be nice to haw an option to put footer after the content of the page and before the attachment or separate option for the page header, footer and footer of content on the page. Is there any way to do that ?

Comments

Roshni Patel’s picture

Issue summary:View changes

You can achieve by overriding your views display output tpl file eg: views-view--yourviewname--page.tpl.php.

You can place footer above your attachment.

<?php if ($footer): ?>
    <div class="view-footer">
      <?php print $footer; ?>
    </div>
  <?php endif; ?>

  <?php if ($attachment_after): ?>
    <div class="attachment attachment-after">
      <?php print $attachment_after; ?>
    </div>
  <?php endif; ?>

Let me know if you have any further query/concern regarding the same.

Thanks!