Hi Johnny!
In previous versions of grocerycrud we could disable the bootstrap css loading with the unsetBootstrap().
I see this is removed from v3, how do I accomplish the same thing, the css in grocery crud is interfering with my current css
Hi Johnny!
In previous versions of grocerycrud we could disable the bootstrap css loading with the unsetBootstrap().
I see this is removed from v3, how do I accomplish the same thing, the css in grocery crud is interfering with my current css
Hello @gabe152006,
As also mentioned here: Migrating from v2 to v3 | Grocery CRUD - A PHP CRUD Generator Library but it is not that obvious:
We have removed the functions: unsetBootstrap , unsetJquery, unsetJqueryUi, unsetReact instead use the unsetCssTheme, unsetCssIcons, unsetCssThirdParty. Documentation to be updated soon.
So in your case you just need to add the below line:
$crud->unsetCssTheme();
I am adding a not here to update the documentation as it is not clear. I was also thinking that maybe this can be a configuration in the future. Let me know if that worked.
Regards
Johnny
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Use callbackColumn() but keep inline edit functionality |
|
3 | 649 | Apr 12 |
| Setting quick search values via JavaScript not working properly for booleans |
|
0 | 563 | Nov 2025 |
| callbackColumn() has not effect in v3.2.6 Enterprise |
|
2 | 696 | Dec 2025 |
| displayAs() doesn’t support new line in headings |
|
4 | 873 | Jan 5 |
| PRINT date format not consistent |
|
6 | 357 | Sep 7 |