Autocrumb - Lightweight Breadcrumb Helper (ver.12.05.1) |
[eluser]ardinotow[/eluser]
@chris. Thanks, I appreciate your effort on this helper. I will include it on next release on first week of May (please PM me in case I forget to list your name :-P). For others, I will so happy if you guys share your links that using this helper :-)
[eluser]ardinotow[/eluser]
Chris Miller's patch now has been push to bitbucket. Thanks Chris.
[eluser]Bart v B[/eluser]
Hi guy's, I read this in a post here: Quote:- Return the breadcrumb in a list (<ul><li></li></ul>) or something else (new). Understandable, but how can i do the "or else" ? I want to have my bread crumb like this: Code: <article class="breadcrumbs"><a href="index.html">Website Admin</a> <div class="breadcrumb_divider"></div> <a class="current">Dashboard</a></article> Code: $config['use_wrapper'] = TRUE; But this is the output: Code: <article class="breadcrumbs"><div class="breadcrumb_divider"><a href="http://localhost/cs-hostingv2/index.php">Home</a></div></article></div> thnx for the help.
[eluser]ardinotow[/eluser]
@Bart v B, Sorry, I've been busy lately. Hope you already solved this problem, but if not, here is how to customise wrapper as you wanted. Find this config variable and change it like this: Code: $config['delimiter'] = '<div class="breadcrumb_divider">|</div>'; Code: $config['use_wrapper'] = TRUE;
[eluser]cyberjunkie[/eluser]
This is a great helper! I just started using it. It should be included CI's core functions. Thanks!
[eluser]Bart v B[/eluser]
Quote:@Bart v B, @ardinotow No problem! I did also not have the time to work on this project. Thnanks for the help. I solved the problem with your help. The only thing that i had was that there was a | in the breadcrumb. I did a simple str_replace() to fix that. So in my view code became: Code: <?php echo str_replace('|', '', set_breadcrumb() ); ?> Greetings Bart
[eluser]ndrandloop[/eluser]
Dear Ardinotow, can you explain me the step to use multilanguage support? I have 2 language (italian, english) and 2 breadcrumb_lang.php in 2 different folders (application/language/english and application/language/italian), i have turn on multilanguage support in config and there are no replace rules. I have loaded also language class in controller but i see always the default crumb (italian). I’m forgetting something??? Thanks!
[eluser]ndrandloop[/eluser]
[quote author="ndrandloop" date="1341821802"]Dear Ardinotow, can you explain me the step to use multilanguage support? I have 2 language (italian, english) and 2 breadcrumb_lang.php in 2 different folders (application/language/english and application/language/italian), i have turn on multilanguage support in config and there are no replace rules. I have loaded also language class in controller but i see always the default crumb (italian). I’m forgetting something??? Thanks![/quote] Resolved! Thanks!
|
Welcome Guest, Not a member yet? Register Sign In |