Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Fieldnames and templates rendering
Post: RE: Fieldnames and templates rendering

zahhar Wrote: (03-14-2020, 03:27 AM) -- Did not understand the issue. Please paste code example and your DB structure, that would include data types and how you extract data for template. Also, pleas...
970 Views
2 Replies
03-14-2020, 06:55 AM
foxbille
    Thread: Fieldnames and templates rendering
Post: Fieldnames and templates rendering

Hello All, When you name table fields like this : id, date, action_id ... in your template you have {id}{date}{action_id}... during variable replacement in template file, CI4 does id -> {id} : O...
970 Views
2 Replies
03-14-2020, 02:09 AM
foxbille
    Thread: Views renderer merging template & content
Post: RE: Views renderer merging template & content

John_Betong Wrote: (03-06-2020, 07:15 AM) -- @foxbill, > Too few arguments to function CodeIgniter\View\Parser::__construct() > don't you think user guide might mention it ? Yes it does: ht...
1,509 Views
3 Replies
03-06-2020, 02:14 PM
foxbille
    Thread: Views renderer merging template & content
Post: Views renderer merging template & content

In CI3, i was using  load->view() with "true" parameter to merge template and body content $data['body'] = $this->load->view('ecriture/index', $data, true); $this->load->view('template', $data); ...
1,509 Views
3 Replies
03-06-2020, 07:03 AM
foxbille
    Thread: [split] CodeIgniter4 User Guide - form error
Post: [split] CodeIgniter4 User Guide - form error

Hi, When we talk about form_helper, in this guide you can find "form_error" in "Available functions" list. But it leads to 'Call to undefined function form_error() ' There's no more form_error() fu...
954 Views
0 Replies
08-09-2018, 03:15 AM
foxbille
    Thread: [split] CodeIgniter4 User Guide - tutorial
Post: [split] CodeIgniter4 User Guide - tutorial

Hello, I'm reading this guide, trying tutorial samples and with "Create new item", i got an error with this controller code public function create() {    helper('form');    $model = new NewsMod...
979 Views
0 Replies
08-09-2018, 02:07 AM
foxbille
    Thread: setRules
Post: setRules

Hi, I wonder why this exemple taken from tutorial in codeigniter4 user guide, public function create() {     helper('form');     $model = new NewsModel();     if (! $this->validate($this->re...
876 Views
0 Replies
08-07-2018, 09:38 AM
foxbille
    Thread: form validation, set_value and initial value
Post: RE: form validation, set_value and initial value

Sure it helps ! Heedless was I, thanks !
1,465 Views
2 Replies
07-22-2018, 07:14 AM
foxbille
    Thread: form validation, set_value and initial value
Post: form validation, set_value and initial value

Hello, It seems impossible to set initial value to a form field when you need to use set_value() function to repopulate the form field with the submitted data, Am I wrong ? "Placeholder" might be a...
1,465 Views
2 Replies
07-21-2018, 01:33 PM
foxbille

Theme © iAndrew 2016 - Forum software by © MyBB