title: Magento pagination products
body: <p>I have a problem with Magento pagination. </p>
  
  <p>The prudct list page i call by my XML is:</p>
  
  <pre><code>    &lt;block type="catalog/product_list" name="categorieen" as="categorieen" translate="label" template="page/html/categorieen.phtml"&gt;
          &lt;label&gt;Categorieën&lt;/label&gt;
      &lt;/block&gt;
  </code></pre>
  
  <p>The code of my product list page is:</p>
  
  <pre><code>    &lt;div id="products"&gt;
  &lt;?php $_productCollection=$this-&gt;getLoadedProductCollection();?&gt;
  
  
      &lt;?php // Grid Mode ?&gt;
  
      &lt;?php $_collectionSize = $_productCollection-&gt;count() ?&gt;
      &lt;?php $_columnCount = $this-&gt;getColumnCount(); ?&gt;
      &lt;?php $i=0; foreach ($_productCollection as $_product): ?&gt;
           &lt;?php
  
           $pic = $this-&gt;helper('catalog/image')-&gt;init($_product, 'thumbnail')-&gt;keepFrame(false)-&gt;resize(170);
           ?&gt;
           &lt;a href="&lt;?php echo $this-&gt;getAddToCartUrl($_product) ?&gt;"&gt;
           &lt;div class="block_prod"&gt;
             &lt;div class="block_image_prod"&gt;&lt;img src="&lt;?php echo $pic; ?&gt;"&gt;&lt;/div&gt;
             &lt;div class="block_title_prod"&gt;&lt;h2&gt;&lt;?php echo strtoupper($this-&gt;htmlEscape($_product-&gt;getName())); ?&gt;&lt;/h2&gt;&lt;/div&gt;
          &lt;/div&gt;
          &lt;/a&gt;
          &lt;?php $i++; endforeach ?&gt;
  
  
  &lt;?php 
  
  /*
  define('MAGENTO', realpath(dirname(__FILE__)));
  require_once MAGENTO.'/app/Mage.php';
  Mage::app();*/
  
  /* Provide a known category id that has children as a test */
  $_cat = new Mage_Catalog_Block_Navigation();
  $curent_cat = $_cat-&gt;getCurrentCategory();
  $curent_cat_id = $curent_cat-&gt;getId();
  
  $id = $curent_cat_id;
  
  /* Load category by id*/
  $cat = Mage::getModel('catalog/category')-&gt;load($id);
  
  
  /*Returns comma separated ids*/
  $subcats = $cat-&gt;getChildren();
  
  //Print out categories string
  #print_r($subcats);
  
  foreach(explode(',',$subcats) as $subCatid)
  {
    $_category = Mage::getModel('catalog/category')-&gt;load($subCatid);
    if($_category-&gt;getIsActive() &amp;&amp; !$_category-&gt;getIncludeInMenu())
    {
      $caturl     = $_category-&gt;getURL();
      $catname     = $_category-&gt;getName();
      if($_category-&gt;getImageUrl())
      {
        $catimg     = $_category-&gt;getImageUrl();
      }
  ?&gt;
           &lt;a href="&lt;?php echo $caturl; ?&gt;"&gt;
           &lt;div class="block_prod"&gt;
             &lt;div class="block_image_prod"&gt;&lt;img src="&lt;?php  echo $catimg; ?&gt;"&gt;&lt;/div&gt;
             &lt;div class="block_title_prod"&gt;&lt;h2&gt;&lt;?php echo strtoupper($catname); ?&gt;&lt;/h2&gt;&lt;/div&gt;
          &lt;/div&gt;
          &lt;/a&gt;
  
  &lt;?php    
  
      }
  }?&gt;
  &lt;/div&gt;
      &lt;div i="toolbar-bottom"&gt;
  &lt;?php echo $this-&gt;getToolbarHtml(); ?&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>On my product page i included the toolbar with </p>
  
  <pre><code>&lt;?php echo $this-&gt;getToolbarHtml(); ?&gt;
  </code></pre>
  
  <p>But i don't get an pagination like </p>
  
  <pre><code>1-2-3-4...12
  </code></pre>
  
  <p>I only get :</p>
  
  <pre><code>Show 30 per page
  </code></pre>
  
  <p>Is there an solution fot this? Thank you very much!</p>