Autocrumb - Lightweight Breadcrumb Helper (ver.12.05.1) |
[eluser]ardinotow[/eluser]
[quote author="ajh_8" date="1293947320"]This is great, thanks for this. I know it may sound daft, but is there a way to get rid of the Home link? Thanks in advance [/quote] Just change set_home configuration to $config['set_home'] = "";
[eluser]ardinotow[/eluser]
[quote author="Glazz" date="1294396584"]I got it working... But i think you need to rewrite the description, because it is a mess lool [/quote] Yeah, sorry for my english and lack of proper documentation. I think that an example on config file should be clear enough. [quote author="Glazz" date="1294396584"] And btw, why don't you make it so, if the $config['multilang'] is true, the function looks automatically on the language file, instead os us writing all the pages we want to be translated in the rewrite ? Edit: I found a little bug. When you have Code: $config['unlink_last_segment'] = true; And in your url you have a number, your last segment get's the hiperlink.. Ex: http://localhost/my/testing/url/1 -> My > Testing > Url The Url get's and anchor tag, and it shouldn't.. [/quote] I'll work on this please be patient
[eluser]cahva[/eluser]
[quote author="ardinotow" date="1294785978"][quote author="Glazz" date="1294396584"] Edit: I found a little bug. When you have Code: $config['unlink_last_segment'] = true; And in your url you have a number, your last segment get's the hiperlink.. Ex: http://localhost/my/testing/url/1 -> My > Testing > Url The Url get's and anchor tag, and it shouldn't.. [/quote] I'll work on this please be patient [/quote] Heres a quick fix: Find line: Code: $uri_array_original = explode("/", $uri); Add this after that: Code: $uri_array_cnt = count($uri_array_original);
[eluser]oniadvanced[/eluser]
Excellent script, really helpfull. Thanks a lot!
[eluser]IAFYM[/eluser]
Really nice helper, I like it. I do have one issue though that I can't seem to find where to fix? -- its not showing the first segment of the URL in the breadcrumb. For instance: "localhost/segment1/segment2" is only showing "Home > Segment2" anyway I can fix this? it is also not putting the correct links either, its linking the segment2 like this: localhost/segment2, I'm having to put in the replacer to correct it to add the correct link.
[eluser]Go-Trex[/eluser]
[quote author="IAFYM" date="1298909649"]Really nice helper, I like it. I do have one issue though that I can't seem to find where to fix? -- its not showing the first segment of the URL in the breadcrumb. For instance: "localhost/segment1/segment2" is only showing "Home > Segment2" anyway I can fix this? it is also not putting the correct links either, its linking the segment2 like this: localhost/segment2, I'm having to put in the replacer to correct it to add the correct link.[/quote] I've got the same issue with the latest build of the helper in combination with CI2.0. In CI1.7 the latest helper has no problems with the first segment.
[eluser]Progressed[/eluser]
[quote author="Go-Trex" date="1299035789"][quote author="IAFYM" date="1298909649"]Really nice helper, I like it. I do have one issue though that I can't seem to find where to fix? -- its not showing the first segment of the URL in the breadcrumb. For instance: "localhost/segment1/segment2" is only showing "Home > Segment2" anyway I can fix this? it is also not putting the correct links either, its linking the segment2 like this: localhost/segment2, I'm having to put in the replacer to correct it to add the correct link.[/quote] I've got the same issue with the latest build of the helper in combination with CI2.0. In CI1.7 the latest helper has no problems with the first segment.[/quote] niccceee... Got the same problem... i have really NO idea how to solve it. its http://localhost/phones/ that gets routed to http://localhost/telefoons/ but when i open a subpage like: http://localhost/telefoons/buitenland/ it shows HOME > Buitenland is it because of the route? // EDIT no its not because of the route. every 1st segment is deleted from the breadcrumb.
[eluser]ardinotow[/eluser]
Hay guys, it's weird that there is no notifications email about new post in this thread. I hope this is not too late for updating this helper So, I just updated autocrumb to version 3.11.1 that solved CI 2 compatibility problem. What's new ? 1. Included cahva's quick fix (http://ellislab.com/forums/viewreply/855097/). 2. CI 2 and CI 1.x compatible. You need to configure $config['codeigniter_version']. 3. Partial replacer. Here is the link: https://bitbucket.org/ardinotow/autocrumb/downloads Please give feedback guys. Thanks
[eluser]IAFYM[/eluser]
[quote author="ardinotow" date="1299358104"]Hay guys, it's weird that there is no notifications email about new post in this thread. I hope this is not too late for updating this helper So, I just updated autocrumb to version 3.11.1 that solved CI 2 compatibility problem. What's new ? 1. Included cahva's quick fix (http://ellislab.com/forums/viewreply/855097/). 2. CI 2 and CI 1.x compatible. You need to configure $config['codeigniter_version']. 3. Partial replacer. Here is the link: https://bitbucket.org/ardinotow/autocrumb/downloads Please give feedback guys. Thanks[/quote] Hi, Thanks for the fix, this seems to be working great now.
[eluser]Go-Trex[/eluser]
Hi Ardinotow, Thanks for your reply and fix it works like a charm now, keep up the good work! |
Welcome Guest, Not a member yet? Register Sign In |