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 ?


RoshniPatel.addweb’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; ?>
  <?php endif; ?>

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

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


MustangGB’s picture

Category: Feature request » Support request
Priority: Major » Normal
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.