Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Pagination with URI segment
Post: Pagination with URI segment

Hello all I am writing a simple blog application and want to have a pagination like the following: https://sampleblog.local/posts/page/2 Default pagination is like: https://sampleblog.local/posts?page...
374 Views
1 Replies
08-14-2022, 03:35 AM
mohs3n
    Thread: Update from 4.0.4 to 4.1.8
Post: Update from 4.0.4 to 4.1.8

Hello Is it possible to update from CI 4.0.4 to 4.1.8 directly?
969 Views
2 Replies
03-21-2022, 11:30 AM
mohs3n
    Thread: Captcha Helper
Post: RE: Captcha Helper

I used this toturial to add google reCaptcha to my project: https://www.webslesson.info/2020/10/how-to-implement-google-recaptcha-in-codeigniter.html
2,134 Views
3 Replies
10-14-2020, 09:53 PM
mohs3n
    Thread: Captcha Helper
Post: Captcha Helper

Hi There is a captcha helper in CI3 but it doesn't exist in CI4 ! How should we implement captcha for forms?
2,134 Views
3 Replies
10-14-2020, 04:55 AM
mohs3n
    Thread: User search form using AJAX
Post: User search form using AJAX

Hi I have an input to search for users using their names and it returns the user's id on selection. What I need it to do is to show users (email, full name, phone number). Screenshot:  
630 Views
0 Replies
08-08-2020, 10:25 AM
mohs3n
    Thread: Live search with ajax
Post: RE: Live search with ajax

This is what I've come up with so far: Controller: PHP Code: --     public function userList()     {         if ($this->request->getMethod() == 'post') {             $users = new Auth();   ...
3,988 Views
5 Replies
07-05-2020, 10:17 AM
mohs3n
    Thread: Live search with ajax
Post: Live search with ajax

Hi I've been looking for a tutorial on how to make a live user search with CI4 but I haven't found anything useful on the net. I am creating a backend with CI4 and on the user management page I have ...
3,988 Views
5 Replies
07-05-2020, 04:10 AM
mohs3n
    Thread: IntlDateFormatter gregorian calendar
Post: RE: IntlDateFormatter gregorian calendar

dave friend Wrote: (06-28-2020, 06:23 AM) -- mohs3n Wrote: (06-28-2020, 05:32 AM) -- When I create a new instance of IntlDateFormatter in the controller I get this error: Error Class 'App\Contro...
1,344 Views
3 Replies
06-28-2020, 06:26 AM
mohs3n
    Thread: IntlDateFormatter gregorian calendar
Post: RE: IntlDateFormatter gregorian calendar

When I create a new instance of IntlDateFormatter in the controller I get this error: Error Class 'App\Controllers\Panel\Articles\IntlDateFormatter' not found Is there anyway to use IntlDateFormatte...
1,344 Views
3 Replies
06-28-2020, 05:32 AM
mohs3n
    Thread: Pagination in descending order
Post: RE: Pagination in descending order

wdeda Wrote: (06-27-2020, 02:31 PM) -- mohs3n Wrote: (06-27-2020, 08:15 AM) -- Hi In my controller I have this : Code: -- $article = new Article(); $data = [             'articles' => $arti...
3,009 Views
3 Replies
06-27-2020, 10:09 PM
mohs3n
    Thread: IntlDateFormatter gregorian calendar
Post: IntlDateFormatter gregorian calendar

Hi IntlDateFormatter class lets us define a pattern for showing the dates.  I use the following to show the date in the Georgian calendar : Code: -- $now = new DateTime(); $formatter = new ...
1,344 Views
3 Replies
06-27-2020, 08:23 AM
mohs3n
    Thread: Pagination in descending order
Post: Pagination in descending order

Hi In my controller I have this : Code: -- $article = new Article(); $data = [             'articles' => $article->paginate(5),             'pager' => $article->pager         ]; echo vie...
3,009 Views
3 Replies
06-27-2020, 08:15 AM
mohs3n
    Thread: How to include TinyFileManager
Post: RE: How to include TinyFileManager

php_rocs Wrote: (01-22-2020, 07:52 AM) -- @mohs3n, Are you using this on a page or multiple pages in the web application? -- I want to use it on a single page as file manager in the admin area.
3,244 Views
5 Replies
01-23-2020, 08:15 AM
mohs3n
    Thread: How to include TinyFileManager
Post: RE: How to include TinyFileManager

jreklund Wrote: (01-20-2020, 01:16 PM) -- Use the embedding and Class bit. https://tinyfilemanager.github.io/docs/#line5 But as the controller and view are the same thing. I have know idea of how...
3,244 Views
5 Replies
01-21-2020, 11:25 PM
mohs3n
    Thread: How to include TinyFileManager
Post: How to include TinyFileManager

Hi How can I include TinyFileManager in my Codeigniter project? URL: https://tinyfilemanager.github.io/docs/ (https://tinyfilemanager.github.io/docs/)
3,244 Views
5 Replies
01-19-2020, 10:43 PM
mohs3n

Theme © iAndrew 2016 - Forum software by © MyBB