How can I make catalog grid view show short descriptions?

Posts: 7
Joined: 12/13/2007

I have added a new field to my "product" content type where I can put in a short description. I would like to make this description show up in the grid catalog view underneath the image.

Is this easily accomplished via a setting somewhere, or will I need to edit to module? If editing the module is needed - could someone help me with the php string I will need and point me in the right direction?

Thanks!

-Sam

Posts: 3744
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

You'll probably need to roll your own catalog using Views and the Views Bonus Pack to display nodes in a grid. bwv wrote a tutorial on this a while back posted here... it should still be valid or close enough for you to go off of.

Posts: 659
Joined: 11/05/2007
Bug FinderFAQ ModeratorGetting busy with the Ubercode.

For little things, like adding one field to the grid view, the simplest way is to override the theme function theme_uc_catalog_product_grid(). But Views is a very powerful approach that gives you a lot of flexibility without writing code. Even if you don't use Views for this task you should take the time to learn Views. The tutorial Ryan pointed to is a great place to start.

--

<tr>.

Posts: 7
Joined: 12/13/2007

Thank you both for your ideas.

I like the idea of doing this override because grid view is almost doing exactly what I want already. Could you give me a little more information on how to go about overriding that function? For example, where is it being called? and how exactly would I override it?

Thanks!

Posts: 659
Joined: 11/05/2007
Bug FinderFAQ ModeratorGetting busy with the Ubercode.