Autocrumb - Lightweight Breadcrumb Helper (ver.12.05.1) |
[eluser]StewyMan[/eluser]
Sorry i had deleted that part to show you just the base file I used.....here is what i used for replacer: $config['replacer'] = array('browse' => 'outdoor guides');
[eluser]ardinotow[/eluser]
StewyMan, how can you make breadcrumb from http://www.usedcars.com/search/display/florida/orlando to home > usedcars > usa > florida > orlando if there is no replace value for "search" or "display" in your $config['replacer'] ?
[eluser]StewyMan[/eluser]
ardinow....that was just an example to explain what i meant. that is not my real site. Is the replacer text supposed to link back to original url string
[eluser]ardinotow[/eluser]
@StewyMan. The replacer simply read url string then check every part of url, if found any text that match value from $config['replacer'] then it will replace the text but the original url link will remain the same. For example: http://mysite.com/search/car/BMW. If you set Code: $config['replacer'] = array('search' => 'Search Result');
[eluser]ToMix[/eluser]
Hi ardinotow , I got something wrong and i am going to explain it with this example : my url is : http://mysite.com/ci/admin/users_accounts i set the replacer like this: $config['replacer'] = array('admin' => 'Admin Area', 'users_accounts' => 'Manage Users'); then the breadcrumb will show : Home > Admin Area > Manage Users If user click on Admin Area then user will go to page http://mysite.com/ci/Admin Area, <- 404 page will shown cuse its not located on server.It should take the user to the correct page http://mysite.com/ci/admin. else if user click Manage Users then user will go to page http://mysite.com/ci/admin/Manage Users. What do u think the problem comes from !!
[eluser]ardinotow[/eluser]
@ToMix, From your url http://mysite.com/ci/admin/users_accounts with your replacer config it should have breadcrumb like: Home > Ci > Admin Area > Manage Users. With "ci" as part of url then it should also become a part of breadcrumb, how you remove "Ci" from breadcrumb? Do you use either $config['exclude'] = array('ci') or $config['exclude_segment'] = array(1)?
[eluser]ToMix[/eluser]
Hi, I set this line : $config['set_home'] = "Home"; in my config file. so i got breadcrumb like: Home > Admin Area > Manage Users */*/*/*/*/*/ if you mean why my url dose not looks like this: http://mysite.com/index.php/ci/admin/users_accounts i used (.htaccess) file to remove the (index.php) from the url ..
[eluser]ardinotow[/eluser]
ToMix, I also used .htaccess to remove index.php from url and that doesn't affect in my breadcrumb helper. I still don't understand how can "CI" [http://mysite.com/ CI /admin/users_accounts] as part of your URL not showing in breadcrumb
[eluser]ToMix[/eluser]
ardinotow mybe because this line in config/config.php: $config['base_url']= "http://localhost/ci/"; could you help me and solve my problem @ this post http://ellislab.com/forums/viewreply/733791/ please,
[eluser]ardinotow[/eluser]
ToMix, please try the new update. Let me know if this can't solve your problem. |
Welcome Guest, Not a member yet? Register Sign In |