Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2004-05-07 21:51:21

steph
Archived Plugin Author
From: Texas
Registered: 2004-02-24
Posts: 11
Website

[archived] scs_crumbs: Breadcrumbs

Notice: This thread is archived, You can use <txp:breadcrumb>.

**********************************************************

I know Dean has breadcrumbs planned for a future TXP, but… well, I am impatient. I’ve turned my really simple PHP breadcrumbs into a plugin.

<txp:scs_crumbs />

Let me know how it goes. Check the documentation; there’s a bunch o’ stuff in there.


Vivacious Crustacean

Offline

#2 2004-05-07 21:51:53

jason
Member
From: USA
Registered: 2004-02-23
Posts: 85
Website

Re: [archived] scs_crumbs: Breadcrumbs

cool.

Offline

#3 2004-06-06 03:52:02

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: [archived] scs_crumbs: Breadcrumbs

I seem to have a problem, It only shows Home and not any other directories that I am in.

It seems like it isn’t going inside the “foreach” part in the code and is only staying with the default value for “$crumbs”

Last edited by tinyfly (2004-06-06 04:24:30)

Offline

#4 2004-06-07 16:18:40

steph
Archived Plugin Author
From: Texas
Registered: 2004-02-24
Posts: 11
Website

Re: [archived] scs_crumbs: Breadcrumbs

I’ve just returned from my honeymoon and we’re buying a house today =8^0 but if you can hang on for another day or two I’ll take a look at it. Today is just crammed with RL stuff.


Vivacious Crustacean

Offline

#5 2004-06-07 17:26:46

erwin
New Member
Registered: 2004-05-19
Posts: 7
Website

Re: [archived] scs_crumbs: Breadcrumbs

what do breadcrumbs do?

Offline

#6 2004-06-07 17:53:00

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: [archived] scs_crumbs: Breadcrumbs

> erwin wrote:

> what do breadcrumbs do?

Look at the little links write above the messages on this page. The ones that read “Textpattern Support Forum / Plugins / Breadcrumbs”

These are breadcrumbs. They give you a trail of links letting you know where this page is in the hierarchy of the site.

Offline

#7 2004-06-07 17:58:33

erwin
New Member
Registered: 2004-05-19
Posts: 7
Website

Re: [archived] scs_crumbs: Breadcrumbs

got it, thanks! :)

Offline

#8 2004-06-08 21:05:37

steph
Archived Plugin Author
From: Texas
Registered: 2004-02-24
Posts: 11
Website

Re: [archived] scs_crumbs: Breadcrumbs

OK, my best guess is that it’s not working because txp doesn’t really create subdirectories, even with clean URLs turned on. The breadcrumb code is supposed to crawl the directory structure backwards, but since you’re still in the root directory, it isn’t going anywhere.

Bleh. Should have investigated txp workings more closely before messing with plugins.


Vivacious Crustacean

Offline

#9 2004-06-08 22:41:06

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: [archived] scs_crumbs: Breadcrumbs

would I be possible to use the actual URL? Breaking at each / to create a new link.

I don’t know php at all or I would work on it myself.

Offline

#10 2004-06-09 01:39:49

steph
Archived Plugin Author
From: Texas
Registered: 2004-02-24
Posts: 11
Website

Re: [archived] scs_crumbs: Breadcrumbs

Quite possibly… I’ll investigate.

The freaky thing is that it worked on my test site, but as far as I can tell, it shouldn’t have. :(


Vivacious Crustacean

Offline

#11 2004-06-15 15:31:07

Plaz
Member
From: Minnesota
Registered: 2004-06-02
Posts: 33

Re: [archived] scs_crumbs: Breadcrumbs

Is the breadcrumbs plug-in working correctly yet?

Can you tell me what it will display if I am using a sub-directory like:

www.site.com/content/section-one

This would be GREAT to have :)


If you want something you have never had, then you must be willing to do something you have never done.

Offline

#12 2004-06-15 20:47:36

steph
Archived Plugin Author
From: Texas
Registered: 2004-02-24
Posts: 11
Website

Re: [archived] scs_crumbs: Breadcrumbs

I think I have it fixed. I need a guinea pig or two, though — clean URLs aren’t working at all on my server today. (Bah.) Email me (link below) if you’d like to test the new version.

update – got guinea pigs AND a working server, now to find a PHP variable that will give me the URL txp is faking…

Last edited by steph (2004-06-15 22:10:13)


Vivacious Crustacean

Offline

Board footer

Powered by FluxBB