Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Doctrine integration
Post: RE: Doctrine integration

kenjis Wrote: (05-13-2024, 06:57 PM) -- No, because there is already https://github.com/daycry/doctrine -- okay :(
16,282 Views
18 Replies
05-18-2024, 09:14 AM
foxbille
    Thread: Doctrine integration
Post: RE: Doctrine integration

yes  i did! PHP Code: -- namespace Config; use CodeIgniter\Config\BaseService; Class Services extends BaseService {    public static function doctrine($getShared = false)     {       if (!...
16,282 Views
18 Replies
05-11-2024, 05:24 AM
foxbille
    Thread: Doctrine integration
Post: RE: Doctrine integration

Hello, Very interested by this solution, so i tried it.  But Doctrine version is higher and code exposed here does not work anymore. So i picked code for App\Libraries\doctrine.php in doctrine "ins...
16,282 Views
18 Replies
05-10-2024, 11:51 PM
foxbille
    Thread: TWIG
Post: RE: TWIG

Shame on me! there was an ugly $validation = false; in my controller code. i'm tired. Thanks for reply.
390 Views
2 Replies
03-29-2024, 05:27 AM
foxbille
    Thread: TWIG
Post: TWIG

Hello, I use twig for one of my app, but still encounter some difficulties, In the same form, when error on "fichier" field occurs, this, prints errors : PHP Code: -- {% if validation == false %}...
390 Views
2 Replies
03-26-2024, 01:23 PM
foxbille
    Thread: Shield - redirect after login
Post: RE: Shield - redirect after login

datamweb Wrote: (09-05-2023, 12:02 PM) -- @"foxbille" I don't know exactly what the issue is. Are you looking for a topic similar to the below? https://github.com/codeigniter4/shield/discussion...
3,282 Views
10 Replies
09-15-2023, 08:41 AM
foxbille
    Thread: Shield - redirect after login
Post: RE: Shield - redirect after login

When only some routes of app are protected, you might have to find a solution to redirect user after login In my App, I managed things like this : First create a filter named permissionFilter.php in...
3,282 Views
10 Replies
09-05-2023, 06:58 AM
foxbille
    Thread: Shield - redirect after login
Post: RE: Shield - redirect after login

InsiteFX Wrote: (08-06-2023, 11:19 PM) -- Shield User Guide - Custom Redirect URLs (https://codeigniter4.github.io/shield/customization/#customize-login-redirect) -- Thanks for help Have modified ...
3,282 Views
10 Replies
09-04-2023, 07:31 AM
foxbille
    Thread: Twig integration in CI4
Post: RE: Twig integration in CI4

kenjis Wrote: (08-24-2023, 05:05 PM) -- Try to load the helper before `$this->twig = new Twig(['functions' => ['dateSlash']]);` -- Does not fix. but I might say that helper is yet loaded in baseCo...
25,756 Views
30 Replies
09-02-2023, 09:37 AM
foxbille
    Thread: Twig integration in CI4
Post: RE: Twig integration in CI4

ozornick Wrote: (08-23-2023, 09:56 AM) -- Fixed?     public function add()     {         helper('form');         ....     } -- nope :(
25,756 Views
30 Replies
08-24-2023, 07:13 AM
foxbille
    Thread: fail to use jpgraph in CI4
Post: RE: fail to use jpgraph in CI4

kenjis Wrote: (08-23-2023, 02:36 PM) -- JpGraph is not namespaced. So there is no "App\Libraries\Jpgraph\jpgraph\Text" class. -- Ok, thanks anyway
875 Views
6 Replies
08-24-2023, 07:03 AM
foxbille
    Thread: Twig integration in CI4
Post: RE: Twig integration in CI4

Thanks for replay I might not have understand your question anyway, here is my code In controller PHP Code: -- use \Kenjis\CI4Twig\Twig; class Trace extends BaseController {     protected $t...
25,756 Views
30 Replies
08-23-2023, 09:45 AM
foxbille
    Thread: fail to use jpgraph in CI4
Post: RE: fail to use jpgraph in CI4

Fatal error: Uncaught Error: Class "App\Libraries\Jpgraph\jpgraph\Text" not found in /home/[...]/traces/app/Libraries/Jpgraph/jpgraph.php Sorry, I give up.
875 Views
6 Replies
08-23-2023, 08:05 AM
foxbille
    Thread: Twig integration in CI4
Post: RE: Twig integration in CI4

Hi All, Have the same problem : an Add form worked well until i add PHP Code: -- {{ form_error('lastname') }} -- Twig\Error\SyntaxError Unknown "form_error" function.
25,756 Views
30 Replies
08-23-2023, 07:44 AM
foxbille
    Thread: fail to use jpgraph in CI4
Post: RE: fail to use jpgraph in CI4

Ok, Thanks to you both, will try it. Meanwhile have found this : https://packagist.org/packages/amenadiel/jpgraph But for now, have to fix problems with twig use. Have a nice day, Eric
875 Views
6 Replies
08-23-2023, 06:56 AM
foxbille
    Thread: fail to use jpgraph in CI4
Post: fail to use jpgraph in CI4

Hello, I need to use php jpgraph library, so i have put it in a folder (because of the large number of files) Jpgraph located in app\Libraries so path to jpgraph class file is : app\Libraries\Jp...
875 Views
6 Replies
08-21-2023, 08:35 AM
foxbille
    Thread: v4.3.5 security fix released
Post: RE: v4.3.5 security fix released

Thank for updates, unfortunately i putted 4.3.4 online just a few days ago. Does someone use a tool or a linux shell script to detect modified files and automate ftp send to put them online ?
3,345 Views
8 Replies
05-22-2023, 09:16 AM
foxbille
    Thread: Twig integration in CI4
Post: RE: Twig integration in CI4

kenjis Wrote: (04-14-2023, 03:26 AM) -- foxbille Wrote: (04-14-2023, 02:43 AM) -- But then, using twig, the flow is still not good, code of default_full.twig is displayed as if htmlentities() was us...
25,756 Views
30 Replies
04-17-2023, 04:55 AM
foxbille
    Thread: Twig integration in CI4
Post: RE: Twig integration in CI4

kenjis Wrote: (04-12-2023, 05:26 AM) -- 1. The DEBUG-VIEW comment like "" is output by CI4's View class. 2. If you use Pagination in CI4 with Twig, the DEBUG-VIEW comment will be output in the outpu...
25,756 Views
30 Replies
04-14-2023, 02:43 AM
foxbille
    Thread: Shield - redirect after login
Post: RE: Shield - redirect after login

kenjis Wrote: (04-12-2023, 06:01 AM) -- It is not good. Because the code "service('settings')->set('Auth.redirects', ['login' => $path])" updates the Config value in the database. That is, the confi...
3,282 Views
10 Replies
04-12-2023, 06:07 AM
foxbille

Theme © iAndrew 2016 - Forum software by © MyBB