shop_customizations is in your INSTALLED_APPS list?

On Thu, Jul 16, 2009 at 10:51 AM, kcharvey <[email protected]> wrote:

>
> Yep. Even tried restarting the entire machine :). Thanks!
>
> On Jul 15, 11:56 am, lzantal <[email protected]> wrote:
> > Hi,
> > maybe it sounds silly but did you restart the server?
> >
> > lzantalhttp://twitter.com/lzantal
> >
> > On Jul 14, 12:58 pm, kcharvey <[email protected]> wrote:
> >
> > > I'm very new to Satchmo and somewhat new to Django. I'm trying to
> > > customize the {% category_tree %} template tag from satchmo_store/shop/
> > > templatetags in order to add some classes for some jQuery. I copied
> > > satchmo_category.py into my own app (shop_customizations), changed the
> > > name of the file to satchmo_category_kevin.py, and changed base.html
> > > to {% load satchmo_category_kevin %}. The site runs fine, including
> > > the navigation, but changes to the navigation code don't show up. I
> > > know it's using my copy of the code because if I change
> >
> > >      register.simple_tag(category_tree)
> >
> > > to
> >
> > >      register.simple_tag(category_tree_kevin)
> >
> > > It breaks the site. Then, if I fix the template tag call to {%
> > > category_tree_kevin %} it works again. My test is changing line 22:
> >
> > >      attrs["class"] = "current"
> >
> > > to
> >
> > >      attrs["class"] = "kevin"
> >
> > > The current selected link remains <a class="current"> instead of <a
> > > class="kevin">.
> >
> > > I know this is a total newbie question, probably a Django deal, hoping
> > > it's a simple fix. Thanks in advance for your help!
> >
> > > Kevin
> >
>

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