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

kenjis Wrote: (08-16-2024, 07:46 PM) -- Thank you for reporting! We don't know this issue. Can you show the exact whole error message? And what version of CI4 did work? -- Code: -- ================...
1,176 Views
5 Replies
08-22-2024, 12:16 PM
munggaran
    Thread: Validation Issue
Post: Validation Issue

Just got my project updated to CI 4.5.4, most of the issue solved by following guide and internet forum, but this I found by myself and currently tweak bit my code for compatibility with latest update...
1,176 Views
5 Replies
08-16-2024, 10:55 AM
munggaran
    Thread: What is best practice to modify Vendor views?
Post: RE: What is best practice to modify Vendor views?

datamweb Wrote: (01-07-2023, 04:21 AM) -- Hi @"munggaran", Command Code: -- php spark shield:setup -- creates a new file for this topic in path app/Config/Auth.php. Therefore, if you up...
3,519 Views
4 Replies
01-07-2023, 07:12 AM
munggaran
    Thread: What is best practice to modify Vendor views?
Post: RE: What is best practice to modify Vendor views?

iRedds Wrote: (01-06-2023, 10:17 PM) -- Views are defined in the config. Or is this not what you need? -- If I did modified all Config\* configuration, then if I do Composer Update then will the C...
3,519 Views
4 Replies
01-07-2023, 02:36 AM
munggaran
    Thread: What is best practice to modify Vendor views?
Post: What is best practice to modify Vendor views?

Let say I set new CI4 instance, then put Shield (Auth) with composer which reside under Vendor folder. CI4 will autoload Shield including all "Pre-made" views (login+forgot password+register+etc) S...
3,519 Views
4 Replies
01-06-2023, 09:46 PM
munggaran
    Thread: How to get view as data in CI4 ?
Post: RE: How to get view as data in CI4 ?

MGatner Wrote: (08-07-2021, 04:43 AM) -- The helper function `view()` simply returns a string. You can capture that however you like, and when you are ready you either echo it or return it from your ...
2,754 Views
2 Replies
08-07-2021, 04:54 AM
munggaran
    Thread: How to get view as data in CI4 ?
Post: How to get view as data in CI4 ?

in CI3, I just have to add parameter like: $page = $this->load->view('page',$data,true); how i do this in CI4?, it seems the view function has been changed.
2,754 Views
2 Replies
08-07-2021, 04:20 AM
munggaran
    Thread: How to Routes for Function with parameter?
Post: RE: How to Routes for Function with parameter?

vitnibel Wrote: (11-18-2020, 04:57 AM) -- Just replace last '\' to '/' PHP Code: -- $routes->get('blog/page/(:num)', '\Modules\Blog\Controllers\Blog::page/$1'); -- -- Superb!!, thanksss  :D :D ...
2,384 Views
2 Replies
11-18-2020, 07:10 PM
munggaran
    Thread: How to Routes for Function with parameter?
Post: How to Routes for Function with parameter?

I made module with following tree: module\Blog module\Blog\Config module\Blog\Controller module\Blog\View I put Blog.php inside module\Blog\Controller with 2 below functions: Code: --...
2,384 Views
2 Replies
11-18-2020, 02:26 AM
munggaran
    Thread: How to call helper function from Controller's Constructor?
Post: RE: How to call helper function from Controller's ...

T.O.M. Wrote: (11-11-2020, 06:58 AM) -- In BaseController constructor is initController() method (not __constructor()). So your __constructor() is called earlier then BaseController::initController(...
4,315 Views
4 Replies
11-11-2020, 07:41 AM
munggaran
    Thread: How to call helper function from Controller's Constructor?
Post: RE: How to call helper function from Controller's ...

T.O.M. Wrote: (11-11-2020, 02:01 AM) -- If you loaded your helper then you can call it's function only with name - thefunction(); -- I loaded helper in basecontroller so all controller will have the ...
4,315 Views
4 Replies
11-11-2020, 02:05 AM
munggaran
    Thread: How to call helper function from Controller's Constructor?
Post: How to call helper function from Controller's Cons...

Anyone know how to call helper function from Controller's Constructor?, iIve tried and thrown an error, tried adding $this->thefunction() but it also produce an error since this will make complication...
4,315 Views
4 Replies
11-10-2020, 09:04 AM
munggaran
    Thread: Codeigniter 4 license?
Post: Codeigniter 4 license?

Hi, Wondering if I made something with CI4, can I sell it?, I found someone selling product based on CI3 but is it also works same with CI4?, or is there any documentation I can read? I'm trying...
1,638 Views
1 Replies
10-15-2020, 10:20 PM
munggaran
    Thread: Need advise for CRUD Builder
Post: RE: Need advise for CRUD Builder

jreklund Wrote: (05-08-2020, 12:51 PM) -- Hi, the function you are looking for are "Code Modules" in CI4. https://codeigniter.com/user_guide/general/modules.html You create a Module namespace, in...
2,967 Views
2 Replies
05-08-2020, 01:26 PM
munggaran
    Thread: Need advise for CRUD Builder
Post: Need advise for CRUD Builder

Currently I have CRUD Builder made with CI3 + HMVC and want to try make it into CI4 but not sure if CI4 will support HMVC or maybe someone will make some extension, it's simply by generating 1 instanc...
2,967 Views
2 Replies
05-08-2020, 11:21 AM
munggaran

Theme © iAndrew 2016 - Forum software by © MyBB