Closed (fixed)
Project:
Custom Breadcrumbs
Version:
5.x-1.2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 Jan 2008 at 17:33 UTC
Updated:
15 Mar 2010 at 20:22 UTC
Hi,
I've attached a patch which does the following:
I know it's bad form, but this patch is against the 1.2 version as that's what the site I'm working on is using. But if the functionality looks good, I will port it to whatever version it needs to be :).
Thanks!
--Andrew
| Comment | File | Size | Author |
|---|---|---|---|
| limit_by_path_and_insertion_placement.patch | 8.79 KB | deviantintegral |
Comments
Comment #1
scottrigbyHmm, I got an error.
- I uninstalled custom breadcrumbs.
- Then I installed the patch, and uploaded patched files.
- Then I enabled the it in /admin/build/modules
I got this error:
Any thoughts about what I may have done wrong?
Thanks! Cause this would be great functionality
Scott
Comment #2
scottrigbyugh.
Ok, so I tried to uninstall this patched module (after disabling it), and get the following error:
Now I'm kind of stuck. where do I go from here?
Thanks for any help!
Scott
Comment #3
scottrigbyNo suggestions? :(
Comment #4
scottrigbyHi -
has there been any progress on this?
I'm no longer grappling with the error above (reinstalled site a while ago)...
But this functionality would be very useful on other sites -- especially adding before an existing breadcrumb.
One example illustrates how useful this would be:
Another module - Node hierarchy, automatically shows children of children of children (etc) in order, in the breadcrumb. However, if the content-type were called 'project', and I wanted the url to go something like: http://url.com/projects/parent/child/grandchild/greatgrandchild
then it would make sense for the breadcrumb to also go something like:
Home › Projects › Parent › Child › Grandchild › Greatgrandchild
But AFAIK, there is no way to do this using custom breadcrumbs as it is (each breadcrumb needs to go on it's own line, so a specified number of crumbs is all we can do).
However, adding to the beginning would allow us to take advantage of the NH module's existing functionality, and still customize our breadcrumb.
So, I'm wondering - has anyone had success with this patch? Or deviantintegral - did you get some updated version of this to work for your own use (if so, care to share)?
Thanks in advance for any help, suggestions, leads...
:)
Scott
Comment #5
deviantintegral commentedHi,
Apparently I didn't get updates on this issue via email, so I had no idea anyone else was interested! I haven't changed anything since I made the patch, and am currently using it successfully on a live site. Hopefully you got it working.
It would be great if the maintainer could give me feedback if I'm on the right track, so this can be improved and integrated.
Thanks!
--Andrew
Comment #6
wildmtsky commentedI manually added this patch and I receive the following error:
Did I mistype or is this an issue? Any help would be appreciated!
Comment #7
deviantintegral commentedDid you run update.php after applying the patch?
You might find it easier to not apply it manually: http://drupal.org/node/60179
Comment #8
wildmtsky commentedHey, thanks for the alternative to manually patching...I tried Tortise (I believe) but I need to play around with the "how-to" a little more because I don't understand quite how it works..
But I re-did the manual patching, ran update.php and everything works beautifully.
Thanks for your reply!
Comment #9
MGN commentedClosing this issue because 5.x is closed to feature requests at this point. It may be of interest for the 6.x-2.x version, but I think this can now be done on a per breadcrumb basis without having to modify the database by expanding on the special identifiers that were introduced in that version.
If this is of interest, please reopen as a 6.x-2.x feature request.
Comment #10
deviantintegral commentedSounds good to me; I haven't used this module on D6 so glad to hear that there is a way to achieve this functionality.