title: Getting pager to show on magento list
body: <p>We currently have a quote page which lists all existing quotes that we would like to show the pager.</p>
  
  <p>We have the following code in the List page which we've added the call to the pager but it doesn't appear to be showing frontend at all.</p>
  
  <p>I've also added the history page which displays a list with a pager as an example of a working page we are trying to emulate.</p>
  
  <p>Can anyone point us in the right direction as we appear to be missing something</p>
  
  <p><strong>List</strong></p>
  
  <pre><code>&lt;?php $_quotation = $this-&gt;getQuotations();?&gt;
  &lt;?php if($_quotation-&gt;getSize()): ?&gt;
  &lt;?php echo $this-&gt;getPagerHtml(); ?&gt;
  &lt;table cellspacing="0" class="data-table" id="my-quotations-table"&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th class="quote-quote"&gt;&lt;?php echo $this-&gt;__('Quote #') ?&gt;&lt;/th&gt;
              &lt;th class="quote-date"&gt;&lt;?php echo $this-&gt;__('Creation Date') ?&gt;&lt;/th&gt;
              &lt;th class="quote-valid"&gt;&lt;?php echo $this-&gt;__('Valid until') ?&gt;&lt;/th&gt;
              &lt;th class="quote-status"&gt;&lt;?php echo $this-&gt;__('Status') ?&gt;&lt;/th&gt;
              &lt;th class="quote-view-link"&gt;&amp;nbsp;&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;?php $_odd = ''; ?&gt;
          &lt;?php foreach ($this-&gt;getQuotations() as $_quotation): ?&gt;
              &lt;?php $_quotation-&gt;checkExpirationDateAndApply(); ?&gt;
              &lt;tr&gt;
                  &lt;td&gt;&lt;?php echo $_quotation-&gt;getincrement_id() ?&gt;&lt;/td&gt;
                  &lt;td&gt;&lt;?php echo $this-&gt;formatDate($_quotation-&gt;getcreated_time()) ?&gt;&lt;/td&gt;
                  &lt;td&gt;&lt;?php echo $this-&gt;formatDate($_quotation-&gt;getValidEndTime()); ?&gt;
                  &lt;td&gt;&lt;?php echo $this-&gt;__($_quotation-&gt;getstatus()); ?&gt;&lt;/td&gt;
                  &lt;td class="a-center"&gt;&lt;?php if ($_quotation-&gt;isViewableByCustomer()): ?&gt;
                          &lt;a href="&lt;?php echo $this-&gt;getViewUrl($_quotation) ?&gt;"&gt;&lt;?php echo $this-&gt;__('View Quotation') ?&gt;&lt;/a&gt;
                          &lt;?php endif; ?&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
          &lt;?php endforeach; ?&gt;
      &lt;/tbody&gt;
  &lt;/table&gt;
  &lt;script type="text/javascript"&gt;decorateTable('my-quotations-table')&lt;/script&gt;
  &lt;?php echo $this-&gt;getPagerHtml(); ?&gt;
  &lt;?php else: ?&gt;
      &lt;p&gt;&lt;?php echo $this-&gt;__('You have no quotes available.') ?&gt;&lt;/p&gt;
  &lt;?php endif ?&gt;
  </code></pre>
  
  <p><strong>History</strong></p>
  
  <pre><code>&lt;?php echo $this-&gt;getMessagesBlock()-&gt;getGroupedHtml() ?&gt;
  &lt;?php $_orders = $this-&gt;getOrders(); ?&gt;
  &lt;div class="pager"&gt;&lt;?php echo $this-&gt;getPagerHtml(); ?&gt;&lt;/div&gt;
  &lt;?php if($_orders-&gt;getSize()): ?&gt;
  &lt;table class="data-table" id="my-orders-table"&gt;
      &lt;col width="1" /&gt;
      &lt;col width="1" /&gt;
      &lt;col /&gt;
      &lt;col width="1" /&gt;
      &lt;col width="1" /&gt;
      &lt;col width="1" /&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;&lt;?php echo $this-&gt;__('Order #') ?&gt;&lt;/th&gt;
              &lt;th&gt;&lt;?php echo $this-&gt;__('Date') ?&gt;&lt;/th&gt;
              &lt;th&gt;&lt;?php echo $this-&gt;__('Delivery To') ?&gt;&lt;/th&gt;
              &lt;th&gt;&lt;span class="nobr"&gt;&lt;?php echo $this-&gt;__('Order Total') ?&gt;&lt;/span&gt;&lt;/th&gt;
              &lt;th&gt;&lt;span class="nobr"&gt;&lt;?php echo $this-&gt;__('Order Status') ?&gt;&lt;/span&gt;&lt;/th&gt;
              &lt;th&gt;&amp;nbsp;&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;?php $_odd = ''; ?&gt;
          &lt;?php foreach ($_orders as $_order): ?&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;?php echo $_order-&gt;getRealOrderId() ?&gt;&lt;/td&gt;
              &lt;td&gt;&lt;span class="nobr"&gt;&lt;?php echo $this-&gt;formatDate($_order-&gt;getCreatedAtStoreDate()) ?&gt;&lt;/span&gt;&lt;/td&gt;
              &lt;td&gt;&lt;?php echo $_order-&gt;getShippingAddress() ? $this-&gt;htmlEscape($_order-&gt;getShippingAddress()-&gt;getName()) : '&amp;nbsp;' ?&gt;&lt;/td&gt;
              &lt;td&gt;&lt;?php echo $_order-&gt;formatPrice($_order-&gt;getGrandTotal()) ?&gt;&lt;/td&gt;
              &lt;td&gt;&lt;em&gt;&lt;?php echo $_order-&gt;getStatusLabel() ?&gt;&lt;/em&gt;&lt;/td&gt;
              &lt;td class="a-center"&gt;
                  &lt;span class="nobr"&gt;&lt;a href="&lt;?php echo $this-&gt;getViewUrl($_order) ?&gt;"&gt;&lt;?php echo $this-&gt;__('View Order') ?&gt;&lt;/a&gt;
                      &lt;?php /*&lt;span class="separator"&gt;|&lt;/span&gt;&lt;a href="&lt;?php echo $this-&gt;getTrackUrl($_order) ?&gt;"&gt;&lt;?php echo $this-&gt;__('Track Order') ?&gt;&lt;/a&gt;&amp;nbsp;*/ ?&gt;
                      &lt;?php if ($this-&gt;helper('sales/reorder')-&gt;canReorder($_order)) : ?&gt;
                      &lt;span class="separator"&gt;|&lt;/span&gt; &lt;a href="&lt;?php echo $this-&gt;getReorderUrl($_order) ?&gt;" class="link-reorder"&gt;&lt;?php echo $this-&gt;__('Reorder') ?&gt;&lt;/a&gt;
                  &lt;?php endif ?&gt;
                  &lt;/span&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
          &lt;?php endforeach; ?&gt;
      &lt;/tbody&gt;
  &lt;/table&gt;
  &lt;script type="text/javascript"&gt;decorateTable('my-orders-table');&lt;/script&gt;
  &lt;?php echo $this-&gt;getPagerHtml(); ?&gt;
  &lt;?php else: ?&gt;
      &lt;p&gt;&lt;?php echo $this-&gt;__('You have placed no orders.'); ?&gt;&lt;/p&gt;
  &lt;?php endif ?&gt;
  </code></pre>
  
  <p>Layout block for List</p>
  
  <pre><code>&lt;quotation_quote_list&gt;
      &lt;reference name="root"&gt;
          &lt;action method="setTemplate"&gt;&lt;template&gt;page/3columns-account.phtml&lt;/template&gt;&lt;/action&gt;
      &lt;/reference&gt;
      &lt;update handle="customer_account"/&gt;
      &lt;reference name="content"&gt;
              &lt;block type="Quotation/Frontend_Grid" name="quotationslist" as="quotationslist" template="Quotation/List.phtml"/&gt;
      &lt;/reference&gt;
  &lt;/quotation_quote_list&gt;
  </code></pre>