Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
[archived] tcm_crumbs
Notice: This thread is archived, there is a native txp tag now <txp:breadcrumb>.
**********************************************************
Update: V 0.4 – replacements & titles
This is another plugin to show breadcrumbs for txp. It already has quite a few options built in and I’ll add some more after my run. It is also based off of txp vars instead of URLs.
demo (just the projects section, until I get the rest of the site working 100%)
It works reliably in article forms as well as pages, and wouln’t mess up if it doesn’t have a section or categories. <strong>Valid Options</strong> <ul> <li><strong>mode</strong> <ul> <li>“s”: section</li> <li>“c”: category</li> <li>“cc”: category category</li> <li>“sc”: section category</li> <li>“scc”: section category category</li> </ul> </li> <li><strong>showhome</strong>: show an item to “home”</li> <li><strong>notitle</strong>: don’t show the article title in the breadcrumbs</li> <li><strong>hometitle</strong>: custom title for link to home</li> <li><strong>separator</strong>: seperator between sections and categories, etc.</li> <li><strong>combine</strong>: combination between two categories</li> <li><strong>replacements</strong>: replacements for the section titles. Use like <strong>replacements=“original name:New Name;other original name:Other New Name”</strong></li> </ul>
Last edited by tmacwrig (2004-07-25 15:56:51)
Offline
Re: [archived] tcm_crumbs
Cool! Once you get the entry title in there, I’ll give ‘er a whirl.
Offline
Re: [archived] tcm_crumbs
it’s been updated with the post title as the last “crumb” you can turn this off with “notitle=“yes”“
Offline
Re: [archived] tcm_crumbs
woow, tmacwrig!
Thats cool plug-in but don’t forget about the article name in next version ;-)
btw, in txp:scl_crumbs there is possible switch custom name of exceptions (case “about
Last edited by Denbo (2004-07-25 11:25:25)
Offline
Re: [archived] tcm_crumbs
the article name is in the current version..
there isn’t custom naming… yet. I’ll see what I can do.
Offline
Re: [archived] tcm_crumbs
it’s now possible to use custom naming. I put together a little conversion so it’s a little easier. you can use the option
replacements=“original name:Something Else;another original:Another”
so, between the new and old names, use a colon, and between different sections, use a semicolon. simple as that.
i made it work on sections… i don’t really see a point to categories, right?
Offline
Offline
Re: [archived] tcm_crumbs
/fixed a bug, hopefully nobody noticed :)
Offline
Re: [archived] tcm_crumbs
yeah! great, thank you, tmacwrig!
Offline
Re: [archived] tcm_crumbs
Very nice. Ripped out my site >> section hand-coding and now using your plugin. :)
Offline
#11 2004-07-26 18:51:06
- EddieG5
- Member
- From: Georgia
- Registered: 2004-03-03
- Posts: 96
Re: [archived] tcm_crumbs
How do you get your site to call this plugin?
Offline
#12 2004-07-26 18:54:14
- EddieG5
- Member
- From: Georgia
- Registered: 2004-03-03
- Posts: 96
Re: [archived] tcm_crumbs
Nevermind … I got it.
Thanks, great plugin!
Offline