djangosnippets.org: Latest snippets tagged with 'breadcrumbs'http://djangosnippets.org/tags/breadcrumbs/2011-07-14T12:14:51.347427-05:00django app name & breadcrumbs l10n
2011-07-14T12:14:51.347427-05:00xormaghttp://djangosnippets.org/snippets/2488/<p>This approach allows you to rename you app name & app breadcrumbs within admin interface.</p>
<p>Paste the code in admin.py of your application and change AppLabelRenamer.main params.</p>
Freely redistributableDjango Breadcrumbs Snippet
2009-05-05T10:07:55.285172-05:00flashingpumpkinhttp://djangosnippets.org/snippets/1487/<p>A simple tag to render breadcrumbs.</p>
<p>Usage:
{% load breadcrumbs %}
{% breadcrumbs "['Home','Home','home']" "['Articles','Articles','articles']" "['object','object','object.get_absolute_url']" %}</p>
<p>Loads up the template in "modules/breadcrumbs.html" and renders it with a list of items.</p>
<p>You can provide the tag either with plain text stuff and named urls as the third argument ( any …</p>
Freely redistributableBreadcrumbs filter
2009-01-20T20:25:55.574193-06:00Ogguhttp://djangosnippets.org/snippets/1292/<p>Filter for a list if breadcrumbs. All necessary code included but obviously only the breadcrumbs method that is needed with necessary changes for esc().</p>
<p>I use it as</p>
<pre><code>{% load breadcrumbs %}
{{ request.path|breadcrumbs:"" }}
</code></pre>
<p>enclosed in an unordered html list with id="breadcrumbs"</p>
Freely redistributableDaGood breadcrumbs
2009-01-19T09:37:00.763880-06:00drozzyhttp://djangosnippets.org/snippets/1289/<p>Provides two template tags to use in your HTML templates:
breadcrumb and breadcrumb_url.
The first allows creating of simple url, with the text portion and url portion. Or only unlinked text (as the last item in breadcrumb trail for example).
The second, can actually take the named url with arguments! …</p>
Freely redistributablebreadcrumbs
2008-09-05T07:46:42.944303-05:00guettlihttp://djangosnippets.org/snippets/1026/<p>With this script you can create a simple breadcrumbs line for navigation: Home >> Page >> Subpage ...</p>
Freely redistributableURL based breadcrumbs
2008-03-22T14:26:29.393123-05:00phlexhttp://djangosnippets.org/snippets/656/<p>This is a simple URL based breadcrumb filter I'm using on a site I'm currently building. To use it, just throw the code into template-tag file, and simply pass the current url in a page template like so
</p>
<p>{{ request.get_full_path|breadcrumbs }}
</p>
<p>As an example of how to style it, wrap …</p>
Freely redistributable