Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: [archived] tcm_crumbs
I’m sure it’s just my own stupidity but how do i get the breadcrum links to show title attributes. Is there somewhere i add title tags?
Offline
Re: [archived] tcm_crumbs
title attributes? I’m not sure what you’re asking for…
Offline
Re: [archived] tcm_crumbs
Um like a tool tip when hovering over a link like –
<pre><a href=“domain.com” title=“little description”>link text</a><pre>
Thanks for any help. :)
Last edited by jasidog (2004-08-16 02:01:49)
Offline
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