Thank you Bojan. Please don’t mind me asking very basic questions. Where do I find this templatetags dir? And under what name should I create this new file that you mention. I find templatetags directory under site-packages/satchmo/shop/templatetags but am doubtful if this is the directory you mentioned.
Thank you once again, Shakthi -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Bojan Mihelac Sent: 31 October 2008 02:19 To: Satchmo users Subject: Re: modifying layout for category_tree Shakti, add this to templategs directory of (for example in mysite or custom app and put file there). Then {%load categories%} in templates where you want to use it (base.html, base_product and so on) and call the tag where you want it categories to show. Bojan On Oct 30, 7:21 pm, "Shankar Dhanasekaran" <[EMAIL PROTECTED]> wrote: > Hi Bojan, > Thank you for this. But can you please explain in detail on how to use this? > I'm absolute beginner and don’t where and how to use your code. > > ~Shakthi > > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] > > On Behalf Of Bojan Mihelac > Sent: 30 October 2008 21:36 > To: Satchmo users > Subject: Re: modifying layout for category_tree > > you can try templatetag onhttp://source.mihelac.org/2008/10/30/satchmo-categories > > In top block I use: > {% categories active=category deep=0 select_parents=1 %} > > and for subcategories: > {% categories active=category from_level=1 %} > > hope it helps > > On Oct 30, 1:57 am, newbie730 <[EMAIL PROTECTED]> wrote: > > In the style.css file, there are some id's and tags that can modify > > the appearance of the category tree Unordered List. What I'd like to > > do is the following: > > > Sub Categories are hidden until a root category is selected then the > > sub-categories are displayed on a row beneath the root categories > > list, all in a horizontal layout. The default Satchmo layout shows > > the UL as a vertical hierarchy. > > > Any ideas on how to achieve this? > > > 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 -~----------~----~----~----~------~----~------~--~---
