# Layouts/Pag Design

**URL:** <https://www.ruby-forum.com/t/layouts-pag-design/127156>\
**Category:** Rails\
**Created:** [January 25, 2008, 4:26pm UTC](https://www.ruby-forum.com/t/layouts-pag-design/127156 "2008-01-25T16:26:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jstotz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/f1d935/32.png) [@jstotz](https://www.ruby-forum.com/u/jstotz)\
**Post date:** [January 25, 2008, 4:26pm UTC](https://www.ruby-forum.com/t/layouts-pag-design/127156/1 "2008-01-25T16:26:45Z")

</div>

I am trying to develop a simple shopping cart application using ROR. I  
have a categories controller and a products controller, which work fine.  
My problem is that I can’t figure out how to get the page to display in  
the way that I want. I would like to have the categories list to show  
on the left side of the page…it will serve as the site navigation  
(navigation thru the product categories). When a category is clicked I  
need to display a list of all products in the category on the right side  
of the screen. I have not been able to find a clear example on how to  
accomplish something like this. Explanations or links to tutorials  
would be greatly appreciated. Thanks.
