CodeIgniter Forums
Simple Breadcrumb Library - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Addins (https://forum.codeigniter.com/forumdisplay.php?fid=34)
+--- Thread: Simple Breadcrumb Library (/showthread.php?tid=85892)



Simple Breadcrumb Library - Geeklabs - 12-18-2022

Hi everyone

Its been a while since i've been here and havent really had time to work on any new projects or update / expand any of my previous projects. But i'm now dedicated to committing more of my time to the projects i feel enhance codeigniter.

One of my older projects Ci4 Breadcrumbs has just had a major overhaul and wanted to share it with you all.

Version 2.0.9 has had a few major changes. Mainly on how you install the library. The entire library has been re-packaged and now has support to publish the core file to your application.
The publishing command will create a new directly called 'modules' within your app folder. Why 'modules' ? Because we plan on releasing several easy to install modules that can be installed and keeps your application structure neat and organised.

You now have the options of either manually building your breadcrumbs or using the auto builder. The auto builder takes your URI string and breaks it down into a bootstrap breadcrumb.
We have also added the option to build your breadcrumbs using the awesome HalfMoon CSS framework. More CSS frameworks will be added in V3.0

If you have any specific CSS frameworks you would like support for please let me know and i will add these.
Take a look and give it a test drive, let me know if you encounter any problems by submitting an issue on Github.
https://github.com/GeekLabsUK/CI4-Breadcrumbs

I will also be posting a poll with all of my new projects to see if you find this project useful. This allows me to see what projects are worth the time for me to continue developing.


RE: Simple Breadcrumb Library - datamweb - 12-18-2022

Thanks, good voice.


RE: Simple Breadcrumb Library - ashaggy - 12-19-2022

Quote:If you dont publish to your project and are calling the library from the vendors folder you will need to modify the config file located at 'vendor/geeklabs/ci4-breadcrumbs/src/config/config.php' manually to select the correct css framework.

No, thanks.
You don't want anybody to update anything in your vendor directory.


RE: Simple Breadcrumb Library - FlavioSuar - 12-19-2022

Great! Thank you for your good work!!


RE: Simple Breadcrumb Library - kenjis - 12-19-2022

(12-19-2022, 01:06 AM)ashaggy Wrote:
Quote:If you dont publish to your project and are calling the library from the vendors folder you will need to modify the config file located at 'vendor/geeklabs/ci4-breadcrumbs/src/config/config.php' manually to select the correct css framework.

No, thanks.
You don't want anybody to update anything in your vendor directory.

Yes, it is very bad practice. It will be lost when you update the library.


RE: Simple Breadcrumb Library - Geeklabs - 12-19-2022

(12-19-2022, 01:06 AM)ashaggy Wrote:
Quote:If you dont publish to your project and are calling the library from the vendors folder you will need to modify the config file located at 'vendor/geeklabs/ci4-breadcrumbs/src/config/config.php' manually to select the correct css framework.

No, thanks.
You don't want anybody to update anything in your vendor directory.
Good point!

In all honesty its best to publish the files to your project.

I think i will create a work around where users who do not publish can select the css framework they are using when building the breadcrumbs from within the controller


RE: Simple Breadcrumb Library - dgvirtual - 07-15-2023

(12-19-2022, 09:44 AM)Geeklabs Wrote:
(12-19-2022, 01:06 AM)ashaggy Wrote:
Quote:If you dont publish to your project and are calling the library from the vendors folder you will need to modify the config file located at 'vendor/geeklabs/ci4-breadcrumbs/src/config/config.php' manually to select the correct css framework.

No, thanks.
You don't want anybody to update anything in your vendor directory.
Good point!

In all honesty its best to publish the files to your project.

I think i will create a work around where users who do not publish can select the css framework they are using when building the breadcrumbs from within the controller
Why not publish only the config file (of course, it should be renamed to sth like Breadcrumbs.php). That is the usual way to go about it.


RE: Simple Breadcrumb Library - MisterGeorgeX - 07-18-2023

Hello everyone!

I am part of a Codeigniter community in Spanish called CiHispano where we developed a library for breadcrumbs, I leave you the link, we hope to receive feedback as we are working on improvements for it.

GitLab Profile: https://gitlab.com/cihispano.org

Packagist Profile: https://packagist.org/packages/cihispano/breadcrumbs

Telegram Server: https://t.me/CodeIgniterEnEspanol