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,800
Last Active
Roles
Administrator

Comments

  • There is some logic in the fuel/modules/models/base_module_models.php file on line 208 and 220 that is probably causing the issue. What get's displayed if you do a $this->debug_query(); before the ending return statement in that method?
  • FUEL CMS is getting a bit of a facelift using portions of Twitter Bootstrap for the next release. We haven't ruled out incorporating themes but the next release will most likely not include that beyond the xtra_css FUEL configuration parameter you c…
  • Sparks is still not part released 2.1 codebase. FUEL isn't leveraging Sparks yet but we are interested in how it progresses especially along the lines of being able to create modules (including controllers) and being integrated with CI. FUEL uses th…
  • You can add a "js" parameter to your simple module's configuration that points to the javascript file that required to load in what you need: http://www.getfuelcms.com/user_guide/modules/simple
  • Are you able to navigate to jqx.config.basePath + '/products/getsubcat/' + category and have it return a result normally. Also, are there any javascript errors that appear in the console.
  • I think I would recommend breaking out the comments module from the blog and creating a books simple module. We've had to do something similar in the past and have considered creating a more generic "comments" advanced module outside of the blog but…
  • fuel_var will pull in values from the pages module only and not the site variables try using the following to create the inline editing code: <?php echo fuel_edit('test', 'Site variable test', 'sitevariables')?> Then to merge the value into th…
  • By declaring the field that way, you are essentially replacing the current value and all of it's params. If you want to continue to use the default options, you can do one of the following: $fields['category']['mode'] = 'select'; OR $options = $fiel…
    in Enum Select Comment by admin May 2012
  • Yes. Unchecked checkboxes don't get sent across in the $_POST (nor do multiple select boxes that don't have anything checked), so you'll need to check to see if the $_POST variable exists
  • I would try replacing the fuel/modules/fuel/controllers/module.php file and see if that fixes the issue.
  • FUEL uses the HMVC library (with some modifications) to create what is called "Advanced Modules" . Some people have integrated the tank_auth library with FUEL as an Advanced LIbrary that may be of some help: http://getfuelcms.com/forums/discussion/c…
  • Do you have the latest version from GitHub?
  • Put above it $CI =& get_instance();
  • That message sometimes happens if your record class name in your model isn't properly set. Do you have the following in your model class: class Stock_detail_model extends Base_module_record { }
  • That usually means there is some sort of PHP error happening very early on in the execution of the page... perhaps in one of the config files (e.g. fuel_constants, MY_fuel.php, MY_fuel_modules.php or MY_fuel_layouts.php). You may want to try throwin…
  • Hmm... what about the Form::prep method?
  • The find_by_location method would be the way to do it similar to what you have. To have the fields appear last, you can set the "order" field parameter to something over 1000. By default, published/active are set to like 999 so they will appear las…
  • Very possible. I would first look at replacing the safe_htmlentities function in the MY_string_helper to the latest to see if that helps.
  • Yes... we have it in the upcoming release we are working on.
  • I like that idea of being able to add that to the model as well.
  • You should be able to replace the folder fuel/modules/fuel/assets/js/editors/ckeditor. You may want to rename the existing in case you need to switch back.
  • MY_fuel.php overwrites whatever is in the fuel.php which is the default. The text_editor setting is in the MY_fuel.php by default because it was seen as something more users may want to change.
  • Not yet... we are still working. Stay tuned.
  • You'll have to add the options by in the module config like so: // to prevent the querying from happening outside of the admin if (defined('FUEL_ADMIN')) { $CI =& get_instance(); $CI->load->model('games_model'); $game_optio…
  • The unique key is referencing the unique key index that is applied to the pages table. With regards to the error, what happens if you change the code in step 4 to use $CI instead of $this: $save = array('page_id' => $id, 'name' => $key, 'value…
  • There isn't a way at the moment but we do have that slated for the next release. Until that is done you can try adding the following code in the fuel/modules/blog/libraries/Fuel_blog.php file in the _publish_status method around line 1040: if ($t =…
  • The page ID should be passed in the $values array of the form_fields method after that change is made. It is also part of the segment too which you pointed out.
  • The navigation module does this and you may be able to use it as a reference. In the fuel/modules/fuel/config/fuel_modules.php file, under the navigation's module configuration, you'll see a line like the following: 'filters' => array('group_id' …
  • Yes... this is an issue if you are trying to replace the pages_model. On line 117 in the fuel/modules/fuel/controllers/pages.php controller, you can change it to: $fields = $this->model->form_fields($saved); This will be fixed in the next majo…
  • You can create your own controller to do that and put it in your application directory. It should at least extend the Fuel_base_controller class, or if needed the Module controller class. You should use the Fuel_base_controller's _render method to r…
    in simple page Comment by admin April 2012