It has to do with CKEditor automatically adding those tags before saving. We think it has something to do with the protectedSource configuration setting in CKEditor not working properly. It looks like they just released a new version 2 days ago and …
Hmm... that's the opposite of what I would think. The sanitize_images parameter will run the xss_clean function on images which can sometimes generate a "false positive" and not properly upload the image. However, come to think of it, you would have…
This may have to do with how the values are being set on the form fields. By default, FUEL uses the find_one_array method from your model that returns the values but just for that model. In your case, you are combining 2 different models. I can thin…
Is this for a module you are creating in the CMS. If so you can specify a 'js' parameter to include a javascript file:
http://www.getfuelcms.com/user_guide/modules/simple
Here is an example that may help. Say you have a "search" module that needs a front end controller to display a users search results, and you need a backend controller that displays the administrative end inside FUEL to index your search. In this ca…
Try changing the pre_controller hook in the Fuel_hooks to the following:
// this hook allows us to route the the fuel controller if the method // on a controller doesn't exist... not just the controller itself' function pre_controller() { // …
Are you getting an error message or is the image simply not appearing to be uploaded? Also, is it possibly uploaded but with the special characters removed? FUEL uses the url_title function to clean file names up. This function is applied in the fue…
There is also a fuel config value of 'xtra_css' that can be added which will be included for all pages in the CMS. It's a bit of overkill for one module but is another way to add javascript.
This issue will be addressed in the next release as well.
The methods like find_all, find_one, etc, belong to the table class. You can use the "fuel_model" function in the front end to get your objects or you can reference the model itself like so:
$articles = fuel_model('articles', array('find' => 'all…
Hey Peirlo,
We are currently working an updated user guide and will have some additional notes on jQX and javascript use in general in there. We have also discussed the idea of adding comments to the documentation but if we do, it won't be until af…
The errors shows at the very top of the page because a user is logged in and the validator object that the form_builder is using to validate has "register_to_global_errors" turned on. So try turning it off on the validator object that the form_build…
For inline editing to work, it needs to be rendered by the Fuel_page class. If you are using a controller, then instead of using $this->load->view('testview', $vars);, you need to use the following:
$page_init = array('location' => 'testvi…
The passing a foreign key to create a new record while inline editing is still a bit kludgy and is something we will be addressing. Your current method is probably as good as any right now.
With regards to the presentation side, you should be able …
I'm not quite sure at the moment what the issue may be either. I would start by debugging perhaps the parent Controller at fuel/codeigniter/core/Controller.php and making sure it is getting executed. This file does the the autoloading in the constru…
So you are clicking edit in a simple module used by your Advanced module (e.g. the blog_posts module inside the blog advanced module)? To debug, I would check out where the 404 error is being outputted in the fuel/modules/fuel/controllers/module.php…
Try the following change:
class Service_model extends Data_record { public function get_block() { $output = ''; $output .= $this->get_thumb_image(); $output .= '
Try this for now:
$user_lang = $this->fuel_auth->user_lang(); $this->config->set_item('language', $user_lang); $this->load->language('articles');
I'll look into perhaps having that set automatically
FUEL will automatically create a "thumb_image_upload" file input field if it sees a field that ends with "_image" or "_img" (this code happens in the parent Base_module_model::form_fields method if you are interested). You then need to add the "uplo…
When you say "Then if I changed language back to english forms" how are you doing that and is that value being set in a variable that can be used to set the "language" config value?
$this->config->set_item('language', $my_lang);