Avatar

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

admin

About

Username
admin
Joined
Visits
8,799
Last Active
Roles
Administrator

Comments

  • You will need to modify the field in the form_fields method to include a "first_option" parameter: public function form_fields($values = array(), $related = array()) { $fields = parent::form_fields($values, $related); .... $fields[…
  • is .htaccess and mod_rewrite enabled? Also, did you enable the admin in the fuel/application/config/MY_fuel.php $config['admin_enabled'] = TRUE; Can you browse to this page: http://localhost/FUEL-CMS-master/index.php/fuel/dashboard
  • Glad you got it figured out.
  • Are you logged in as the super admin? If not, you may need permissions setup for your simple module: http://docs.getfuelcms.com/general/user-management
  • You can set the id on the second form so that it renders with a different ID: $form1fields['f1field'] = array('type' => 'multi', 'label'=>'Species', 'options' => my_options_list_a()); $this->form_builder->set_fields($form1fields); …
  • That one is tough to tell without the full controller code. One issue may be that the main page area in FUEL is surrounded by a form tag and doesn't allow nesting multiple form tags which may be part of the issue depending on how you setup the page.…
  • Have you read the area for upgrading to FUEL 1.4 here? http://docs.getfuelcms.com/installation/installing In particular the command line tool that will help with a lot of the issues you run into including the casing and the changes needed for ma…
  • I ran a test on that form and I only saw the form rendered once upon submission as well as it only AJAX the results once so I'm not quite seeing the issue you explained. To send a response email, you would need to setup a custom function and leve…
  • The model's save() method can handle a single array of values or an array of array values and it will detect and save a single or multiple (check out the MY_Model::save() method). Save will detect if there is a supplied primary key value and if it e…
  • Can you post the model and the on_after_save method?
  • If you are creating a separate login from FUEL's admin login (e.g. /fuel/login) for users to login, I would recommend using something like Ion Auth: https://github.com/benedmunds/CodeIgniter-Ion-Auth https://forum.getfuelcms.com/discussion/2390#I…
  • That error is probably caused by the casing of the model file names. CI 3.0 required model name files to have the first letter capitalized.
  • The preview that loads is what's about to be uploaded before it is saved. If the files are exactly the same file name then the preview will be the same for each one after you hit save. You'll need to set a different name in the New file name field v…
  • That change has been pushed to the develop branch: https://github.com/daylightstudio/FUEL-CMS/tree/develop
  • When you set the site to be multiple languages and you create a new page in the CMS the slug for the language is not saved in the location value if that's what you mean. Instead, each page gets associated with a different set of page variables that …
  • If you change line 5782 to the following, does it work: $this->_CI->$foreign_model->db()->where_in("{$related_table_name}.".$this->_CI->$foreign_model->key_field(), $rel_ids);
  • I'm not quite sure I follow. Are you not wanting to create each language page in the CMS. Or, are you specifically referring to the menu using the Navigation module and/or the fuel_nav() function and not wanting to create multiple languages for the …
  • Yes. There is a configuration parameter of login_redirect that you can overwrite in your fuel/application/config/MY_fuel.php. The default value is the following: // the page to redirect to AFTER logging in $config['login_redirect'] = $config['fue…
  • Is there a "PROFILES_PATH" defined in a fuel/modules/{my_module}/{my_module}_constants.php?
  • It sounds like you are needing information on an Advanced Module: http://docs.getfuelcms.com/modules/advanced
  • Try: require_once(FUEL_PATH.'/libraries/Fuel_layouts.php');
  • Your best bet would be to probably create your own Advance Module that contains the model, view and controller logic you need to do what you are suggesting. Simple modules are generally just wrappers around a single table whereas what you are wantin…
  • And the .htaccess was updated to have the following correct? RewriteBase / ... RewriteRule .* index.php/$0 [L] // OR with the added ? per https://codeigniter.com/user_guide/installation/troubleshooting.html RewriteRule .* index.php?/$0 [L]
  • Try removing "jack/" from this line: RewriteRule .* jack/index.php/$0 [L] You've already set it in the RewriteBase which should be changed to the following to include the ending "/": RewriteBase /jack/
  • Does Apache have the mod_rewrite module installed and does it allow .htaccess for that directory? Does 192.168.0.55/index.php/jack/about work?
  • Did you see this? https://codeigniter.com/user_guide/installation/troubleshooting.html
  • This seems like a permissions issue. Is the assets/images folder writable with the ability for PHP to create subfolders? Also, if the subfolders exist, do they get uploaded to those folders instead of the assets/images folder?
  • Try adding the the following to your MY_fuel.php "xls": // Specifies what filetype extensions can be included in the folders $config['editable_asset_filetypes'] = array( 'images' => 'jpg|jpeg|jpe|gif|png|zip|svg', 'pdf' => 'pdf|zip'…
  • Is the name of the file capitalized as News_model.php instead of news_model.php?
  • I believe that change happened when FUEL was upgraded to CI 3 and the hook that was being used before to allow both controllers and opt-in controller views work together couldn't work the same anymore due to changes in the booting of the CodeIgniter…