And the fuel/application/views/_layouts/nt_basic.php layout file uses something like the following in it:
<?=fuel_var('body')?> Additionally, you have a page in the CMS setup using that layout and the body field is filled out?
Inline editing variables only apply to page variables created in the CMS and won't work for variables created in a variables file. Also, did you toggle the pencil icons on in the top menu bar on the page to show the pencils?
What about if you do it like this?
'actions' => array('edit','delete', 'faceoff-child/move-up/{id}' => 'UP', 'faceoff-child/move-down/{id}' => 'DOWN', ),
Place your custom models in the fuel/application/models folder. You can extend extend native FUEL models and place them in that folder as well (e.g. My_pages_model).
In your model, change your model's $auto_encode_entities property like so:
pu…
I would setup your own controller and register a route (like normal CI). I would extend the Module.php controller so you get the authentication check.
If you are wanting to launch it in a modal window, you can use the fuel.modalWindow function in…
There is an "edit_method" module parameter you can specify which is the method on your model to use for retrieving information. You could create your own method or overwrite your model's find_one_array() method to return the data in the format you n…
You have to change it on a per model basis because by default that model property is inherited from the MY_Model which by default is set to TRUE. For existing FUEL model's, you would need to extend them and use the module_overwrites in the fuel/appl…
What about this:
public function form_fields($values = array(), $related = array()) { $fields = parent::form_fields($values, $related); // put in your own specific code to manipulate the fields here if (!empty($values)…
I'm not quite sure I understand what you mean by "getting all entries editable except these two". Do mean the values you are entering are not saving? If so, if you do a print_r($values); exit(); at the end of the on_before_save method, is your prope…
Sorry... you will need to adjust your form_fields method to use the "tel_parts" and "fax_parts" as well. The on_before_save should be used to assemble them into their true storable values.
Does a page show up here:
http://{myserver.com}/index.php/fuel/login
Also, is your site in a subfolder on your server? If so, you may need to change your .htaccess
The reason that is happening is because the saved value overwrites the $telValue and $faxValue upon rendering and so the inputs get lost. I would recommend in this case using a field name that doesn't match the saved field's name (e.g. tel_parts[], …
In the example above, there looks to be an extra single quote in the example provided. Could you paste in your current code implementation with the correction?
FUEL doesn't have it's own debugging function (although it would be a nice addition I think). The $CI object has child objects that have properties that reference the $CI object and so debugging that object can be problematic since it causes and in…
What about the URL:
http://{myhost.com}/index.php/fuel/login
Note that I added login at the end so it doesn't redirect to /admin. Does it help if you change the fuel_path in MY_fuel.php back to fuel/?