My flatpages/default.html template looks like this:

{% extends "shop/base.html" %}
{% load i18n %}
{% load thumbnail %}
{% load satchmo_util %}

{% block keywords %}{{ flatpage.keywords }}{% endblock %}

{% block navbar %}
   <li class="first"><a href="{{ shop_base }}/">{% trans "Home" %}</a></li>
   <li>{{ flatpage.title }}</li>
{% endblock %}

{% block content %}

{{ flatpage.content }}

{% endblock %}

...hope that helps!

~Mike

On Thu, Jul 15, 2010 at 3:44 PM, RT <[email protected]> wrote:
> Does anyone know how to make flatpages play nice with Satchmo's
> breadcrumb.  I followed the instructions here
> http://groups.google.com/group/satchmo-users/browse_thread/thread/93f9ee15366d2bbd/ae464a359e802f6b?lnk=gst&q=flatpages#ae464a359e802f6b
> to set up the urls for flatpages.  No breadcrumb is displayed when I
> visit a flat page.
> I also noticed that you don't have to add flatpages to your urls.  The
> flatpages middleware automatically checks for a matching flatpage when
> a 404 is encountered so you can just set it to any untaken url in the
> admin section for flatpages.  Thanks!
>
> --
> 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.
>
>

-- 
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.

Reply via email to