Breadcrumb Navigation XT Bug Fix

Some users, while trying to use the new administration system for Breadcrumb Navigation XT, had problems with the breadcrumb displaying. These users happen to be running PHP4. Since both my development environment and my web server run versions of PHP5, it is not a simple task of maintaining full PHP4 compatibility. In order to regain PHP4 compatibility version 1.9.2 was released today with a fix which is both in bad style and potentially dangerous. I am seeking a more elegant solution but until then this will have to do. Beginning with Breadcrumb Navigation XT 2.0.0, the way the Administration interface is handled will change and will eliminate the current problem.

-John Havlik

[end of transmission, stay tuned]

1 Comment Updated:

Breadcrumb Navigation XT Version 1.9.0

Holy GUIs, Batman! Yep, the new Breadcrumb Navigation XT administration panel/GUI is finished and distributed with the new version. Other than the administration panel, some tweaks were made involving the behavior for attachment posts (which are broken for certain permalink structures until WordPress 2.4), search pages, and date archive pages. Attachment posts are properly supported and recognized as an attachment of a post instead of a post in the ‘uncategorized’ category. Now in search pages, the search terms are output into the breadcrumb along with a customizable prefix and suffix replacing the single title of previous versions. Date archive pages when the year, month, and day are specified now allow three of the most common wording orders: big endian (ISO standard), middle endian (common in the US), and little endian (common in Europe).

The next major version 2.0.0 will contain major changes and support for WordPress 2.3. It will not be released until a WordPress 2.3 preview release has been released. 2.0.0 will nearly be rewritten from the ground up to address some performance concerns I have about the current code. These mainly pertain to unnecessary redundant branch statements that require some major work to fix. Until then, do grab Breadcrumb NavXT from its project page.

-John Havlik

[end of transmission, stay tuned]

Permalink Problem

The previously mentioned problem with attachment posts is related to a permalink bug in WordPress. Permalinks containing categories (e.g., /archives/%category%/%postname%/) will pose problems for any attachment posts. This is due to the fact WordPress does not allow category management for these posts and thus they end up in the uncategorized category. If this category is not the primary category of the parent post, then the resulting permalink will break. A fix may already exist for 2.2. Regardless, I’ll keep digging into this so that 2.3 will not contain this problem.

-John Havlik

[end of transmission, stay tuned]

5 Comments Updated:

Developing WP Trainer

The rather unfriendly weather this weekend provided a rather good opportunity to begin coding WP Trainer. Contrary to previous thoughts, my previous experience with RSS has helped little in working with the XML parser in PHP. Thus, getting the Garmin output XML file into a nice array of objects in PHP took a bit of time, but now that part is done. Now comes the learning of the Google Maps API, which has excellent documentation and looks like it will be easy to do. After that I’ll need to select a graphing API. Mootools does not have graphing capabilities so using that is out besides AJAX and effects stuff. If anyone knows of a good, fast, and lightweight javascript/SVG API for doing all sorts of graphs let me know.

Expect a beta for WP Trainer sometime near the end of this month, with a preview available on this blog in the coming weeks. Corresponding to this release I will rework moo.wp and the available download will correspond to the featured description. At the time of release API documentation for moo.wp will be available for theme and plug-in writers. Features described in the API documentation are guaranteed to remain the same for three WordPress major releases (e.g., 2.0.0, 2.1.0, 2.2.0, etc.) and will remain available for at least one year.

Breadcrumb NavXT is starting to get hits, Micheal did get a forward link going which has spurred that traffic. All of the various WordPress plug-in sites need to be updated, which means I probably have some e-mails to write. Anyways other that WordPress 2.3 support for 1.9, which includes the new tagging system, some more advanced length limiting techniques will be available. These include maximum total breadcrumb length and options on where and what to trim.

One last thing, I do realize that Internet Explorer 6 (and maybe 7) messes up the header on this blog, the simple solution to this is to at least upgrade to IE7, and think about switching to Firefox. Opera users will see that the footer is messed up, I am working on this but it may not be resolved for a week or so. I can not test for KHTML based browsers (e.g., Konqueror and Safari) right now so their status is unknown, but assumed to work.

-John Havlik

[end of transmission, stay tuned]

Updated:

Breadcrumb Navigation XT Version 1.8.0

Since the original author of Breadcrumb Navigation XT ran out of time for further development of the WordPress plug-in, I have picked it up. After a few days of coding and working on setting up the code section of this blog, the new version is ready for release. This new version, 1.8.0, includes support for author pages, and limiting the number of categories displayed in the breadcrumb.

Note that beginning with this release the version numbering scheme is to follow the same as WordPress uses, the first digit changes for major changes and as the second runs past 9. The second digit changes with the addition of features, internal structure of the class will not change in with a change in this digit. Finally, the third digit signifies a bugfix to features previously introduced without any added features. The next version, 1.9, is planned for the release of WordPress 2.3 due to the addition of tags into WordPress.

Check out the Breadcrumb NavXT project page to get the latest version.

-John Havlik

[end of transmission, stay tuned]