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
Here what I can suggest:
1. Create a new table named autocrumb_config.
2. Create fields with name same as config name. E.g: table fields: multilang, set_home, attr_home, etc.
3. Create autocrumb_model that return all field value as array.
4. Load autocrumb_model in breadcrumb_helper and create a variable that store all config value as array from the model.
5. Change all this line $CI->config->item(‘autocrumb_config_item’) to something like $autocrumbs_config[‘autocrumb_config_item’].
That’s all 😊