It creates a data record class from the fuel_pages table. Below is the documentation as to where to find Data_record class information:
http://docs.getfuelcms.com/libraries/my_model#data_record
Specifically, it is a Fuel_page_model data record whic…
FUEL uses the Pagination library from CI:
http://ellislab.com/codeigniter/user-guide/libraries/pagination.html
The fuel/modules/fuel/controllers/module::list_items method uses it and passes a $pagination variable to the view.
I'd perhaps look at the "tester" advanced module which does something similar:
https://github.com/daylightstudio/FUEL-CMS-Tester-Module
Specifically, in the controller, it uses Form_builder to create the form which gets passed to a view:
https://gi…
The model has a "get_others" method that it uses. You can try overwriting that method on your model to return a key value array that is used for that dropdown.
The "find" method should return a page record object. What are you doing with the page record object after you retrieve it?
Running the following should get you the properties you can access:
$page = $this->fuel->pages->find(5); echo '
Are you wanting to use this field for a backend module? If so, you can add something like the following to your form_fields method on your module's model:
function form_fields($values = array(), $related = array()) { ..... $fields['multi_…
What are the fields in your model? You can set a "display_field" parameter in your MY_fuel_modules to be the field you want to associate with identifying your record.
Setting the values in the form_fields method will only work when creating a new record. If you are editing an existing record, it will use whatever is returned from your find_one_array method by default. If your find_one_array method isn't returning…
Hmm... are you wanting something like how the users and permissions are setup in FUEL? Under users, you can select what permissions they have (has_many on the fuel_users_model), then under permissions, you can see what users have those permissions a…
When you used an array for the value, did it look like the following?
$options = array('a' => 'option A', 'b' => 'option B', 'c' => 'option C'); $fields['multi_example'] = array('type' => 'multi', 'options' => $options, 'value' => …
If you make the assets/cache folder writable and then change the fuel/application/config/asset.php files $config['assets_output'] = TRUE; it will combine files together in a css() and js() function call and write them to the cache folder, clean up s…
Hmm... that is strange. Is there any complicated logic in your templates or database queries that may be causing the problem. I'd try to locate what part of the page may be causing the issue.
Yep. Try the following:
1. Download the zip file, unzip it, rename the folder name to the module name (e.g. search, google_analytics, etc) and place it in the fuel/modules folder
2. Add the module name to the fuel/application/config/MY_fuel.php $co…
There was a fix posted a little while back to help with presentation of decimal fields. Try pulling from the develop branch to see if that fixes your issue:
https://github.com/daylightstudio/FUEL-CMS/commit/353746e4d8e5ae2c75905bd2cc62ba7574fede13
You can create a custom field type that can be recognized by Form_builder to serve up what you need. The Fuel_custom_fields.php class contains a bunch that FUEL uses as an example. This coupled with the fuel/modules/fuel/config/custom_fields.php con…
That does seem really odd. If you want, you can send me the text you are trying to save as a block in the CMS (email address can be found under my forum profile).
The following is the best documentation for wiredesignz's HMVC library:
https://bitbucket.org/wiredesignz/codeigniter-modular-extensions-hmvc
What you may be referring to as well are FUEL's additions to the library which provides a slightly differe…
Hmm... that's really strange. Initially I though maybe it was the xss_clean filter, however, if you are saving this in the CMS Blocks module, that is already turned off for that module. So it's being parsed out on save in the CMS? Or is it being par…
Do you have a database setup properly per the installation instructions? If so, have you gone into the CMS and created a page to be viewed in the front end?