That error can be thrown from 3 places so I'd first try and isolate where. The first is from the Fuel_assets::upload() method around line 165:
$this->_add_error(lang('upload_invalid_filetype'));
The other 2 places are in the fuel/codeigniter/libr…
There is a parameter called "add_params" that you can pass in a query string which will get passed as values to the create screen:
$field['my_multi']['add_params'] = 'image=1&otherparam=myotherparam';
You can try adding the following to your MY_fuel.php file:
// The maximum number of pages that page state will be saved before dumping the last one saved. // This is used on the list pages in the admin to save sorting and filtering. Used to save on…
That is the template engine... it's because the delimiter for the template engine is the "{}" by default (this can be changed). If a space is added after the { then it the parsing engine will ignore that (str_replace('{', '{ ', $str)).
Also, you ca…
Thanks for the help! There is a separate repo for the language files that can be found at the following URL which you can make pull requests:
https://github.com/daylightstudio/FUEL-CMS-Languages
Are you talking about the little icon next to the Search button? If so, you would need to edit the core fuel/modules/fuel/views/_blocks/module_list_actions.php file and/or the fuel/modules/fuel/assets/css/fuel.css (and fuel.min.css) .reset class. A …
I'm guessing the links you are talking about are from some older blog posts correct? If so, the demo branch was taken down a while ago because it needed some updates. We are actually currently working on a newer demo site that will be helpful for pe…
You can setup a filter instead of a tab to allow users to select from the dropdown which status to filter on:
http://docs.getfuelcms.com/modules/simple#filtering
If you have a controller name the same as your advanced module, then you shouldn't need to create an additional route and test/first would map to fuel/modules/test/controllers/test.php with the "first" method.
First, does the route first/{slug} work at all... meaning, does it route to your "test" controller? Second, where in the file structure does your "test" controller exist and what is the file name of the controller?
It sounds like you will need to attach an event to your Approve/Reject links similar to how Publish/Active have a "yes"/"no". The toggling of "yes"/"no" is handled by javascript in the BaseFuelController.js file's tableCallback method.
In your cas…
This may sound weird but try running it twice (the first time it should cache the columns):
$tags = fuel_model('tags', array('where' => array('slug' => $slug))); $tags = fuel_model('tags', array('where' => array('slug' => $slug))); CI()-…
Sometimes it helps to see the actual query being run on the model. There is a debug_query() method I like to use on the model directly. To do so, after this:
$tags = fuel_model('tags', array('where' => array('slug' => $slug)));
Try running and…
There are AJAX requests to the server which need to append that token and it and it uses a hidden field value with the id of "csrf_test_name".
Regarding the encrypted cookie 500 internal Server Error, do you have any other additional information re…
When you say modules do you mean advanced or simple modules?
http://docs.getfuelcms.com/modules/simple
http://docs.getfuelcms.com/modules/advanced
There will probably need to be some updating. However, it's possible that some may still work OK or r…
Is this on a page created in the CMS that has Cache set to "yes" by chance? Also, does the entire page refresh to be blank or is it perhaps something in the callback of the javascript ajax submission?