Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: [archived] tcm_crumbs
that wouldn’t be a problem to build it in, but on what basis would you choose titles? would they be like “Return to Home”, “View Category”, or “View Section”?
Offline
Re: [archived] tcm_crumbs
the title attribute is always nice to have as an option whatever the plugin outputs .. same as the class and id attribute.
if i, not that i think my knowledge in php is good enough, would do a plugin it would have theese things as standard without even thinking ..
maybe for all plugin writers to consider?
Plugins: ob1_advanced_search 1.032b, ob1_search_score 1.0, ob1_pagination 2.5, ob1_title 4.1, ob1_modified 2.1
“Let your plans be dark and as impenetratable as night, and when you move, fall like a thunderbolt.”
— Sun Tzu
Offline
Re: [archived] tcm_crumbs
That would be magic if you were willing to incorperate it tmacwrig. I actually meant to see if anyone had a pointer as to how i would include it myself. Didn’t feel i had the right to ask for additions to the plugin.
Yes those titles you mentined would be great.
The real reason i ask isn’t just because it’s nice though, it’s needed for accesability and those that want their pages to validate.
As to ID and class attributes they’re handy tools for sure but not necissary to my mind
Offline
#19 2004-08-23 21:58:06
- nednieuws
- Member
- From: The Home of Heineken
- Registered: 2004-08-21
- Posts: 14
Re: [archived] tcm_crumbs
I can’t for the life of me figure out where the plug-in is used on the Demo site. Hints anyone?
Regards, Charles.
Offline
Re: [archived] tcm_crumbs
-nednieuws – it isn’t used on that site anymore, I guess I just didn’t integrate it among all of the changes. I’ll try to get the titles done later tonight if I can.
-jasidog – are titles required for Bobby or WCAG or something? I’ve never had a problem.
Offline
Re: [archived] tcm_crumbs
Where do post titles come in? I love this plugin, but I just can’t seem to understand it.
It displays template names, and that’s all. I don’t understand how to get page titles, or category names, or anything.
I know I should understand this, but I just can’t seem to get it.
Offline
Re: [archived] tcm_crumbs
The variables are undefined. When you activate error_reporting, you see them all, and PHP complaining about it:
<code>Notice: Undefined variable: mode in /home/ludys/www/textpattern_g119/textpattern/publish.php(765) : eval()’d code on line 697
Notice: Undefined variable: showhome in /home/ludys/www/textpattern_g119/textpattern/publish.php(765) : eval()’d code on line 698
Notice: Undefined variable: separator in /home/ludys/www/textpattern_g119/textpattern/publish.php(765) : eval()’d code on line 699
Notice: Undefined variable: combine in /home/ludys/www/textpattern_g119/textpattern/publish.php(765) : eval()’d code on line 700
Notice: Undefined variable: replacements in /home/ludys/www/textpattern_g119/textpattern/publish.php(765) : eval()’d code on line 704
Notice: Undefined variable: data in /home/ludys/www/textpattern_g119/textpattern/publish.php(765) : eval()’d code on line 722
Notice: Undefined variable: hometitle in /home/ludys/www/textpattern_g119/textpattern/publish.php(765) : eval()’d code on line 723
Notice: Undefined variable: replacements in /home/ludys/www/textpattern_g119/textpattern/publish.php(765) : eval()’d code on line 737
Notice: Undefined variable: notitle in /home/ludys/www/textpattern_g119/textpattern/publish.php(765) : eval()’d code on line 764
</code>
Last edited by Jeremie (2004-08-24 03:36:29)
Offline
Re: [archived] tcm_crumbs
-Jeremie – don’t worry about that, those variables shouldn’t be defined if you don’t include them in the tag. it tests for that stuff if it’s working correctly.
-everyone – I’m rewriting the majority of the code so that it’s shorter and better. Not sure about classes or ids… and is there a textpattern function for generic links? I haven’t found one yet…
Offline
Re: [archived] tcm_crumbs
I’m not worried, but if PHP is complaining something somewhere is wrong :)
About classes and id what’s the issue ? the breadcrumb should have both (attributes classe=”“ and id=”“) to apply to the container html element, a div I think since with MSIE you can’t make that a list and add CSS generated content.
Offline
Re: [archived] tcm_crumbs
I’m bug-testing the new version right now.
The problem with classes and ids was just about making the code kind of bloated, but I think I’ve mostly eliminated that problem – the new version is shorter than the old.
and about the undefined functions, that’s just a “Notice” – it’s not actually an error, just a style call – and if it’s talking about defining vars, well… noone defines vars in php…
Offline
Re: [archived] tcm_crumbs
don’t hold your breath. I just copied and pasted the wrong code into the wrong window, and it seems that just deleted the plugin. And I can’t find my backup.
YU*)(%#*()#*()%#*()%*#()%*()&*%(&
Offline
Re: [archived] tcm_crumbs
Oh, man. :( I’m so sorry.
Offline
#28 2004-09-27 21:14:56
- Andrew
- Plugin Author

- Registered: 2004-02-23
- Posts: 730
Re: [archived] tcm_crumbs
tmacwrig wrote: “And I can’t find my backup.”
And that is why we need to be able to export raw plugins from within textpattern admin. If you get back on the wagon w/ this one, semantic markup is nice; can you modify this to give an option to output a <code><ul></code>?
Last edited by compooter (2004-09-27 21:18:05)
Offline
#29 2004-09-29 17:46:47
- Andrew
- Plugin Author

- Registered: 2004-02-23
- Posts: 730
Re: [archived] tcm_crumbs
Hmm… for some reason it can’t access <code>$thisarticle</code>, thus making it unable to output/check categories.
Offline
Re: [archived] tcm_crumbs
you put in the article form, right? and are you using article, or article_custom or one of the alternatives?
Offline