Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Meta Info library (EAV storage)
Post: Meta Info library (EAV storage)

I would like to announce a new library codeigniter4-meta-info: https://packagist.org/packages/dgvirtual/codeigniter4-meta-info It is a Codeigniter4 library enabling use of Entity-Attribute-Value sty...
1,454 Views
0 Replies
02-12-2025, 10:56 AM
dgvirtual
    Thread: Codeigniter 4 w/ Tailwind CSS
Post: RE: Codeigniter 4 w/ Tailwind CSS

That is the advantage of Tailwind agaist Bootstrap, whivh relies on manual specification on what parts to include. Howewer, the Tailwind-styled html invludes a lot of classes anyway, and if you hav...
19,635 Views
11 Replies
01-08-2025, 11:20 AM
dgvirtual
    Thread: View Component
Post: RE: View Component

I think this would be really helpful to you: Components library for CI4. It allows to encapsulate html and css classes/styles into reusable website building blocks. See it here: https://packagist.org...
7,290 Views
6 Replies
01-06-2025, 11:03 AM
dgvirtual
    Thread: Codeigniter 4 w/ Tailwind CSS
Post: RE: Codeigniter 4 w/ Tailwind CSS

This semi-new Components library for CI4 should be really useful with tailwind. It allows to encapsulate html and css classes (Tailwind is famous for the excess of those) into reusable website buildin...
19,635 Views
11 Replies
01-06-2025, 11:00 AM
dgvirtual
    Thread: Components for Codeigniter 4
Post: Components for Codeigniter 4

I would like to announce a semi-new Components library for CI4. It allows to encapsulate html and css classes/styles into reusable website building blocks. See it here: https://packagist.org/packages/...
1,727 Views
1 Replies
01-06-2025, 10:57 AM
dgvirtual
    Thread: CI 4/Alpinejs/htmx/vitejs
Post: RE: CI 4/Alpinejs/htmx/vitejs

FabriceL Wrote: (11-15-2023, 10:14 AM) -- Thank you, but I've listened carefully. Ca no soucI My script appears in the right place. But as I'm using HTMX's hx-boost with alpine js and renderSecti...
3,732 Views
3 Replies
11-29-2024, 02:37 PM
dgvirtual
    Thread: fatal logger emergency
Post: RE: fatal logger emergency

I just encountered the problem after upgrade from 4.4.8 to 4.5.3. So, what is the solution? I removed php 8.1-psr as per @"itissucex" instructions: sudo apt remove php8.1-psr sudo systemctl r...
7,974 Views
11 Replies
07-23-2024, 11:15 AM
dgvirtual
    Thread: sqlite3 and result ordering according to non-ASCII collations
Post: RE: sqlite3 and result ordering according to non-A...

I finally managed to compile the ICU plugin for SQLite3, which can then be loaded and used instead of the PHP functions, making the search almost twice as fast. So definitely worth it with larger data...
2,350 Views
5 Replies
07-14-2024, 08:25 AM
dgvirtual
    Thread: sqlite3 and result ordering according to non-ASCII collations
Post: RE: sqlite3 and result ordering according to non-A...

kenjis Wrote: (06-17-2024, 04:17 PM) -- It seems there is no way to generate the query `ORDER BY last_name COLLATE LT DESC` with orderBy(). https://github.com/codeigniter4/CodeIgniter4/blob/24a76731...
2,350 Views
5 Replies
06-18-2024, 09:06 AM
dgvirtual
    Thread: sqlite3 and result ordering according to non-ASCII collations
Post: RE: sqlite3 and result ordering according to non-A...

kenjis Wrote: (06-17-2024, 01:38 AM) -- Try: PHP Code: --         $db->connID->createCollation('LT', function ($a, $b) {             return strcoll($a, $b);         }); -- -- Voila! so I added the...
2,350 Views
5 Replies
06-17-2024, 04:08 AM
dgvirtual
    Thread: sqlite3 and result ordering according to non-ASCII collations
Post: sqlite3 and result ordering according to non-ASCII...

For a while I was not sure how to order query results in Codeigniter when using sqlite3 database, which natively lacks non-ascii text collation functions. So I resorted to sorting php arrays, which is...
2,350 Views
5 Replies
06-17-2024, 12:09 AM
dgvirtual
    Thread: CodeIgniter: the last year
Post: RE: CodeIgniter: the last year

Good to know Codeigniter community is active and going stronger. Thanks all the people who lead and moderate to make that possible!
12,516 Views
12 Replies
01-10-2024, 01:02 AM
dgvirtual
    Thread: Announcing: Bonfire - a drop-in admin area
Post: RE: Announcing: Bonfire - a drop-in admin area

You can see in my example (and in the official docs of Bonfire) that for the automatic detection to work the module classes should be namespaced like this: App\Modules\Modulename\[Controllers or Mo...
19,358 Views
24 Replies
12-28-2023, 04:04 AM
dgvirtual
    Thread: Announcing: Bonfire - a drop-in admin area
Post: RE: Announcing: Bonfire - a drop-in admin area

PHP Code: --  'App\Modules' => APPPATH . 'Modules/Pages', -- - you should not add Pages at the end. Leave it as in documentation: Code: --  'App\Modules' => APPPATH . 'Modules',  --
19,358 Views
24 Replies
12-28-2023, 12:49 AM
dgvirtual
    Thread: Announcing: Bonfire - a drop-in admin area
Post: RE: Announcing: Bonfire - a drop-in admin area

You can try adding this example module https://github.com/dgvirtual/bonfire2-pages-module And if it works, check for differences with yours. Did you really remake 40+ modules of yours to conform...
19,358 Views
24 Replies
12-28-2023, 12:02 AM
dgvirtual
    Thread: Checking if delete operation was successful
Post: RE: Checking if delete operation was successful

Today I checked my original code in the first post, and now, on Codeigniter 4.4.3, it works as expected, deleted row number is reported correctly (0 if nothing is deleted, 1 if one row...). Works with...
4,332 Views
5 Replies
11-24-2023, 06:01 AM
dgvirtual
    Thread: Let's share custom validation rules
Post: RE: Let's share custom validation rules

Another validation function checks if the supplied value is unique to a particular user; it presupposes that the user ID in a particular db table is saved in `user_id` field and that the current user ...
1,653 Views
1 Replies
10-03-2023, 01:34 PM
dgvirtual
    Thread: Let's share custom validation rules
Post: Let's share custom validation rules

I think it would be beneficial to share custom validation rules. So, I will post some of mine below. They might not be very universal, but still useful. [hr] Rule  for validation rule for Lithuani...
1,653 Views
1 Replies
09-29-2023, 03:17 AM
dgvirtual
    Thread: Unable to install Bonfire2 in CI appstarter project
Post: RE: Unable to install Bonfire2 in CI appstarter pr...

DejaDingo Wrote: (09-21-2023, 12:52 PM) -- I'm trying to create a base project from which I can compare any updates to CI4 and BF2 going forward, but I can no longer run the documented procedure for ...
4,223 Views
5 Replies
09-29-2023, 03:15 AM
dgvirtual
    Thread: How to access images under writable folder
Post: RE: How to access images under writable folder

This might be useful to some, so here is how to properly keep image files (or other files) not in public dir but in writable dir, still loadable in html (but also, if needed, restricting public access...
45,041 Views
14 Replies
09-16-2023, 10:12 AM
dgvirtual

Theme © iAndrew 2016 - Forum software by © MyBB