Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
[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
Re: [archived] scs_crumbs: Breadcrumbs
cool.
Offline
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)
Refresh Dallas and other Refreshing Cities.
Offline
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
Re: [archived] scs_crumbs: Breadcrumbs
what do breadcrumbs do?
Offline
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.
Refresh Dallas and other Refreshing Cities.
Offline
Re: [archived] scs_crumbs: Breadcrumbs
got it, thanks! :)
Offline
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
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.
Refresh Dallas and other Refreshing Cities.
Offline
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
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