Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Routing {locale} : Duplicate Content
Post: Routing {locale} : Duplicate Content

Hi all, When we use the "{locale}" tag in a route, it can generate Duplicate Content, even when using the $supportedLocales variable For example if I use : PHP Code: -- public $supportedLocales ...
25 Views
1 Replies
Yesterday, 10:09 AM
InstantT
    Thread: Custom Validate Birthday with value for each $year, $month, $day
Post: RE: Custom Validate Birthday with value for each $...

Hi, I think you can use "valid_date" from the form validation rules This will certainly be the easiest way See : https://codeigniter.com/user_guide/libraries/validation.html#available-rules
89 Views
4 Replies
Yesterday, 02:47 AM
InstantT
    Thread: Controller & Model Name
Post: RE: Controller & Model Name

Yes, it would be nice to have best practices for naming files, but also the names of classes, variables etc. Ex. https://webdevetc.com/blog/laravel-naming-conventions/ (for Laravel)
145 Views
5 Replies
06-28-2022, 06:47 AM
InstantT
    Thread: SHIELD Best Practice
Post: RE: SHIELD Best Practice

Hello Did you try to use Composer from a terminal to install Shield? You can use the following command: PHP Code: -- composer require codeigniter4/shield -- When I tried to install it, th...
197 Views
5 Replies
06-27-2022, 11:57 AM
InstantT
    Thread: Controller & Model Name
Post: Controller & Model Name

Hello, It's me again! Sorry, I ask a lot of questions to make the best use of CI4. On this page: https://codeigniter4.github.io/CodeIgniter4/incoming/controllers.html, it says "ONLY the first cha...
145 Views
5 Replies
06-27-2022, 10:17 AM
InstantT
    Thread: Title in View or in Controller [SOLVED]
Post: RE: Title in View or in Controller

Hello, Thank you for your reply ? So I will continue to use the Controller method to manage Meta tags
143 Views
4 Replies
06-27-2022, 07:04 AM
InstantT
  Information Thread: Title in View or in Controller [SOLVED]
Post: Title in View or in Controller [SOLVED]

Hello all, I wonder what is the best way to display the Title tag. Is it better to display it in the View or in the Controller? Controller Example PHP Code: -- $data = [     'meta_title' =...
143 Views
4 Replies
06-25-2022, 08:21 AM
InstantT
    Thread: Form Validation : Return Current View
Post: RE: Form Validation : Return Current View

Thanks for you reply. kenjis Wrote: (06-22-2022, 04:28 PM) -- Why don't you change the "home" to the view file name that you want? -- Because I wanted the error to be displayed on the current pa...
115 Views
3 Replies
06-25-2022, 08:03 AM
InstantT
    Thread: Announcing Shield: an Official Authentication library
Post: RE: Announcing Shield: an Official Authentication ...

Very good news!  Congratulations to you ? This is really something that CodeIgniter was missing to position itself against Laravel I think
1,337 Views
22 Replies
06-22-2022, 03:41 AM
InstantT
    Thread: Announcing Shield: an Official Authentication library
Post: RE: Announcing Shield: an Official Authentication ...

Thanks a lot ! This is really something CI lacked by default! Congratulations on this great innovation ?
1,337 Views
22 Replies
06-21-2022, 03:04 AM
InstantT
  Question Thread: Form Validation : Return Current View
Post: Form Validation : Return Current View

Hello everyone, I would like to know how to return the current view on which the user is, when validating a form. Is it possible? In my controller, i have :  PHP Code: -- if (!$this->valida...
115 Views
3 Replies
06-20-2022, 07:23 AM
InstantT

Theme © iAndrew 2016 - Forum software by © MyBB