Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Resource Controller problem with show method and uri param
Post: Resource Controller problem with show method and u...

I have the following route configured in app/Config/Routes.php Code: -- $routes->resource(     '/api/project',     [         'only' => ['index', 'show'],         "controller" => "Api\Project"     ] ...
113 Views
0 Replies
05-05-2022, 09:31 AM
kabeza
    Thread: Datatables and ORM Model
Post: RE: Datatables and ORM Model

JustJohnQ Wrote: (04-07-2022, 11:38 PM) -- // Output $output = array ("sEcho" => intval ($_POST['sEcho']), "whichorders" => $member, "iTotalRecords" => $iTotal, "iTotalDisplayRecords" => $iFilteredT...
535 Views
2 Replies
04-08-2022, 04:41 AM
kabeza
    Thread: Datatables and ORM Model
Post: Datatables and ORM Model

Hi I'm building a new ORM Model, which uses sqlsrv driver and works PHP Code: --
535 Views
2 Replies
04-07-2022, 08:49 AM
kabeza
    Thread: Creating controller both for CRUD and API REST
Post: RE: Creating controller both for CRUD and API REST

Thanks a lot It worked great
461 Views
2 Replies
04-05-2022, 05:59 AM
kabeza
    Thread: Creating controller both for CRUD and API REST
Post: Creating controller both for CRUD and API REST

I'm builing 2 controllers Let's say Project entity One controller will handle the CRUD, Views, etc. app\Controllers\Projects.php PHP Code: --
461 Views
2 Replies
04-04-2022, 03:39 PM
kabeza
    Thread: Codeigniter API + Vue Front project in same folder
Post: RE: Codeigniter API + Vue Front project in same fo...

Hi @ignitedcms This repo will contain a private local application, so I won't upload to Internet, no need SEO stuff, etc. I've loaded Vue from CDN in CodeIgniter views for testing, and that worked...
437 Views
3 Replies
03-30-2022, 01:09 PM
kabeza
    Thread: Codeigniter API + Vue Front project in same folder
Post: Codeigniter API + Vue Front project in same folder

Hi guys I have 2 separate folders One contains a CI4 AppStarter project, which will be mainly a Resourceful API with basic panel, auth, etc. Accessible through http://localhost/project/api T...
437 Views
3 Replies
03-30-2022, 03:49 AM
kabeza
    Thread: Argument 1 passed to CodeIgniter must be an instance of Config\App, null given
Post: RE: Argument 1 passed to CodeIgniter must be an in...

captain-sensible Wrote: (11-26-2021, 12:10 PM) -- would be nice to see your virtual code, but did you chmod 777 -R writable check inside for permissions inside writable since structure is: ...
1,862 Views
3 Replies
11-26-2021, 04:26 PM
kabeza
    Thread: Argument 1 passed to CodeIgniter must be an instance of Config\App, null given
Post: Argument 1 passed to CodeIgniter must be an instan...

Hi guys I'm cloning a private repository from github, which contains a CodeIgniter App I've created a virtualhost, pointing to public folder, Then threw composer update command, and all went fin...
1,862 Views
3 Replies
11-26-2021, 08:24 AM
kabeza
    Thread: Trying to use a barcode library with Composer and CI4
Post: RE: Trying to use a barcode library with Composer ...

Paradinight Wrote: (06-26-2020, 06:19 AM) -- If you use "use" you can do: use Picqer\Barcode\BarcodeGeneratorPNG; $generator = new BarcodeGeneratorPNG(); or use Picqer\Barcode\BarcodeGenera...
4,987 Views
7 Replies
06-26-2020, 06:25 AM
kabeza
    Thread: Trying to use a barcode library with Composer and CI4
Post: RE: Trying to use a barcode library with Composer ...

Paradinight Wrote: (06-26-2020, 05:52 AM) -- PHP Code: -- $generator = new \Picqer\Barcode\BarcodeGeneratorPNG(); -- It miss \ -- Wow, it was just that ... It worked! Thanks @Paradinight
4,987 Views
7 Replies
06-26-2020, 05:59 AM
kabeza
    Thread: Trying to use a barcode library with Composer and CI4
Post: RE: Trying to use a barcode library with Composer ...

InsiteFX Wrote: (06-26-2020, 03:32 AM) -- its also use Exceptions. So you would also have to load the Exceptions before the other two classes. -- Where did you notice/find that? and how do you kno...
4,987 Views
7 Replies
06-26-2020, 05:12 AM
kabeza
    Thread: Trying to use a barcode library with Composer and CI4
Post: Trying to use a barcode library with Composer and ...

Hi I could successfuly install (in a CI4 install in subfolder) the following libraries with Composer: dompdf and guzzlehttp Then, I use both in the Controller, etc. Code: -- ... ... use Do...
4,987 Views
7 Replies
06-25-2020, 05:57 PM
kabeza
    Thread: Working with composer and views
Post: RE: Working with composer and views

If I don't upload the vendor folder, I won't be able to use the package. The CI App won't work. I mean, I'm not using to develop an app to publish on github that users will download and with composer ...
2,343 Views
3 Replies
05-17-2020, 12:44 PM
kabeza
    Thread: Working with composer and views
Post: Working with composer and views

Hi I've little experience with Composer. I could finally install IonAuth using Composer. As requirements, it installs 37 packages while in dev stage Code: -- $ composer config minimum-stabili...
2,343 Views
3 Replies
05-16-2020, 10:22 PM
kabeza
    Thread: Ion_auth CI4 - Configuration problem
Post: RE: Ion_auth CI4 - Configuration problem

Edit: Solved it by removing all ionauth files. Then I installed ionauth with composer https://github.com/benedmunds/CodeIgniter-Ion-Auth/tree/4 (https://github.com/benedmunds/CodeIgniter-Ion-Auth...
1,769 Views
2 Replies
05-16-2020, 08:37 PM
kabeza
    Thread: Debug toolbar shown on spark but not virtualhost
Post: Debug toolbar shown on spark but not virtualhost

Hi I've begun trying CI4 and noticed the .env file, CI_ENVIRONMENT etc. I've set it to development Then I started php spark serve Entered http://localhost:8080 and saw the flame toolbar at bo...
1,128 Views
0 Replies
05-02-2020, 01:16 PM
kabeza
    Thread: The CodeIgniter Foundation is finally here.
Post: RE: The CodeIgniter Foundation is finally here.

Awesome news !! I'd like to help with spanish translations :blush: maybe in CI's language and or site/manuals Greets from Argentina ;)
33,211 Views
24 Replies
10-24-2019, 08:52 AM
kabeza
    Thread: Add title for item as suffix in url, only for one controller
Post: RE: Add title for item as suffix in url, only for ...

salain Wrote: (03-14-2018, 12:27 AM) -- Hi, PHP Code: -- echo site_url('controller/method/'.$slug); -- You should also read the manual. URL Helper (https://www.codeigniter.com/user_guide/helpe...
4,913 Views
4 Replies
03-14-2018, 05:33 AM
kabeza
    Thread: Add title for item as suffix in url, only for one controller
Post: Add title for item as suffix in url, only for one ...

Hi I've an application in CI 3.x I have a special controller which I'd like to make more SEF The actual uri is http://www.myapp.com/index.php/item/detail/325 and I'd like to make it http://w...
4,913 Views
4 Replies
03-13-2018, 04:24 PM
kabeza

Theme © iAndrew 2016 - Forum software by © MyBB