If you truncated the table and it affected your list, then that tells me that your dropdown list is using the data from the search index to help create that page list (by using the preview_path found here fuel/modules/search/config/search_fuel_modul…
Just to confirm that your filters method is in your main table class and extends the base_module_model correct? If so, I would debug the fuel/modules/fuel/controllers/module.php on line 190 and debug the value of $this->filters.
This sounds like the result of the xss_clean which is run by default on save. Try adding this to your simple module's configuration:
'sanitize_input' => array('template','php'),
Does the fuel_search table have different data between the environments? The search module has a search sub module (simple module) in it that has a preview_path value of 'location' => '{location}' and therefore gets included in that list of all p…
What version of FUEL are you using (you can echo the FUEL_VERSION constant to find out)? The reason I ask is because the syntax above is older.
$vars = array(); $this->fuel->pages->render('mylocation', $vars, array('view_module' => 'my_…
Yeah. The pages method only works on a simple module since they are the only ones with a preview_path. Do your advanced modules have simple modules within them? If so, you can use those module names (e.g. 'blog_posts' is a simple module within the '…
The datepicker is actually a built-in custom field type. This means you can overwrite it in the fuel/application/config/custom_fields.php configuration:
// date field $fields['date'] = array( 'css' => 'my_datepicker', // would exists at f…
For the HTML, that is in the fuel/modules/fuel/views folder and the language is in the fuel/modules/fuel/language folder. Unfortunately, there is no way to make changes to those files without hacking the fuel module itself.
Because checkboxes will not send anything over in the $_POST if unchecked, FUEL needs to check the model to see if a boolean field has been identified, and if so, will treat no $_POST variable value as simply a $_POST['visible'] = 0. It does this ar…
I'm not quite sure I follow. Checkbox values should not change (unless you are using javascript) and they only pass data in the $_POST if they are checked. In this case, if checked, the value of 1 would be passed to your boolean field in the databas…
Yes. There is a FUEL configuration parameter you can add to your fuel/application/config/MY_fuel.php file of "xtra_css" where you can specify a CSS file (located at assets/css/):
$config['xtra_css'] = 'my_fuel.css';
In your module model, overwrite the generated field type for "visible" to be a checkbox like so:
function form_fields($values = array(), $related = array()) { $fields = parent::form_fields($values, $related); $fields['visible'] = array('ty…
Yes. You can edit your module model's form_fields() method to include whatever Form_builder field types you want. It should return an array of array field configuration. More can be found here:
http://docs.getfuelcms.com/general/forms
http://docs.g…
When you say admin menu, do you mean the inline editing menu when viewing a page or the CMS admin menu on the left side. If the latter, that gets cookied but by default should be open.
I think you'll need to use the long class names unless you perhaps map them to some sort of alias array. If they were using more PHP 5.3 methods they could use name spacing.
Did you specify a preview_path for you module in the MY_fuel_modules.php file? That is required in order for there to be URLs generated for your module.
Also, if I was thinking there may be something that can be done with the Sync module and the cr…
Unfortunately, there may not be an easy way if you can't make changes to the PHP.ini settings to allow for more memory and will probably require some means of copying the data over to your production environment.
Selecting a few pages from the admi…
Regarding your question about the "css" helper function, there is some documentation that can be found here:
http://docs.getfuelcms.com/helpers/asset_helper#func_css
http://docs.getfuelcms.com/libraries/asset
Regarding:
echo css('main').css($css);
…
I would first copy the fuel/modules/search/config/search.php file and add it to your fuel/application/config/search.php. This allows you to overwrite parts of the configuration and not worry about messing with the code in the search module. Then, in…