Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: [archived] tcm_crumbs
Also, I’ve hacked this plugin a lot to make it work form me:
- I added a slash at the end of section URLs, so that they become the canonical URLs zem_redirect would produce.
- I wanted a site hierarchy with categories under sections, so I’ve changed the category URLs to include
$pretext["s"].'/'.
before the query part of the URL. - I extended name replacements to work for categories too. See why.
VC3 :: weblog :: my wishlist
Offline
#74 2005-02-19 10:12:00
- kirk
- New Member
- From: LA
- Registered: 2005-01-20
- Posts: 8
Re: [archived] tcm_crumbs
I can’t seem to get this tag to display my article name. It just shows my homesite name and the section. A few people had this problem before. But I couldn’t not get them to tell me how they solve the problem. Can anyone here help?
Version 1 works, but it won’t output the title. Version 2 doesn’t work for me.
Last edited by kirk (2005-02-19 10:23:23)
Offline
#75 2005-02-19 19:37:08
- tee
- New Member
- From: Norway
- Registered: 2004-09-19
- Posts: 9
Re: [archived] tcm_crumbs
I have the same problem as Kirk. The homesite name and the section is shown, but not the article title.
I use v0.2
Please, someone – build a working crumbs plugin ;)
Proud VCII
Offline
Re: [archived] tcm_crumbs
If only the two of you cared to read what I’ve written above.
VC3 :: weblog :: my wishlist
Offline
#77 2005-02-19 20:26:00
- tee
- New Member
- From: Norway
- Registered: 2004-09-19
- Posts: 9
Re: [archived] tcm_crumbs
> Etz Haim wrote:
> If only the two of you cared to read what I’ve written above.
I read what you wrote. Maybe I’m just stupid, but I didn’t get it to work.
I want the crumbs to display like this:
home > section > category > article title
All I got was:
home > section
when using format “scc”.
Proud VCII
Offline
Re: [archived] tcm_crumbs
You can’t put <txp:tcm_ crumbs />
before <txp:article />
or its variants (article_custom, chh_article_custom) in your pages. Do it the other way and it will work.
VC3 :: weblog :: my wishlist
Offline
Re: [archived] tcm_crumbs
kirk & tee – you are using the plugin within the article form, right?
Offline
Re: [archived] tcm_crumbs
Does it have to be one of those specific forms, or can it be any form with type ‘article’?
I’m curious just because I’m thinking of trying to get titles working in the crumbs on my site, and there’s no way I could fit it into the page’s main article tag right now.
You cooin’ with my bird?
Offline
Re: [archived] tcm_crumbs
it needs to be in the article form (at least for now) because the $thisarticle variable only exists within the article form.
If you are going to use it on an individual article form, you can avoid this formatting problem pretty simply just by making a new article form with just the crumbs in it, and having two txp_article tags on the page. the one with the crumbs will just use the same $_GET values as the other one, so it will work with the article title.
Offline
Re: [archived] tcm_crumbs
tmacwrig: I disagree. You may as well put it after the article body in your page, as long as it is placed after txp:article
or the relevant, so that $thisarticle
has already been loaded. I’m doing this and it works just fine.
VC3 :: weblog :: my wishlist
Offline
#83 2005-02-20 10:09:35
- kirk
- New Member
- From: LA
- Registered: 2005-01-20
- Posts: 8
Re: [archived] tcm_crumbs
I did what Etz Haim said and it works. The problem is that I’m gonna have to figure out a way to put the crumbs on top of the page while having the tag itself go after the article tag. That’ll be hard.
Any suggestions?
Thanks,
Kirk
Offline
Re: [archived] tcm_crumbs
Why not try out the new breadcrumb functionality in RC3 and ee how that goes?
You cooin’ with my bird?
Offline