Hello @barrcode ,
Unfortunately, there is any unsetOrdering function to Grocery CRUD although I believe we should have it for a future implementation. I’ve checked though the issue that you are referring to at the latest version 3.0.8 and the issue is not there. What version of Grocery CRUD Enterpr…
I have some good news for the next release (3.0.9) I will also include a new function with name unsetOrderingColumns which will work with the same way as unsetSearchColumns | Grocery CRUD - A PHP CRUD Generator Library but for un setting the ordering of the column.
Hello @barrcode ,
This is probably a miss-configuration in the database. Please check the collation of the database table and for your field and make sure it’s utf8mb4_unicode_ci which support emojis.
Regards
Johnny
Hello @eddgeo,
That means that you probably miss the drivers within your PHP/Apache configuration. For more check this URL: https://stackoverflow.com/questions/34401170/this-extension-requires-the-microsoft-odbc-driver-11-for-sql-server-to-communica
Hello @barrcode ,
I believe that you can find your info here: Connect with Microsoft SQL database | Grocery CRUD - A PHP CRUD Generator Library
Regards
Johnny
Anyone can elaborate me how to do upload images directly from folder (not link) on TextEditor in Grocery CRUD Enterprise? Thank you.
Hello, I hope you are well.
Any option to not change all the names of the keys of the other tables?
Background:
In all my tables the key is called id.
It only shows me an error when filtering by the id of the main table.
I use Bootstrap 5 theme.
Relations:
$crud->set_relation('cliente_id', 't_…
Hi there,
Please add “Feature Request” category, so we could send feature request and discuss further more why we need for such feature.
Thank you.
Hello @barrcode ,
You should use: callbackAddForm and/or callbackEditForm instead.
For example in your case you should do something like this:
$crud->field_type(‘status’, ‘hidden’);
$crud->callbackAddForm(function ($data) {
$data['status'] = 'ACTIVE';
return $data;
});
$crud->callbackE…
What happend to the 2022 roadmap, when can we expect new functions and features?
Hello @jgct_70 and welcome to our forums
Currently although I understand that this is a simple thing with the current implementation of Grocery CRUD Enterprise, you can only append the button with JavaScript once grocery CRUD datagrid is loaded. So for example you can add the below code (which I h…
“The issue here is that if the field is not NULLable (e.g. accept NULL value) is showing a dropdown and the first one is always selected. So I am using the empty field only if the field can also take NULL value. It works fine if making the field to accept NULL in the database. If you don’t want to …
Hello @xyz
You can find it within the Core of Grocery CRUD Enterprise code but also from the JSON code at the initial response. I am copying it here:
{
"i18n": {
"subject": "Customer",
"subject_plural": "Customers",
"add_item": "Add {subject}",
"edit_item": "Edit {subject}",
…
Hello @obiwanke ,
I’ve kept a note so I can include the “fake” field type but I can’t promise any dates for that so till then you can use a helper function for Codeigniter 4. For example, you can use a helper that will look like this:
function getAllDatabaseColumns($tableName) {
// Cod…
Hello @barrcode,
You can connect by having the driverName as: Oci8 at the database configuration file according to the documentation here: Introduction - laminas-db - Laminas Docs (Grocery CRUD Enterprise is using laminas DB)
An example could be:
private function _getDbData() {
$db = (new…