Autocrumb - Lightweight Breadcrumb Helper (ver.12.05.1) |
[eluser]fatangel26[/eluser]
Thanks for helper, but i have a problem: i have data of categories table : Code: id catename parent id url : "localhost/categories/display_product/1" -> breadcrumb : Home->Phone url : "localhost/categories/display_product/2 -> breadcrumb : Home->Laptop url : "localhost/categories/display_product/3 -> breadcrumb : Home->Phone->Samsung url : "localhost/categories/display_product/5 -> breadcrumb : Home->Laptop->Dell .... Sorry for my English ![]()
[eluser]ardinotow[/eluser]
Hi fatangel26, I will not give the detail but rather I will give you the logic. So, here it is: 1. The key concept is using replacer, please refer to bredcrumb config file. 2. Another concept is you can put replacer on controller (again, please read config). This mean you can process the replacer with database, i.e: Code: $this->config->load('breadcrumb'); Please let me know your progress...
[eluser]fatangel26[/eluser]
Thanks ardinotow, i will try to do. Update...Thanks ardinotow, i did success.
[eluser]Unknown[/eluser]
please help me, i have like in breadcrumb http://localhost/ci_final/?admin/submenu/ i want remove ?, please help me!
[eluser]transformer[/eluser]
this helper really help me thanks. I also add urldecode to this code /* --- End Patch --- */ $uri = urldecode(rtrim($CI->uri->uri_string(),'/')); $uri_array_original = explode("/", $uri); // cahva's fix (http://codeigniter.com/forums/viewreply/855097/) this will help if you forget to decode your url like having space on your url www.example.com/search[percent twenty]data your breadcrumb home > search data
[eluser]transformer[/eluser]
[quote author="mr_minh89" date="1347642689"]please help me, i have like in breadcrumb http://localhost/ci_final/?admin/submenu/ i want remove ?, please help me![/quote] maybe you can change $config['partial_replace'] = array('?'=>''); on application/config/breadcrumb.php
[eluser]kurtzawn[/eluser]
sama sob ane juga mau yg seperti di bawah ini,gmn yah cara nya url : “localhost/categories/display_product/1” -> breadcrumb : Home->Phone url : “localhost/categories/display_product/2 -> breadcrumb : Home->Laptop url : “localhost/categories/display_product/3 -> breadcrumb : Home->Phone->Samsung url : “localhost/categories/display_product/5 -> breadcrumb : Home->Laptop->Dell yg di jelasin sebelum ny, ane masih belum ngerti
[eluser]ardinotow[/eluser]
[quote author="ardinotow" date="1346141283"]Hi fatangel26, I will not give the detail but rather I will give you the logic. So, here it is: 1. The key concept is using replacer, please refer to bredcrumb config file. 2. Another concept is you can put replacer on controller (again, please read config). This mean you can process the replacer with database, i.e: Code: $this->config->load('breadcrumb'); Please let me know your progress...[/quote] @kurtzawn, I will ask in standard indonesian language, other member can use google translate ![]() Maaf saya baru balas. Bagian mana yang belum dimengerti? |
Welcome Guest, Not a member yet? Register Sign In |