Solved it!
The problem was on the short name of the model.
Instead of capacitie_id, it should be capacity_id
I fixed it by doing a replace, like so
@preg_replace("/ie_id$/", "y_id", $CI->$related_model->short_name(TRUE, TRUE)).'_id'
on the…
Ok, I made a few changes to make it easier to deal with it:
in fuel/modules/fuel/controllers/module.php:
below line 322 and 369, add:
if(method_exists($this->model, 'filters'))
$this->filters = $this->model->filters($this->f…
i didnt have to... ive set the cms path on the config file to "cms/". Why is it the only page that im getting errors from? If i change the path to fuel/ instead of cms/ on the asset's form action, it works.
How can I set more that one class? tried "select_assets,multifile" also array('select_assets', 'multifile') but it didnt work.
Also, Ive tried setting a field type as multifile but in database I only see the first selected file. Do I have to use on_…
I created a controller inside controllers/ with this:
<?php
class Questions extends CI_Controller {
function __construct(){
parent::__construct();
}
function items(){
$this->load->model('Areas_model');
$this->filters['area…
If I add a custom field on form_fields(), then on on_after_save($values), $values doesnt come with any of those custom fields I added. If instead of $values I use $_POST, then I get those values. Any toughts?