Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: {field} placeholder does not get replaced with field name in a custom error message
Post: RE: {field} placeholder does not get replaced with...

Gary Wrote: (04-17-2020, 03:12 PM) -- Good going.  What's wrong with modifying the language files... they are in the app directory = for user modification.  It's only mods to things in the system...
2,212 Views
7 Replies
04-17-2020, 03:18 PM
dgvirtual
    Thread: {field} placeholder does not get replaced with field name in a custom error message
Post: RE: {field} placeholder does not get replaced with...

Gary Wrote: (04-17-2020, 07:23 AM) -- I think your |no_links| should probably be invoked like this:  |no_links[message]| -- Gary Wrote: (04-17-2020, 09:24 AM) -- I think doing it that way forces a...
2,212 Views
7 Replies
04-17-2020, 02:39 PM
dgvirtual
    Thread: {field} placeholder does not get replaced with field name in a custom error message
Post: RE: {field} placeholder does not get replaced with...

Hi Gary, why do you think so? It matches nothing in the manual - the parenthesis contains something to evaluate the field content against, or the name of another field/database column with the data to...
2,212 Views
7 Replies
04-17-2020, 09:08 AM
dgvirtual
    Thread: {field} placeholder does not get replaced with field name in a custom error message
Post: {field} placeholder does not get replaced with fie...

I have a trouble with the {field} placeholder in a custom validation rule error message. What am I missing? I have created a custom validation rule and put it into the app/Libraries/MyRules.php fil...
2,212 Views
7 Replies
04-17-2020, 06:45 AM
dgvirtual
    Thread: [solved:] Catching validation errors after redirect
Post: RE: Catching validation errors after redirect

So, I have found a way to retrieve validation errors transmitted over the session via the PHP Code: -- return redirect()->back()->withInput(); -- It was actually very simple. First, noted the ...
3,900 Views
4 Replies
04-10-2020, 04:54 AM
dgvirtual
    Thread: [solved:] Catching validation errors after redirect
Post: RE: Catching validation errors after redirect

seunex Wrote: (04-07-2020, 03:45 PM) -- I usually store my error message in array and pass it to session. -- Thank you, I think i will have to do the same. the variables that are transmitted over s...
3,900 Views
4 Replies
04-08-2020, 09:42 AM
dgvirtual
    Thread: [solved:] Catching validation errors after redirect
Post: [solved:] Catching validation errors after redirec...

I am trying to create a workable form with validation based on the CI4 user guide's tutorial "Create a form" (https://codeigniter4.github.io/userguide/tutorial/create_news_items.html).  Instead of loa...
3,900 Views
4 Replies
04-07-2020, 11:44 AM
dgvirtual
    Thread: Basic App - Free CMS on CodeIgniter 4
Post: RE: Basic App - Free CMS on CodeIgniter 4

Yes, RewriteBase in .htaccess was a problem - I have used the commented-out directive at the beginning of the file, but later noticed there is such a directive that is to be used. Now only one pro...
72,377 Views
65 Replies
04-02-2020, 11:03 AM
dgvirtual
    Thread: Basic App - Free CMS on CodeIgniter 4
Post: RE: Basic App - Free CMS on CodeIgniter 4

Hi, thank you; it is better now - the title page comes with Bootstrap styling. However, none of the other pages work (links "Demo app", "index" and "about" are also missing the baseURL's). They do not...
72,377 Views
65 Replies
04-02-2020, 07:54 AM
dgvirtual
    Thread: Basic App - Free CMS on CodeIgniter 4
Post: RE: Basic App - Free CMS on CodeIgniter 4

Hi, yes I did. Is the app designed to run both in the root of a website and in a subdirectory?
72,377 Views
65 Replies
03-31-2020, 10:57 PM
dgvirtual
    Thread: Basic App - Free CMS on CodeIgniter 4
Post: RE: Basic App - Free CMS on CodeIgniter 4

Hi, I was really excited to find this app. But I cannot start it for some reason on xampp, where I installed it on a subfolder: /opt/lampp/htdocs/demoapp/ - I do not get any Bootstrap theme styling, o...
72,377 Views
65 Replies
03-31-2020, 03:11 PM
dgvirtual
    Thread: Proper way for minimal translation of CI4
Post: RE: Proper way for minimal translation of CI4

ciadmin Wrote: (10-26-2019, 03:03 PM) -- There are aspects of a full translation that are awkward, as you point out, but it is full sets we are looking for, for the official translations repository. ...
1,591 Views
4 Replies
10-27-2019, 02:15 PM
dgvirtual
    Thread: Proper way for minimal translation of CI4
Post: Proper way for minimal translation of CI4

I have started translation of Codeigniter 4 and I see that much of what I am translating is basically useless. For languages with small speaker base, like Lithuanian, all the PHP development happens i...
1,591 Views
4 Replies
10-26-2019, 12:59 PM
dgvirtual
    Thread: Table with table Footer ?
Post: RE: Table with table Footer ?

In case someone needs a MY_Table.php library, that extends the core Codeigniter Table.php library, adding support for table footer, here it is (written based on code in CI 3.1.2): Code: --
4,143 Views
1 Replies
12-18-2016, 02:08 PM
dgvirtual
    Thread: Meet CodeIgniter MY_Model
Post: RE: Meet CodeIgniter MY_Model

Avenirer Wrote: (09-27-2016, 11:26 PM) -- But from your question, what I actually understand is the fact that you think that MY_Model is a paradigm. MY_Model is not a paradigm, it's only a tool that ...
33,928 Views
0 Replies
09-28-2016, 12:00 AM
dgvirtual
    Thread: RabbitORM - ORM based on Eloquent and Doctrine for CodeIgniter 3
Post: RE: RabbitORM - ORM based on Eloquent and Doctrine...

fabiomazzo Wrote: (06-07-2016, 07:32 PM) -- I made changes in fork of an ORM based on Eloquent to meet the needs of a project, and I decided to create a new project and open it. -- I was reading th...
3,564 Views
2 Replies
09-26-2016, 02:06 AM
dgvirtual
    Thread: Meet CodeIgniter MY_Model
Post: RE: Meet CodeIgniter MY_Model

Do I understand correctly that My_Model should not be asked to handle relationships on insert or update operations? Something like $this->article_model->with_authors()->insert($data); with_...
33,928 Views
0 Replies
09-25-2016, 01:06 AM
dgvirtual

Theme © iAndrew 2016 - Forum software by © MyBB