Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
glz_crumbs, simple breadcrumbs plugin
glz_crumbs 0.3.1 is out.
glz_vars is a nifty breadcrumbs plugin outputting parent location(s) as links and current location as plain text – can count live articles as well.
- relies on glz_vars
- can display how many live articles are filed under a certain Section, Category or even the whole site
- if article has Category2 specified, it will display it
- performance improvement (more db friendly – glz_vars reduces the load directly proportional to the glz_ plugins in use)
- added showcat1, showcat2 and showarticle support
Enjoy and don’t forget to report any bugs you might encounter ; ).
Cheers, Gerhard.
Last edited by gerhard (2006-01-10 17:14:24)
Offline
Re: glz_crumbs, simple breadcrumbs plugin
It shows “txp_home” alone, if I’m on the frontpage, “txp_home >”, if in a section article_list and “txp_home > > article_title”, if on a individual article, but it doesn’t show the section names.
The source code on an individual article page outputs <code><a href=“http://localhost” title=“txp_home home page”>mydomain.ch</a> > <a href=“http://localhost/sectionname” title=“title comes here”></a> > First Post</code>
I have txp 1.0rc3 from 29 april 2005 and upm_section_title v.0.4.1
Last edited by tranquillo (2005-07-02 18:27:36)
Offline
Re: glz_crumbs, simple breadcrumbs plugin
Hi tranquilo,
thanks for highlighting the first bugs :P.
Well, first of all, you need to set up a name for the site. Go to Admin and under Preferences you will find Site name. Once that is done, txp_home will be replaced with whatever you inserted @ Site name.
I don’t remember which section First post is assigned to, but I have a feeling that you might have highlited a bug in my plugin. I will look into it later on and roll out v 0.1.1 asap.
No, sorry. There is no bug. If I remember right, First post is assigned to article section. I have tested it on my end and it works fine: Home > Article > First post.
Cheers, Gerhard.
Last edited by gerhard (2005-07-02 22:38:31)
Offline
Re: glz_crumbs, simple breadcrumbs plugin
I have set a name for the homepage and it displays that name. I also have asigned a specific section to the article “First post” (the code I posted was generalized). My only problem is that the section name is not displayed. I guess my problem is the upm_section_title plugin and not your plugin, as <code><txp:upm_section_title /></code> doesn’t output anything, either.
Last edited by tranquillo (2005-07-03 10:57:39)
Offline
Re: glz_crumbs, simple breadcrumbs plugin
Well tranquilo, even if you don’t set a Site name, v 0.1.1 will make it Home by default : ).
As far as <em>upm_section_title()</em> is concerned, it would be helpful if you could have a look in your Apache error_log. Furthermore, it would be advisable if you could post the error message(s) related to upm_section_title() e.g. <code>[Fri Jul 1 18:06:57 2005] [error] PHP Warning: Missing argument 1 for upm_section_title() in /Library/WebServer/Documents/assetsos/new/textpattern/lib/txplib_misc.php(379) : eval()’d code on line 1</code> in upm_section_title thread . Mary will be able to help you best because it’s her plugin.
OK mate, take care and have fun with TXP ; ).
Last edited by gerhard (2005-07-03 11:16:27)
Offline
Re: glz_crumbs, simple breadcrumbs plugin
Just what I was looking for! Thanks Gerhard, this is great.
Oh— and kudos to Mary as well for her faboulour upm_section title plugin.
Cheers
Terry
Last edited by vibe9 (2005-07-13 19:25:09)
Once in a while you can get shown the light, in the strangest of places if you look at it right.
-Grateful Dead
Offline
Re: glz_crumbs, simple breadcrumbs plugin
Happy that you’re finding this plugin useful Terry ; ). v 0.2 should be out fairly soon. I want to release it together with glz_2dnav which basically outputs sections on x-axis and categories on y-axis. I have a local version working already, just need to tidy it up a bit and write the help part.
Btw, I am sure that I came across your website before because I distinctly remember that vibe9 name ; ).
Keep up the good work, Gerhard.
Offline
Re: glz_crumbs, simple breadcrumbs plugin
That’s sounds cool Gerhard – look forward to version2.
Thanks for your kind words :) You too!
Last edited by vibe9 (2005-07-13 22:47:54)
Once in a while you can get shown the light, in the strangest of places if you look at it right.
-Grateful Dead
Offline
Re: glz_crumbs, simple breadcrumbs plugin
The new v 0.2 is out. Just when linking to TXP’s download page did I realize that RC05 is out. I am sorry but I simply don’t have the time to test it on this version as well. I can only hope that it works fine on RC05…
Sorry guys for not having glz_2dnav available as of yet, but I think that I will keep it just for personal use until it becomes more robust. I simply don’t feel that it carries enough value to be released within the community. @ the minute it’s not much more advanced than ako_nav.
A big cheer for everyone that contributes to TXP (be it in small or big ways) ; ), Gerhard.
Offline
Re: glz_crumbs, simple breadcrumbs plugin
Any news on when v 0.3 might be out?
It’s already a cool plug-in, and it’d be great to get even cooler.
I need it for the category2 linking – for a category crazy colleague
cheers
Offline
Re: glz_crumbs, simple breadcrumbs plugin
mearso, your request was the reason for which v. 0.3 was released this even. I had it ready weeks ago, but was too busy to make it public.
Happy to hear that you are enjoying glz_crumbs mate. If you find any bugs, please let me know.
Cheers, Gerhard.
Offline
Re: glz_crumbs, simple breadcrumbs plugin
Cheers Gerhard thanks for the release.
It doesn’t appear to be working for me though.
This appears in the article
Sitename (23 articles)> (0 articles)>
when I use this code
<code> <txp:glz_crumbs site_count=“1” section_count=“1” cat_count=“1” nomenclature=“articles” /></code>
I’m on rev 1058
Offline