title: Component Pagination for Joomla 2.5
body: <p>I am writing a new component for Joomla 2.5 and I am having problems wrapping my head around paginiation on the frontend(user site).</p>
  
  <p>I have looked at the core component (com_content) to see how they do it and I am still unable to replicate the same. So when I put the line in my view.html.php file:</p>
  
  <pre><code>$pagination = $this-&gt;get('Pagination');
  </code></pre>
  
  <p>I get the JPagination Object and can print it out but I can not get them to display properly like below (how they do it in com_content)</p>
  
  <pre><code>echo $this-&gt;pagination-&gt;getPagesCounter();
  echo $this-&gt;pagination-&gt;getPagesLinks();
  </code></pre>
  
  <p>What am I missing? What else do I need to have? Do I need to have more functions in my Models/thisview.php file?</p>