don’t get me wrong, i didn’t want to say the code of the whole helper is not good. It is just this if-statement that is useless in my eyes!
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
December 09, 2009 5:58pm
Subscribe [78]#91 / Aug 23, 2010 4:29am
don’t get me wrong, i didn’t want to say the code of the whole helper is not good. It is just this if-statement that is useless in my eyes!
#92 / Aug 24, 2010 11:08am
carnalito, maybe you’re right. I’ve try to delete block
if ($j = 0)
{
.....
}and nothing wrong with my breadcrumbs :cheese:. I’ll play with my code again in my spare time. Thanks again for your suggestion.
For all, I just upload the source file in bitbucket.
Download location:
autocrumb 5.10.1_bugfixed (click on filename autocrumb 5.10.1_bugfixed.zip)
#93 / Sep 03, 2010 12:05pm
Very nice helper! 😊
I do have one suggestion. I noticed that when I implemented, I expected the links to go across and not downward. Looking at your code I noticed the following:
I modified the list-style-type: none to display: none. This provided me with the across display I was expecting.
Thanks for the great helper!
#94 / Sep 05, 2010 3:48am
@pjlasl, nice to know that you like it. The wrapper configuration is depends on your global css. FYI, that wrapper is use to accomodate veerle’s breadcrumb style.
#95 / Sep 18, 2010 11:41am
Need multi language for your crunchy crumbs? Go grab new version 9.10.1 on bitbucket here. Try it.
New Features:
1. Multi language support for ‘home’ link.
2. Multi language support for replacer.
Cheers
#96 / Oct 14, 2010 12:04pm
Hi,
I was using a very early version of this helper with no problems till I tried to replace a breadcrumb and realised I needed to update the helper. I have tried to use the latest version and previous version of the helper but I am getting the following errors when I autoload the helper after a fresh CI install (and fresh breadcrumb_helper install):
A PHP Error was encountered
Severity: Warning
Message: include_once(application/helpers/breadcrumb_helper.php) [function.include-once]: failed to open stream: No such file or directory
Filename: libraries/Loader.php
Line Number: 401A PHP Error was encountered
Severity: Warning
Message: include_once() [function.include]: Failed opening 'application/helpers/breadcrumb_helper.php' for inclusion (include_path='.:/Applications/MAMP/bin/php5/lib/php')
Filename: libraries/Loader.php
Line Number: 401Loader library recognizes the file but does not include the breadcrumb_helper for some reason. Error occurs on live server as well as localhost.
thanks
gemmes
#97 / Oct 16, 2010 7:17am
@gemmes. You should have problem with folder and file access permission. Please look at these folders: config, helpers, language, english (under language directory). These folders should have 40755 octal permission. Then also look at these files: breadcrumb.php, breadcrumb_helper.php, breadcrumb_lang.php. These files should have 100644 octal permission. Please let me know your progress.
#98 / Oct 16, 2010 10:10am
thanks, permissions for lang file was wrong.
Makes sense as my other helpers, configs were working and only the breadcrumb_helper was having issues.
#99 / Oct 25, 2010 6:06am
On line 176 the following line should be removed:
$init_link = $CI->lang->line(‘set_home’);
If you aren’t using the language files he still uses the language file.
#100 / Oct 31, 2010 11:15pm
@Weccop. Thanks for reporting this.
I’ve pushed the revision on bitbucket, everybody should pull or download new source code on http://bitbucket.org/ardinotow/autocrumb.
#101 / Nov 29, 2010 9:25am
Awesome work. I’m using it for my internal project! Is there a way to deactivate the home page link throught the config?
#102 / Nov 29, 2010 1:04pm
Awesome work. I’m using it for my internal project! Is there a way to deactivate the home page link throught the config?
I’ve make some modification on initial or home breadcrumbs configuration. Now you can hide entirely home breadcrumb or apply style/attribute to home link or deactivate home page link as your request. Download or clone the source on autocrumb bitbucket. Please try all new configuration and let me know if something goes wrong.
#103 / Nov 29, 2010 1:42pm
That seems to fix it. Thanks a lot for the fast response! 😊
#104 / Dec 02, 2010 7:31am
Hi,
I’m currently testing your breadcrumb solution and I wouldlike to know if you have a easy solution in order to load the breadcrumb parameters from a database ?
best regards
#105 / Dec 10, 2010 11:32pm
Just commit a bug fix on bitbucket, please update your Autocrumb source.