That format is recognized as m/d/Y by PHP's strtotime function. If you use d-m-Y, that should work.
http://php.net/manual/en/function.strtotime.php
http://stackoverflow.com/questions/2891937/strtotime-doesnt-work-with-dd-mm-yyyy-format
A few questions:
1. Are there any JS errors being reported in the console?
2. What JS files are missing?
3. Are you overwriting any of the fuel configuration $config['fuel_javascript'] values in your MY_fuel.php file?
Here is some code from the fuel_navigation_model used to set the tabs which manually sets the order of the fields:
// set order $fields['general_tab'] = array('type' => 'fieldset', 'label' => 'General', 'class' => 'tab', 'order' => 1); $…
A few questions:
1. Is this FUEL 1.0 beta
2. Are you using the asset output caching?
3. What is the actual outputted image path (view source) for fuel.css?
You'll need to set an order value to your fields like so:
//Section for Basic $fields['basic'] = array('type' => 'fieldset', 'class' => 'tab', 'order' => 0);
In general, I would download a copy of 1.0 beta and migrate over your models, libraries, views and configs MY_fuel.php, MY_fuel_modules.php and MY_fuel_layouts.php. Start there and see how far you get. You could also try a get merge as suggested her…
That's correct. You can overwrite the find_one_array function or change the "edit_method' module's configuration to point to a different method if you need to modify the saved values being used when editing.
The values are set using the form_builder->set_field_values($values) in the modules.php controller. The 'value' parameter is just the initial value and will show up when creating a new record only. Editing a record will always overwrite that $fie…
Curious as to why you are including a controller file into another controller file. Wrapping the mymenu_base_controller.php require_once statement should fix the issue:
if (!class_exists('Fuel_base_controller')) { require_once(MODULES_PATH.'/fuel/l…
You'll need to setup some permissions for the modules and apply those permissions to the different users. In 0.93, the permission name is usually the same name as the module (lower case).
I've removed your password and security question answers for security reasons. It looks like you aren't requiring the Fuel_auth file first. Try the following:
public function single_level(){ require_once(FUEL_PATH.'libraries/Fuel_auth.php')…
There is not an easy way to do this unfortunately without replicating the fuel/assets module controller and assets_model.
If you are wanting a way to better compartmentalize your assets into subfolder, 1.0 provides the ability to specify "folders" …
Are you using FUEL 0.93 or 1.0 beta? By default, FUEL does a "find_one_array" call to grab an array of data based on the current record being edited in the CMS. It then searches the preview_path using regular expression to match fields surrounded by…
What version of FUEL are you using (0.93 or 1.0)? Also, it appears that you are loading one controller into another. Is there a reason for doing that as opposed to creating Mymenu library or helper function?
Getting sparks to work requires changing the fuel/application/core/MY_Loader.php file which currently extends the Fuel_loader (which itself extends the HMVC MX_Loader). I would perhaps maybe try installing manually as a library by downloading the fi…
There are a couple ways.
The first would be to create a custom field type to handle it:
http://docs.getfuelcms.com/general/forms#association_parameters
I've found this method good for reusable form elements.
For more one off elements, I use the "…