Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Shield - redirect after login
Post: RE: Shield - redirect after login

CI team have not yet released a version that has this feature. It will be available in the next version. But now you can use the develop branch with command: Code: -- composer require codeign...
1,106 Views
10 Replies
09-16-2023, 02:57 AM
datamweb
    Thread: Modules in CI4 - Helpers and Constants
Post: RE: Modules in CI4 - Helpers and Constants

PHP Code: -- public $files = [       ROOTPATH . 'mymodule/admin/Helpers/functions_helper.php',     ]; -- Or update CI and use: Code: -- public $helpers = []; --
207 Views
3 Replies
09-14-2023, 11:59 PM
datamweb
    Thread: Getting the CodeIgniter version
Post: RE: Getting the CodeIgniter version

PHP Code: -- --
113 Views
2 Replies
09-12-2023, 11:08 PM
datamweb
    Thread: editor for cron schedule expressions
Post: editor for cron schedule expressions

Crontab Guru the quick and simple editor for cron schedule expressions https://crontab.guru/
60 Views
0 Replies
09-12-2023, 06:27 PM
datamweb
    Thread: What's Your Preferred Text Editor?
Post: RE: What's Your Preferred Text Editor?

VS Code + (PHP Intelephense, PHP Debug, Tailwind CSS IntelliSense).
401 Views
11 Replies
09-10-2023, 08:42 PM
datamweb
    Thread: add new rule for multi_checkboxes
Post: add new rule for multi_checkboxes

Multi-select checkboxes require a validation rule. Currently, CI4 rules do not cover this issue. Considering the common use of Multi-select checkboxes in websites, I suggest adding this rule to CI...
158 Views
1 Replies
09-05-2023, 02:22 PM
datamweb
    Thread: Shield - redirect after login
Post: RE: Shield - redirect after login

@"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/discussions/722 If yes, it is implemented in branc...
1,106 Views
10 Replies
09-05-2023, 12:02 PM
datamweb
    Thread: Shield - what is the workflow for adding new users from an admin section?
Post: RE: Shield - what is the workflow for adding new u...

So you don't need to define variable $newData. PHP Code: -- $newData = [ // ... 'full_name' => $this->request->getPost('full_name'), ]; -- You can proceed as follows: PHP Code: -- ...
581 Views
8 Replies
09-04-2023, 05:03 AM
datamweb
    Thread: How To: Shield - Send Email to user on Admin Created User
Post: RE: How To: Shield - Send Email to user on Admin C...

yamin88 Wrote: (08-21-2023, 04:59 PM) -- CodeIgniter\Shield\Exceptions\RuntimeException Cannot send email for user: I use default setup, why still unable to actvate/send the email, I wonder why...
869 Views
2 Replies
09-03-2023, 12:44 PM
datamweb
    Thread: Shield - what is the workflow for adding new users from an admin section?
Post: RE: Shield - what is the workflow for adding new u...

nzcidev Wrote: (05-07-2023, 11:16 PM) -- This bit is included in the code I have posted, the issue I need more clarification on the entire flow, for example how do I inform the new user of their new ...
581 Views
8 Replies
09-03-2023, 12:38 PM
datamweb
    Thread: Shield problem with a view that extends a layout
Post: RE: Shield problem with a view that extends a layo...

SalDeF Wrote: (05-14-2023, 10:37 AM) -- 2) example.php (view, if it extends a layout): -- Hi @SalDeF, Apparently I understand that you intend to customize the controller. If this is your intention,...
284 Views
1 Replies
09-03-2023, 12:12 PM
datamweb
    Thread: lastlogin shield
Post: RE: lastlogin shield

Hi @destor77, try the following method: PHP Code: --                 $lastLogin = $user->lastLogin()->date;                 $userList[] = [             // other ...             'lastLogin' ...
380 Views
1 Replies
09-03-2023, 11:50 AM
datamweb
    Thread: Webigniter - developer-first CMS built with Codeigniter 4
Post: RE: Webigniter - developer-first CMS built with Co...

Wow! Glad to see another great product written with Codeigniter introduced.
580 Views
10 Replies
08-28-2023, 12:09 PM
datamweb
    Thread: Call to undefined method CodeIgniter\HTTP\IncomingRequest::get()
Post: RE: Call to undefined method CodeIgniter\HTTP\Inco...

Hi, try $this->request->getGet()['code']
142 Views
1 Replies
08-28-2023, 07:28 AM
datamweb
    Thread: Using Viewi and CI4
Post: RE: Using Viewi and CI4

https://github.com/lonnieezell/cellular This was also a good thing, but I don't think it is usable at this stage.
2,529 Views
12 Replies
08-27-2023, 12:33 AM
datamweb
    Thread: Hey Now it is a time for CI Team to prepare and write a CI 4+ Tutorial Book
Post: RE: Hey Now it is a time for CI Team to prepare an...

Demo of repo: https://github.com/lonnieezell/forum-example/discussions/4
2,464 Views
22 Replies
08-26-2023, 01:54 PM
datamweb
    Thread: Using shield, How i can redirect to separate url if the user not in admin group
Post: RE: Using shield, How i can redirect to separate u...

@"sknair143" We made changes to cover this feature in the PR below. Please review this if you can. https://github.com/codeigniter4/shield/pull/790
570 Views
13 Replies
08-17-2023, 06:46 AM
datamweb
    Thread: Using shield, How i can redirect to separate url if the user not in admin group
Post: RE: Using shield, How i can redirect to separate u...

See may be help you https://github.com/codeigniter4/shield/discussions/722#discussioncomment-5768371
570 Views
13 Replies
08-16-2023, 03:28 AM
datamweb
    Thread: Using shield, How i can redirect to separate url if the user not in admin group
Post: RE: Using shield, How i can redirect to separate u...

Yes exactly, for this reason it is not recommended to do this.
570 Views
13 Replies
08-16-2023, 02:01 AM
datamweb
    Thread: Using shield, How i can redirect to separate url if the user not in admin group
Post: RE: Using shield, How i can redirect to separate u...

sknair143 Wrote: (08-16-2023, 01:33 AM) -- How i can do this another way i just using  filter=>"group:admin" inb routes -- See: https://github.com/codeigniter4/shield/pull/535#discussion_r104645...
570 Views
13 Replies
08-16-2023, 01:46 AM
datamweb

Theme © iAndrew 2016 - Forum software by © MyBB