Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#37 2005-09-28 17:37:43

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: [plugin] [ORPHAN] etz_crumbs

OK. Does that mean we should download the latest revision on your linked page?

I am still working with etz_crumbs but would like to know how to use it in the page. It works if placed in a page but wil only display the site name > section. If inside an article in the “about” section, only the section displays. I would like it to display the article title too.

I know it works if in a form, but as mentioned earlier, I have so many forms that do different things it won’t work for me that way. For example, some articles in 2 sections are in list form. When I add etz_crumbs to that form, I get several breadcrumbs!

There may be a way around this with forms, but to me, placing etz_crumbs in the page makes more sense….

Offline

#38 2005-09-28 21:19:38

Etz Haim
Archived Plugin Author
From: Karlstad, Sweden
Registered: 2005-01-24
Posts: 262
Website

Re: [plugin] [ORPHAN] etz_crumbs

jstubbs, both Niconemo and I have suggested a couple of ways (textpattern conditionals, fixed CSS positioning) to get the job done easily. You may want to learn how to use these techniques, but that’s beyond the scope of this thread. This thread deals exclusively with etz_crumbs and its support.

Please study this carefully, spend some time here, try to learn something about CSS on your own, and if you still have any questions, direct them to the more appropriate forums (i.e. “How do I…”). You are welcome to post here too for anything specific to this plugin.

Last edited by Etz Haim (2005-09-28 21:24:19)

Offline

#39 2005-10-01 04:56:45

Etz Haim
Archived Plugin Author
From: Karlstad, Sweden
Registered: 2005-01-24
Posts: 262
Website

Re: [plugin] [ORPHAN] etz_crumbs

OK. Due to popular demand, version .4 is out to fulfill some requests expressed in this thread. Changes include:

  • Works in article forms OR page templates ;) – no voodoo knowledge required,
  • doesn’t display anything in the frontpage,
  • where “yes” and “no” were used as attributes, forget them, use 1 and 0 instead, and
  • there’s the noexpand = "1" attribute too.

I hope you enjoy it!

Last edited by Etz Haim (2005-10-01 04:57:56)

Offline

#40 2005-10-04 11:16:50

grad
Member
From: Poznan, Poland
Registered: 2005-10-04
Posts: 24

Re: [plugin] [ORPHAN] etz_crumbs

Here are some requests for version 0.5 :)

  • The link to home (<code>showhome=“1”</code>) should point to URL set in site preferences (<code><txp:site_url /></code>) and all next links should be relative to this one. In 0.4 it points to root (<code><a href=”/”></code>) which is not always the case (e.g. installation in a subdirectory).
  • With <code>showhome=“0”</code> there should be no separator. In 0.4 it produces this: “> section”.
  • An option to switch off the link for the last crumb would be useful. In other words, while all crumbs are links the last one (the active item) would be just text.
  • Add option to add title attribute to links (<code><a … title=“title text”></code>). The title of each link should be the title for that item (section/category) with custom prefix (e.g. “Go to…”). It would produce e.g. <code><a … title=“Go to: section name”></code>

Thanks :)

Last edited by grad (2005-10-04 11:22:55)

Offline

#41 2005-10-04 14:19:07

Etz Haim
Archived Plugin Author
From: Karlstad, Sweden
Registered: 2005-01-24
Posts: 262
Website

Re: [plugin] [ORPHAN] etz_crumbs

Grad: Half of your requests are already granted in the unreleased 0.4.1. Note that everything above 0.4 requires the latest SVN (or Textpattern 4.0.2)-, so upon the next release of Textpattern, a new etz_crumbs will come out too.- No need to wait if you can grab the SVN, 0.5 has been released.

Last edited by Etz Haim (2005-10-05 16:41:07)

Offline

#42 2005-10-04 14:28:03

grad
Member
From: Poznan, Poland
Registered: 2005-10-04
Posts: 24

Re: [plugin] [ORPHAN] etz_crumbs

Good to hear that. I’m waiting impatiently.

Offline

#43 2005-10-05 16:32:22

Etz Haim
Archived Plugin Author
From: Karlstad, Sweden
Registered: 2005-01-24
Posts: 262
Website

Re: [plugin] [ORPHAN] etz_crumbs

There’s a new 0.5 version which is a complete rewrite and doesn’t contain any tcm_crumbs legacy code. It has numerous improvements over the last versions:

  • It drops all its dependencies on other plugins,
  • works in subdirectories,
  • uses logic to save database queries,
  • always outputs valid XHTML,
  • drops the legacy “combine”, “swapcat”, “cc” and “scc” modes, and outputs crumbs by one (or none) category only,
  • it is licensed under the GPL,
  • and many more…

The catch is that you need to download the latest SVN, plus you need to watch out as the way to call the plugin has changed. Just read the included documentation.

So here it is, for the brave SVN followers who are willing to test it: -etz_crumbs-0.5.txt.gz Look below at the next post.

I shouldn’t forget to thank Tom, whose work has given me the incentive to create etz_crumbs.

Last edited by Etz Haim (2005-10-07 19:09:44)

Offline

#44 2005-10-07 19:12:52

Etz Haim
Archived Plugin Author
From: Karlstad, Sweden
Registered: 2005-01-24
Posts: 262
Website

Re: [plugin] [ORPHAN] etz_crumbs

There’s a brand new -version 0.6 +version 0.6.1 to use with the latest subversion. This one works in messy URL mode too.

At least until the next Textpattern release, this new version is for developers, testers and SVN followers only. Currently, the average user should use etz_crumbs version 0.4 with the 4.0.1 Textpattern release.

Last edited by Etz Haim (2005-10-13 19:27:41)

Offline

#45 2005-11-24 20:41:59

Etz Haim
Archived Plugin Author
From: Karlstad, Sweden
Registered: 2005-01-24
Posts: 262
Website

Re: [plugin] [ORPHAN] etz_crumbs

Version 4.0.2 of Textpattern has come out, so you may use 0.6.1 version of etz_crumbs with it. Just notice that the way to call the plugin has changed. It’s all in the help.

Last edited by Etz Haim (2005-11-24 20:42:23)

Offline

#46 2005-11-26 18:44:50

Etz Haim
Archived Plugin Author
From: Karlstad, Sweden
Registered: 2005-01-24
Posts: 262
Website

Re: [plugin] [ORPHAN] etz_crumbs

Version 0.7 outputs the author’s name when the author’s articles are listed. Cool, isn’t it?

Offline

#47 2005-12-29 16:42:42

papalozarou
Member
Registered: 2004-07-05
Posts: 43

Re: [plugin] [ORPHAN] etz_crumbs

Any chance that you can add support for a ‘wraptag’ and ‘break’? I would like to be able to output my breadcrumbs as an ordered list (an ol with each item enclosed in an li) without a separator.

Last edited by papalozarou (2005-12-29 16:43:12)

Offline

#48 2007-02-07 21:07:12

WebKat
Member
Registered: 2007-01-16
Posts: 301

Re: [plugin] [ORPHAN] etz_crumbs

I am having a problem with the way that it forms the links. For example, if the url it should be going to is /index.php?c=Rants (or just /?c=Rants obviously) the link it is creating is going instead to /Rants/?c=Rants
It seems that it is just making the links not taking into account that it is going to be relative to the subdirectory it’s currently sitting in… help?



WebKat

Offline

Board footer

Powered by FluxBB