Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

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

#13 2004-08-14 02:15:08

jasidog
Member
From: Scotland
Registered: 2004-05-17
Posts: 13
Website

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

#14 2004-08-16 00:04:30

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

Re: [archived] tcm_crumbs

title attributes? I’m not sure what you’re asking for…

Offline

#15 2004-08-16 01:57:30

jasidog
Member
From: Scotland
Registered: 2004-05-17
Posts: 13
Website

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

#16 2004-08-16 18:07:04

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

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

#17 2004-08-16 18:28:36

obeewan
Archived Plugin Author
From: Stockholm, Sweden
Registered: 2004-08-12
Posts: 319
Website

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

#18 2004-08-16 19:20:06

jasidog
Member
From: Scotland
Registered: 2004-05-17
Posts: 13
Website

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

#20 2004-08-23 22:13:42

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

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

#21 2004-08-24 03:16:56

Jennifer
Member
From: Michigan
Registered: 2004-02-25
Posts: 74
Website

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

#22 2004-08-24 03:36:14

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

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

#23 2004-08-24 05:38:53

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

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

#24 2004-08-24 05:54:09

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

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

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

Board footer

Powered by FluxBB