To get an array of all the assets in FUEL, you could leverage the Fuel_assets_model::list_items() method. Additionally, you could use the Fuel_assets::dir_files() method (that has a reference to the Fuel_assets_model class on it as well)
http://doc…
Tough to say what may be happening but it looks like it's trying to cast the ID value to be and int. A simple way to debug could be to use one of the model hook methods like "on_before_validate" or "on_before_save" to see if the value that is being…
It sounds like it's using the URL field type because it has the text URL in the name of the field. You can use the parameter ignore_representative => TRUE when defining your field so that it will become a basic text field.
To get the the final HTML for a page, you can do something like the following where you pass in the location value of the page (whether saved in the CMS or the path to the view file):
// set additional variables $vars = array('page_title' =>…
Since there is not controller to add that logic to before the rendering, the globals.php and the page itself like you suggested would be where to add it.
It would probably be best to create an advanced module for that instead of updating the core fuel/modules/fuel files.
Alternatively, you could create a controller and route in your main application/controllers directory and application/config/rou…
Does your new table have a foreign key relationships of "category_id" set?
public $foreign_keys = array('category_id' => array(FUEL_FOLDER => 'fuel_categories_model')); // map foreign keys to table models
There was a fix for that posted in August I believe:
https://github.com/daylightstudio/FUEL-CMS-Blog-Module/commit/d4d0e673285939321694a8e29bcd55253b913411
The error in the Fuel_posts.php file on line 138 means it's not finding a $module. What's the name of the module before that error do you know (is it "category" or "news" or something else?). Does the page load without the get_categories_linked() me…
What do you mean by buffering? Do you mean the spinning loader icon? If so, if you view the develop console in your browser, do you see any errors from AJAX requests?
The notification only displays one message at a time so it may be getting overwritten by the successful save message instead.
For errors in general, you can add use the add_error($msg) function or the model method $this->add_error($msg) and th…
Did you mean FUEL 1.4.3? Did you see this documentation?
http://docs.getfuelcms.com/general/forms#wysiwyg
There is also a configuration parameter of "text_editor" in which you could change to "ckeditor":
http://docs.getfuelcms.com/installation/…
You may also want to try adding this to your module's config (if it is indeed in a module and not in a page layout because this setting already exists for the pages module):
'sanitize_input' => array('template','php'),
Layouts control what variables get saved to the database and in return what variables get presented to the layout when viewing a page. The variable $body is is used to hold the contents of the static view file which gets merged into the layout. Beca…
I would start by looking at this section of the Forms documentation:
http://docs.getfuelcms.com/general/forms#association_parameters
It refers to creating a custom field type.
https://www.getfuelcms.com/blog/2013/12/17/creating-a-color-picker…
The embedded list is built to behave like the default view of the main list_items view but you can additionally pass a "where" parameter to filter the list (as displayed in the docs). If you want change that you could overwrite the method with perha…
I think I would need a URL and system access to fully determine your issue because I can't glean enough from your description. My profile has an email address in which you can send me information if you'd like.
That issue traces back to how CodeIgniter captures the URI segments in the $_SERVER['REQUEST_URI']. Those characters get encoded and so they don't match up to the unencoded values when we go to match them as location values.
OK. So if you go into the CMS, and create a page with a location of test and select your nt_basic layout and fill out the "Body" field, does /test appear with the body text. If so, do you have the pencil icons appear on that page and is there one fo…