You should be able to use the views/themes/_blocks/comment_form.php file and change it to whatever you want. Just include field names that match or you can use the $comment_fields array which contains the HTML form elements that you can just output in your form surrounded by your own HTML.
If i have modified the views/themes/_blocks/comment_form.php file and used; <?php echo site_url($this->uri->uri_string()).'#comments_form';?> as the action and <?php echo $post->id;?> and the form id but still not posting the comment?
Hello, I'm really new in PHP and CI. And I'm going to create a custom blog comment form. My form has been built, but I don't know what action to post in php. Could you share with me the example code? Thanks.
Ok done. Just set the value of antispam input to "<?php echo $this->session->userdata('antispam');?>" and the action="<?php echo site_url($this->uri->uri_string()).'#comments_form';?>"
Comments
<?php echo site_url($this->uri->uri_string()).'#comments_form';?> as the action and
<?php echo $post->id;?> and the form id but still not posting the comment?
have i missed something out?
session->userdata('antispam');?>"/>
Thanks nico