Sounds like there would need to be a "do_not_upsize" type parameter that could be used for such situations. If you can submit a pull request on the develop branch with the suggestion, I can review it. I could foresee changes to the Fuel_assets::uplo…
There are really 2 types of docs that the user_guide module generates (and sometimes a combination of them):
* Auto-generated documentation based on the comments and using reflection.
* View files that can be found in the views/_docs/ folder o…
I see. The template field is actually not so much a field but a container of fields. There are a couple other options though. There is a context and selector parameter that you can use. The context parameter is the dom reference of the container ele…
You may need to add that class parameter to each of the fields instead:
'fields' => [ 'workshop_title' => ['class' => 'toggle toggle_workshop_yes'], 'entries' => [ 'type' => 'temp…
Those should still be somewhat applicable but you may run into some issues. For more recent documentation I'd focus on the Modules and General section of the documentation:
https://docs.getfuelcms.com/
I'm curious if this is a FUEL issue or a server config issue. Is it possible for you to test a fresh CI installation on the server with the same controller?
FUEL uses the native CI CLI feature and any restrictions on running in CLI mode would need to be in the Controller code that's created. What do you get when you run php -v? Also, are you able to call a simple controller that doesn't touch the databa…
Sorry... just saw this. The $js and $css array are created as default convenience variables in the fuel/application/views/_variables/globals.php. In there you can change the variables value to be either an array or comma separate string.
Those paths reference /assets/css/main.css and /assets/js/main.js respectively. The fuel/application/config/asset.php specifies the paths and different asset folders. The extends for the js and css folders aren't required.
A few questions to help diagnose the issue:
1. Do you have mod_rewrite and .htaccess enabled on your server?
2. Did you change the .htaccess RewriteBase to RewriteBase /FUEL-CMS-master/.
3. Does the following URL work? http://localhost/FUEL-CMS-…
If you follow that path, it will go to the file that has that function. I just created a simple "Test.php" controller and ran php index.php test and it worked fine without error so I'm unfortunately not sure why you'd be seeing that error.
Does your fuel/application/config/autoload.php file have url as one of the $autoload['helper']?
the uri_path() function should automatically get loaded. FUEL extends the CI helper and includes that function in the fuel/application/helpers/MY_url_…
You could try to create a callback function for the 'table_actions' module configuration parameter (in fuel/application/config/MY_fuel_modules.php):
'table_actions' => array('EDIT' => array('func' => function($fields){ // put your code h…
The fuel_set_var function will add a variable with the inline editing code in place. The inline editing code will get cleaned up if the page is rendered via $this->fuel->pages->render('my_view', $vars);
If you don't need the inline editing…
It sounds like you are wanting to break it out of the default table format. To do that, you can try and pass the following "render_format" to the init configuration parameter:
$field['my_tested'] = array('type' => 'nested', 'init' => array(…
So when you select the "no option" (e.g. Select an option.../ Select one...) and save, it still retains the same old values and does not set the foreign key in the database to null or 0?
Does the first option of the select not say "Select an option..."? Also, when you say it doesn't work, do you mean you can't select the empty value (e.g. Select an option) or do you get a validation error saying that it's required or something?