Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
[plugin] [ORPHAN] etz_crumbs
This was originally a hack of the tcm_crumbs plugin, offering a few advancements:
- Adding slash at the end of section URLs, so that they become the canonical URLs zem_redirect would produce.
- It supports wanted a site hierarchy with categories under sections.
- It displays the category and section titles instead of the names, making use of this TXP feature.
- It supports nested categories.
Usage:
Put <txp:etz_crumbs />
in your page template(s) or article form(s).
Valid Options:
- home: show an item to “home” (valid options: 0 or 1, defaults to 1)
- section: display current section (valid options: 0 or 1, defaults to 1)
- category: use category 1 or 2 for crumbs (valid options: 0, 1, or 2, defaults to 0 = no category)
- atitle: show the article title in the breadcrumbs (valid options: 0 or 1, defaults to 0)
- hometitle: custom title for link to home
- separator: seperator between sections and categories, etc. (defaults to “ » “)
- expand expand nested categories (valid options: 0 or 1, defaults to 1)
Download version 0.7 now! (Requires Textpattern 4.0.2 and above)
Download version 0.4 (Legacy, tcm_crumbs derivative. Requires Textpattern 4.0.1 and above and the stw_category_tree plugin.)
This software is both free as in beer and free as in freedom. If you like it or think it’s useful, you may consider bying me something from my wishlist.
Last edited by Etz Haim (2005-11-26 18:43:42)
VC3 :: weblog :: my wishlist
Offline
#2 2005-05-14 15:39:47
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] etz_crumbs
Whoops on my part:
Missing argument error, because I did not account for other plugins calling mine. A simple fix, and I’ll release an update as soon as possible (hopefully today), I’m just waiting for one other thing for it, so I’m not releasing an update every couple days (or at least, so I can reduce the number of them).
The site url crumb is correct, but the section url is missing a slash: “http://localhost/txparticle/”
Offline
Re: [plugin] [ORPHAN] etz_crumbs
I don’t get it. I’m using version .2 of your plugins and etz_crumbs
works like a charm. See for yourself:
http://www.agitprop.gr/article/18/hijab
The breadcrumb menu is the one that reads “агит проп » ά
VC3 :: weblog :: my wishlist
Offline
#4 2005-05-14 16:33:05
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] etz_crumbs
Works, but additionally causes an error message if you’re running with full error reporting. :) I’ve just posted the updated versions. :)
Offline
Re: [plugin] [ORPHAN] etz_crumbs
Plugin updated (v0.2) to support nested categories.
Last edited by Etz Haim (2006-01-14 23:11:37)
VC3 :: weblog :: my wishlist
Offline
#6 2005-05-16 08:45:23
- davidm
- Member
- From: Paris, France
- Registered: 2004-04-27
- Posts: 719
Re: [plugin] [ORPHAN] etz_crumbs
I loved tcm_crumbs, and will definitely use this variant !
Another cool plugin, Etz :-))
.: Retired :.
Offline
Re: [plugin] [ORPHAN] etz_crumbs
News: On the changeset 373 log, kusor reports:
Display section/category titles on public site pages instead of names.
Populate categories DB title fields on _update.php.
Get title displayed trees for categories.
(Thanks osei; this is your patch with steroids).
Since When this kind of functionality has become built-in, etz_crumbs
will soon lose the upm_section_title
and upm_category_title
dependencies.
Last edited by Etz Haim (2005-05-19 20:24:46)
VC3 :: weblog :: my wishlist
Offline
#8 2005-05-24 16:07:18
- Alexsis
- New Member
- From: Russia
- Registered: 2005-03-13
- Posts: 5
Re: [plugin] [ORPHAN] etz_crumbs
Etz Haim:
how work your plugin whith russian? how i can use a URL-friendly category/section name and a title in russian?
ith example pls.
Last edited by Alexsis (2005-05-24 16:09:37)
Offline
Re: [plugin] [ORPHAN] etz_crumbs
Good stuff Etz,
I finally got around to using it. I am using
»
»
as dividers, I dont guess there’s any way on using a bullet is there?
Thanks!
Offline
Re: [plugin] [ORPHAN] etz_crumbs
Hmmm. The plugin is not printing cats for some reason. I get:
<code><a href=”/”>home</a> » <a href=”/print/”></a> » <a href=”/print/?c=Pricing”></a> » Full Color Booklets 5-1/2 × 8-1/2</code>
<code><div class=“post”><h1><div class=“perm”><a href=“http://domain.com/Print/26/full-color-booklets-5-12-x-8-12-2” >blah</a></div></h1></code>
I am using spc_section-alias, to give nice & long names to some sections, I am assuming this may be the problem?
Last edited by soulship (2005-06-04 17:32:34)
Offline
Re: [plugin] [ORPHAN] etz_crumbs
This plugin is not designed to use spc_section_alias to translate section names. You should use upm_section_title instead.
Make sure you have upm_section_title and upm_category_title installed and running, and you also have set all the section and category titles set through the admin interface.
VC3 :: weblog :: my wishlist
Offline
Re: [plugin] [ORPHAN] etz_crumbs
Disabling spc_section alias and grabbing new svn. And I’ll see what happens & report back.
Thanks!
Offline