Autocrumb - Lightweight Breadcrumb Helper (ver.12.05.1) |
[eluser]jacobson[/eluser]
Hello, very nice helper Is there a possibility of setting image instead of home ?
[eluser]Ben Swinburne[/eluser]
@jacobson Could you use Code: // in config/breadcrumb.php Or Code: // in config/breadcrumb.php Ben
[eluser]newuser2[/eluser]
First off, this helper is fantastic! I have a question regarding stripping out a url segment completely. Lets say I have this url: Code: /views/tutorials/march/title How can I remove the /views/ segment from all of the urls in the breadcrumb trail? I read in the comments that this is possible by hardcoding something in like this: Code: $config['replacer'] = array('tutorials'=>'/tutorials') Thanks EDIT: I added some functionality to the original to get this to work at line 281: Code: $add_this = '';
[eluser]vbsaltydog[/eluser]
I must be missing something here. I just installed this helper and all it does is show the URL as a delimited string with links. This is not a breadcrumb. A breadcrumb is a trail of how you got to the current page so you can backtrack. I do not see this helper as a "breadcrumb" generator.
[eluser]ardinotow[/eluser]
@vbsaltydog. That this helper utilizing CI's URL as breadcrumb is not wrong. But IMHO, this helper can be a breadcrumb generator, it just about the way how you choose a breadcrumb format.
[eluser]ndrandloop[/eluser]
Hi ardinotow, thanks for this fantastic helper. I'm using the last version 6.11.1 on CI 1.7.3. I cannot delete index.php from breadcrumb's url while i'm using mod rewrite to delete index.php from site url. You can view an example ah this url (http://dev.pugliadinotte.net/locali/sche...llie/1.htm), watch after institutional menu (home > locali > discoteche). I hope you will can help me. Thanks!
[eluser]ardinotow[/eluser]
[quote author="ndrandloop" date="1311877191"]Hi ardinotow, thanks for this fantastic helper. I'm using the last version 6.11.1 on CI 1.7.3. I cannot delete index.php from breadcrumb's url while i'm using mod rewrite to delete index.php from site url. You can view an example ah this url (http://dev.pugliadinotte.net/locali/sche...llie/1.htm), watch after institutional menu (home > locali > discoteche). I hope you will can help me. Thanks![/quote] Open your config.php (application/config/config.php). Look on value Code: $config['index_page'] = "index.php"; Code: $config['index_page'] = "";
[eluser]Unknown[/eluser]
Very nice helper. Thank you and where the heck can I donate to such a nice helper that saved me a ton of time by not having to write my own! KUDOS
[eluser]ndrandloop[/eluser]
[quote author="ardinotow" date="1311970945"][quote author="ndrandloop" date="1311877191"]Hi ardinotow, thanks for this fantastic helper. I'm using the last version 6.11.1 on CI 1.7.3. I cannot delete index.php from breadcrumb's url while i'm using mod rewrite to delete index.php from site url. You can view an example ah this url (http://dev.pugliadinotte.net/locali/sche...llie/1.htm), watch after institutional menu (home > locali > discoteche). I hope you will can help me. Thanks![/quote] Open your config.php (application/config/config.php). Look on value Code: $config['index_page'] = "index.php"; Code: $config['index_page'] = ""; Oh yessssssssss! I'm sorry...I'm stupid! Thanks Ardinotow!
[eluser]Unknown[/eluser]
Hi ardinotow, First of all, thank you for a great helper library. I have one question. I am using your autocrumb for a clothing website. The website has many categories and subcategories. Because the website can change the levels of categories, I made one method called category() in a controller that handles all categories. For example, I have following category structure: Category 1 - Subcategory 1 -- Sub-subcategory 1 -- Sub-subcategory 2 - Subcategory 2 Category 2 Because displaying any level of categories is done through category() method, when I get to sub-subcategory 1, the breadcrumb displays "Home > Category" and not "Home > Category 1 > Subcategory 1 > Sub-subcategory 1" if you know what I mean. Is there something I can do in category() method to add or remove to the breadcrumb? Thank you. Seong Bae |
Welcome Guest, Not a member yet? Register Sign In |