google-code-export / django-treemenus

Automatically exported from code.google.com/p/django-treemenus
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

template tag not loaded in the example for the templates #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

when following the instructions, I found that I needed to add something to the 
provided example templates; I needed to add

  {% load tree_menu_tags %}

to templates/treemenus/menu.html.

It may also be worth mentioning that, for a full working example, the base 
template needs to reference either 
the "unordered-list" or "ordered-list" from the menu.html example. At first, I 
didn't provide this second 
argument, so nothing happened. But that was easy enough to figure out for me.

Thanks for the otherwise well working instructions. Really great work!

(I was using trunk r64.)

Original issue reported on code.google.com by pe...@poeml.de on 26 Mar 2010 at 12:15

GoogleCodeExporter commented 9 years ago
Thank you for the suggestions. I've added {% load tree_menu_tags %} in the 
example: 
http://github.com/jphalip/django-treemenus/commit/067e1e6d6f2ea34834316993ca7b5e
e4b7385a83

However I don't think your other suggested addition to the doc is necessary, as 
it is already clearly stated that you can provide the optional 'menu_type' 
parameter. Thanks for using treemenus!

Original comment by jpha...@gmail.com on 9 Oct 2010 at 1:35