Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » [archived] tcm_crumbs

#1 2004-07-24 23:40:33

tmacwrig
Archived Plugin Author
Registered: 2004-03-06
Posts: 204
Website

[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.

download

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

#2 2004-07-25 01:43:48

Daragh
Member
From: Toronto Canada
Registered: 2004-05-26
Posts: 60
Website

Re: [archived] tcm_crumbs

Cool! Once you get the entry title in there, I’ll give ‘er a whirl.

Offline

#3 2004-07-25 03:46:47

tmacwrig
Archived Plugin Author
Registered: 2004-03-06
Posts: 204
Website

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

#4 2004-07-25 09:03:29

Denbo
Member
From: Russia
Registered: 2004-06-27
Posts: 12
Website

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

#5 2004-07-25 15:25:42

tmacwrig
Archived Plugin Author
Registered: 2004-03-06
Posts: 204
Website

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

#6 2004-07-25 15:59:25

tmacwrig
Archived Plugin Author
Registered: 2004-03-06
Posts: 204
Website

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

#7 2004-07-25 17:54:44

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: [archived] tcm_crumbs

excellent

Offline

#8 2004-07-25 19:02:21

tmacwrig
Archived Plugin Author
Registered: 2004-03-06
Posts: 204
Website

Re: [archived] tcm_crumbs

/fixed a bug, hopefully nobody noticed :)

Offline

#9 2004-07-25 21:00:01

Denbo
Member
From: Russia
Registered: 2004-06-27
Posts: 12
Website

Re: [archived] tcm_crumbs

yeah! great, thank you, tmacwrig!

Offline

#10 2004-07-25 21:43:37

carol o
New Member
Registered: 2004-07-23
Posts: 2
Website

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

  1. Index
  2. » Archives
  3. » [archived] tcm_crumbs

Board footer

Powered by FluxBB