There's alot of breadcrumb modules out there, but none of them build true breadcrumbs.
Cookie Crumbs, makes use of cookies (hence the name), to provide history based breadcrumbs, and not the herical standard ones.
The plugin is an implementation of the jQuery library HanselsRevenge (https://github.com/soitgoes/hanselsrevenge)
Installation notes
Download the JavaScript library from GitHub as a zip file or clone the repository.
Project page: http://drupal.org/sandbox/trogels/1880408
GIT Repository details: git clone http://git.drupal.org/sandbox/trogels/1880408.git cookie_crumbs
Drupal Version: Drupal 7
Reviews of other projects
http://drupal.org/node/1864452#comment-6904126
http://drupal.org/node/1814536#comment-6905720
http://drupal.org/node/1758048#comment-6908568
Second round of reviews of other projects
http://drupal.org/node/1888318#comment-6938490
http://drupal.org/node/1889102#comment-6941636
http://drupal.org/node/1890670#comment-6950750
Comments
Comment #1
h3rj4n commentedCouldn't find much. Nicely done.
Only thing you should change is remove the cookie_crums.theme.inc file and move the content to the module file. One file less that needs te be loaded. The module file won't be less readable with the contents of the theme file.
And on the side: Thanx for your comment on Swift Pics where you link to the doc about the Entity API. Didn't knew that yet! Saved it!
Comment #2
trogels commentedThank you for your feedback.
I moved the theme function to the module file. No need for a theme file with only one theme function.
Comment #3
sadashiv commentedREADME.txt suggests that we can check status report for more details of library exists, but module can't be enabled as hook_requirements don't check phase == 'runtime' and is invoked during install and shows library missing, this can be fixed by adding check for $phase.
You may Implement hook_help to add help of the module.
Their are few points in README.txt which don't have a explanation (IRC API Hooks, Cache Warning, Design Decisions) which should be completed or removed if not applicable.
Regards,
Sadashiv.
Comment #4
sadashiv commentedComment #5
arnested commentedLooks good, trogels.
As @sadashiv writes the README.txt contains a table of contents which is out of sync with the actual content (looks like copy'n'paste from some other module).
I don't know how the hansel-script works but maybe you could consider adding some options to the drupal_add_js() calls?
I.e. would it be possible to add a 'scope' => 'footer'? That would be better for client side performance.
Also consider whether setting 'group' => JS_LIBRARY for the library.
Comment #6
trogels commentedYour feedback is much appreciated, sadashiv and arnested.
I comitted the following changes to 7.x-1.x.
Comment #7
trogels commentedI made 3 reviews of other projects
http://drupal.org/node/1864452#comment-6904126
http://drupal.org/node/1814536#comment-6905720
http://drupal.org/node/1758048#comment-6908568
Comment #8
aboutblank commentedREADME.txt tells me to go to admin/reports/status to find out where to download the library. Why not just put this line:
directly into README.txt?
Also in README.txt, I think 'herical' should be spelled as "hierarchical."
README.txt and the project description would benefit from a more detailed description of exactly what this module does. I would recommend a sample use case or example or something. Maybe it's kind of obvious, but I had to look through the source code to even figure out that it adds a block and that I could configure the number of links to be shown.
Otherwise, thanks for sharing, this is pretty cool!
Comment #9
trogels commentedHi Jason,
Thank you for your feedback on my module. I've trimmed the README.txt file in the following commits.
I've also updated the description on the project page
Comment #10
trogels commentedComment #11
hhhc commentedHi,
breadcrumps can be quite cumbersome sometimes so this approach looks very promising to get the real-life navigation breadcrump.
README: At first look I was confused why you referenced https://github.com/soitgoes/hanselsrevenge as there is already a JS file shipped with the module that has the name "hanselsrevenge" in it. Would it make sense to rename the shipped JS file to sth like cookie_crumbs.js?
Other than that it looks great. Well done!
Comment #12
trogels commentedThank you for your feedback on the project.
I refactored the javascript configuration file in the following commits.
Comment #13
klausiReview of the 7.x-1.x branch:
This automated report was generated with PAReview.sh, your friendly project application review script. You can also use the online version to check your project. You have to get a review bonus to get a review from me.
manual review:
require_once 'mymodule.inc';<script>alert('XSS');</script>I get a nasty javascript popup as soon as I navigate to that node. The library needs to sanitize user provided text before printing.I don't know if you are the author of that library or if you can fix it, but security issues are application blockers. Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #14
trogels commentedHi klausi,
Thank you for your feedback on the project.
I corrected the following:
I will update the issue as soon as the XSS issues are solved in the library.
Comment #15
trogels commentedThe author of hanselsrevenge merged my pull request, solving the XSS issue.
Comment #15.0
trogels commentedadding another entry to my reviews
Comment #15.1
trogels commentedadding a new review
Comment #15.2
trogels commentedAdding yet another bonus review
Comment #16
trogels commentedI added three new reviews of other applications.
I left the PAReview: security tag. Should I remove it?
Comment #17
lolandese commentedPlease don't remove the security tag, we keep that for statistics and to show examples of security problems, even if it seems solved now.
Comment #18
klausiLooks RTBC to me now! Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #19
klausiTrying to remove review bonus tag again ...
Comment #20
klausino objections for more than a week, so ...
Thanks for your contribution, trogels!
I updated your account to let you promote this to a full project and also create new projects as either a sandbox or a "full" project.
Here are some recommended readings to help with excellent maintainership:
You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and get involved!
Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
Thanks to the dedicated reviewer(s) as well.
Comment #21.0
(not verified) commentedadding review