On Thu, Oct 30, 2008 at 9:50 AM, David Lindquist
<[EMAIL PROTECTED]>wrote:
>
> Maybe I am just being dense (likely), but how do I create a list of
> top-level categories on the home page with their associated category
> images? When I say list, I don't necessarily mean a <ul>, but simply
> have the category QuerySet in the context. Do I need to write a
> custom view or does Satchmo already provide this?
>
Look at satchmo_category for this:
{% category_list slug as var %}
{% for cat in var %}
here you have a var named "cat" which is the actual category object
{% endfor %}
{% endcategory_list %}
---
Bruce Kroeze
http://gosatchmo.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Satchmo users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/satchmo-users?hl=en
-~----------~----~----~----~------~----~------~--~---