Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Multiple language file locations
Post: Multiple language file locations

Hi. I would like to know if it possible to have multiple locations for my language files. I am creating multiple composer packages for the same project, I would like the language files to be a p...
82 Views
1 Replies
01-29-2023, 12:52 AM
sjender
    Thread: route group, only first one works
Post: RE: route group, only first one works

Yes, that did the trick.... Thanks!
132 Views
2 Replies
01-26-2023, 12:50 AM
sjender
    Thread: route group, only first one works
Post: route group, only first one works

I am trying to group my routes in order to improve the readability. But if I add a group, only the first one in the group seems to work. PHP Code: -- $routes->group('cms', static function ($route...
132 Views
2 Replies
01-25-2023, 05:49 AM
sjender
    Thread: HTML tags in parser
Post: HTML tags in parser

Hi all, I have a WYSIWYG edit, which saves content to a DB. Now I would like to use this HTML code in my template file using a var. So I used {{wysiwyg}} (My delimiters are {{ and }} ). But this i...
165 Views
2 Replies
01-16-2023, 06:29 AM
sjender
    Thread: Use deep nested array in view parser
Post: Use deep nested array in view parser

Hi, I have this array: Code: -- [nav:footer] => Array         (             [0] => Array                 (                     [name] => home                     [link] =>                  ...
268 Views
2 Replies
12-28-2022, 09:27 AM
sjender
    Thread: add codigniter4 composer package
Post: RE: add codigniter4 composer package

This does not seem to work as planned. I have:
397 Views
9 Replies
12-14-2022, 07:44 AM
sjender
    Thread: add codigniter4 composer package
Post: RE: add codigniter4 composer package

Yep, works as well.... Last question and then I can start building..... How can I use assets (images, js, css) files in the package? Can I make a folder public for example?
397 Views
9 Replies
12-14-2022, 01:20 AM
sjender
    Thread: add codigniter4 composer package
Post: RE: add codigniter4 composer package

Sweet and simple as always! Can you point me in the right direction on how to create Routes as well within my package?
397 Views
9 Replies
12-14-2022, 12:54 AM
sjender
    Thread: add codigniter4 composer package
Post: add codigniter4 composer package

Hi, I am trying to get my codeigniter4 dependant package to work. But I'm looking for some startup help getting my test controller to work. Simple example: return view('home'); This ends in:  Code: -...
397 Views
9 Replies
12-13-2022, 12:11 PM
sjender
    Thread: CI 4.18 -> 4.20 causes RouterException
Post: RE: CI 4.18 -> 4.20 causes RouterException

Yep, that seems to work! Thanks. Is this fix going to be in next versions of CI?
1,071 Views
7 Replies
06-09-2022, 08:34 AM
sjender
    Thread: CI 4.18 -> 4.20 causes RouterException
Post: RE: CI 4.18 -> 4.20 causes RouterException

I think I've found the problem... It's an url_to() issue. I have this line to redirect to the dashboard when a user is already logged in: PHP Code: -- return redirect()->to(url_to('\App\Controllers\b...
1,071 Views
7 Replies
06-09-2022, 04:54 AM
sjender
    Thread: CI 4.18 -> 4.20 causes RouterException
Post: RE: CI 4.18 -> 4.20 causes RouterException

| GET | beheer | \App\Controllers\Login::index | | toolbar | It's present.... Only difference.... App...
1,071 Views
7 Replies
06-08-2022, 09:37 AM
sjender
    Thread: CI 4.18 -> 4.20 causes RouterException
Post: CI 4.18 -> 4.20 causes RouterException

Hi all, I am upgrading from 4.18 to 4.20. But now I receieve numerous RouterExceptions. For example: Controller or its method is not found: \App\Controllers\Login::index This is de routes.php rule...
1,071 Views
7 Replies
06-08-2022, 03:03 AM
sjender
    Thread: SQL execution timeout on single row
Post: SQL execution timeout on single row

Hi, I have a simple query. PHP Code: -- $serviceData = $this->db->query("SELECT * FROM `services` WHERE `id` = ?", [$serviceId]); return $serviceData->getResultArray() ?? []; -- This gives o...
481 Views
2 Replies
05-10-2022, 03:24 AM
sjender
    Thread: Custom 500 error page
Post: RE: Custom 500 error page

Because I would like to have different views depending on various situations. Therefore I need to be able to change determination of the view file. Just like I did with the 404 file
1,854 Views
7 Replies
02-09-2022, 12:03 AM
sjender
    Thread: Custom 500 error page
Post: RE: Custom 500 error page

Sorry, I've never done this before. But are you saying I should overide the entire Exceptions class? The only method that I seem to need to edit is determineView(). How is this done?
1,854 Views
7 Replies
02-08-2022, 01:49 PM
sjender
    Thread: Custom 500 error page
Post: RE: Custom 500 error page

Wel,, that's in the system folder right? I prefer not to edit stuff there. I would like not to edit this every time I update CI. Isn't there a way outside the system folder?
1,854 Views
7 Replies
02-08-2022, 12:08 PM
sjender
    Thread: Custom 500 error page
Post: Custom 500 error page

Another day, another question  :D. I have my own custom 404 page set with:  PHP Code: -- $routes->set404Override('App\Controllers\Errors::show404'); -- However, now I want to do the same with the 5...
1,854 Views
7 Replies
02-08-2022, 07:10 AM
sjender
    Thread: Pagination - show number results on current page
Post: RE: Pagination - show number results on current pa...

Yes, I could simply use a count(), and I will. But I was hoping there was a builtin method.
2,429 Views
11 Replies
02-08-2022, 06:30 AM
sjender
    Thread: Pagination - show number results on current page
Post: RE: Pagination - show number results on current pa...

It looks like I am not explaining my issue very well :). I will explain it in more detail (because the example InsiteFX has provided, shows the number of pages, that's not what I mean). Imagine ...
2,429 Views
11 Replies
02-07-2022, 01:43 AM
sjender

Theme © iAndrew 2016 - Forum software by © MyBB