title: How do I add the proceed to checkout button outside of the cart page using layout.xml?
body: <p>I believe this is the code within a phtml file that creates the "Proceed to Checkout" button:</p>
  
  <pre><code>&lt;?php if(!$this-&gt;hasError()): ?&gt;
      &lt;ul class="checkout-types"&gt;
          &lt;?php foreach ($this-&gt;getMethods('top_methods') as $method): ?&gt;
              &lt;?php if ($methodHtml = $this-&gt;getMethodHtml($method)): ?&gt;
                  &lt;li&gt;&lt;?php echo $methodHtml; ?&gt;&lt;/li&gt;
              &lt;?php endif; ?&gt;
          &lt;?php endforeach; ?&gt;
      &lt;/ul&gt;
  &lt;?php endif; ?&gt;
  </code></pre>
  
  <p>However when I add it to another phtml file that is a sibling to cart.phtml I get an error saying that an invalid argument is being supplied to the foreach.</p>
  
  <p>I then tried adding the block:</p>
  
  <pre><code>&lt;block type="core/text_list" name="checkout.cart.top_methods" as="top_methods" translate="label"&gt;
      &lt;label&gt;Payment Methods Before Checkout Button&lt;/label&gt;
      &lt;block type="checkout/onepage_link" name="checkout.cart.methods.onepage" template="checkout/onepage/link.phtml"/&gt;
  &lt;/block&gt;
  </code></pre>
  
  <p>taken from the checkout.xml layout file, to my own block, adfter tht totals block:</p>
  
  <pre><code>&lt;block type="page/html" name="checkout_process" as="checkout_process" template="page/html/checkout_process.phtml"&gt;                  
      &lt;block type="checkout/cart_totals" name="checkout.cart.totals" as="totals" template="checkout/cart/totals.phtml"/&gt;
  &lt;/block&gt;
  </code></pre>
  
  <p>However this did nothing, am I missing something, I thought this would allow me to include the button?</p>