One potential workaround may be to create a safe_htmlentities() function in your fuel/application/helpers/my_helper.php which should overwrite the built-in function but in your case removes the $sanitize section:
/** * Safely converts a string's…
The disabled method reverts it to essentially how it was before where it would just disable scripts. Are you needing script tags to be inserted in your input form fields in the CMS? If so, I would recommend putting that logic in your template (which…
Yeah... Purifier is like that aunt at Thanksgiving... you love her and glad she's there but she can be a bit obnoxious and annoying. I've pushed an "enabled" feature to the config on the dev branch if you wish to essentially revert it to before puri…
The CMS page should take precedence over the home.php view file. Also, regarding the nav, if you have a single entry in the CMS then that will take precedence over anything in the _variables/nav.php file.
The index of the styles array indicates the nested depth to apply the styles:
<?php echo fuel_nav(array('container_tag_id' => 'topmenu', 'item_id_prefix' => 'topmenu_', 'styles' => array( 0 => 'level1', 1 => 'level2'))); ?>
Did you set this up in a fuel/application/views/_variables/articles.php file?
$vars['view'] = 'articles';
Also, is the page redirecting or displaying the wrong view?
I'm not quite sure I follow. For FUEL to work, you would need to have a database table setup specifically for the module. In this case using an external REST/JSON API, you would need to sync your external data to and from it. You could using the on_…
Maybe there is something with the Session expiring. Have you tried setting the $config['sess_save_path']=... in the CI fuel/application/config/config.php file? This sets the path to where sessions are saved (must be writable).
Is this field in the Pages module or your own Simple Module? If it's in your own Simple Module, you can try setting the sanitizing options like so:
In MY_fuel_modules.php
$config['modules']['my_module'] = array( .... 'sanitize_input'…
Take a look at the fuel/application/config/purifier.php settings. By default, there should be a couple iframe specific rules that are commented out:
'HTML.SafeIframe' => TRUE, // For iframes 'URI.SafeIframeRegexp' => '%^(http:/…
When you said tried changing it did you mean to the following:
$fields['url_select'] = array('type' => 'select2', 'value' => $this->input->get_post('url_select', TRUE), 'label' => $select_label, 'type' => 'select', 'options' =&g…
I can't think of anything 5.4 specific, however, there is probably other things to be concerned about that server too given how old that version of PHP is.
There are a number of factors that could be contributing to that (e.g. DB calls, other code execution). A few questions:
1. Is the page created in the CMS?
2. Have you created a simple static page view file and does it render the same or faster (h…
Thanks for the report. I've pushed a fix to the develop branch:
https://github.com/daylightstudio/FUEL-CMS/commit/20819072c089f3e49c9528ff8f248432f750eab5
The core fuel and forms module has some examples. You can add your own in the fuel/application/config/custom_fields.php file:
https://github.com/daylightstudio/FUEL-CMS/blob/master/fuel/modules/fuel/config/custom_fields.php
https://docs.getfuelc…
I would take a look at creating a custom field in which you can import and associate your own Javascript:
https://docs.getfuelcms.com/general/forms#association_parameters