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

  • Issue #1 You could use groups for each dropdown, but it would require 7 calls to "fuel_nav", one for each root dropdown item. You just need to pass in "group_id" value. As an alternative to managing through the CMS, it's sometimes easier with large…
  • This sounds like a similar issue: http://www.getfuelcms.com/forums/discussion/1118/select-where-query-run-twice/#Item_12
  • You can pass a "currency" parameter to your field. The default is "$". You can also pass in the separator and decimal field: $fields['price'] = array('type' => 'currency', 'currency' => '€', 'separator' => '.', 'decimal' => ',');
  • Is this in the 0.93 or 1.0 beta branch? The duplicate button functionality should simply just post the current content to the module's "create" page and then clicking the save button will save the data. Is there something with the tables indexes (pe…
  • I'm sorry this is an issue for you, but we can't make a decision to change the file name at this point until we are able to understand the rule that is causing the error and whether it is something specific to your setup or not.
  • I think there may be some confusion as to where that config information needs to go. I just noticed that the documentation was incorrect as well and stated to add it to the $config['custom_fields'] array in the fuel/application/config/custom_fields.…
  • What's the specific rule causing that error? Is it any file with the word "cookie" in it?
  • What if you change your controllers method name from "index" to "_remap"? More can be found about _remap here: http://ellislab.com/codeigniter/user-guide/general/controllers.html#remapping
  • Setting "required" => TRUE from within the form_fields method just adds the asterisk next to the field. A better approach would be to add "required" as a model property. This will both perform the validation as well as add the asterisk. The Blog_…
  • The javascript does get a bit messy once you venture outside of the CMS. I made a couple updates to help make it a little easier. The following should provide the JS you need. <?php $this->load->module_view(FUEL_FOLDER, '_blocks/fuel_heade…
  • adaragao, is this something specific to your host and mod_security? If so, do you have specifics as to what the rule is and the reason it's rejecting it?
  • Possibly. If the page is created in the CMS, and someone hits it from https, it will cache it with that site_url() value.
  • Does it work if you change it from: empty($this->module_obj->name) To empty($this->module_obj->name()) Note that it should be a method.
  • Ahh... that explains it. Just remove that base href.
  • Is there something in your .htaccess file on that server? Try just creating a static HTML file with the same contents outside of FUEL and see what the result is.
  • If it's a field you really don't want displayed or have no need for it, you can use; function form_fields($values = array(), $related = array()) { $fields = parent::form_fields($values, $related); unset($fields['my_hidden_field']); re…
  • Is this in the 1.0 beta? If so, add the following: $this->form_builder->load_custom_fields(APPPATH.'config/custom_fields.php'); There is a "data" type attribute you can use which takes an array of "data" type attributes to append to the elemen…
  • You can now in the 1.0 beta . I just pushed that change along with a couple bug fixes for processing the time fields.
  • Yes... there are quite a few tutorials that I think could help with the new changes in 1.0.
  • I guess I'm confused when you say that the correct sorted data is being returned and populates the view. I thought that it was turning up an empty HTML fragment. If you uncomment those lines and add an exit right after the debug_data(), do you see a…
  • Is this in the 1.0 beta or the 0.93? Also, what browser are you using?
  • What if you change the filter to "tourevent_id" instead of "segment"?
  • Setting the target value of the form is currently something that will need to be done with javascript. FUEL expects all forms to be submitted within the same window. You could try adding this to your advanced module's view file: $(function(){ $…
  • So if you comment out the order_by, does it still error?
  • Are absolute paths being rendering for the images? If so, that can be configured in the fuel/application/config/asset.php config file.
  • Is it perhaps that the URI segment isn't there for that particular request? The list_items content is Ajaxed in and I'm guessing that URI segment doesn't exist on that Ajax call (even though you see it in the browsers URI path). If you use the conso…
  • The 5th parameter of lazy_load is the cache_key. What happens if you set that to a different value for each call? Do you have an example of how it is being called?
  • Are you in the DEVELOPMENT environment according the index.php bootstrap? This will turn on error handling: ini_set('display_errors', 1); error_reporting(E_ALL); Also, get_members(TRUE) returning a legitimate object? var_dump($model);
  • No firm date. Still working on parts of it. We are however using it exclusively for new projects and I am encouraging more people to use the 1.0 branch as we get closer.
  • Perhaps try something like this in your Courses_model: public function list_items($limit = NULL, $offset = NULL, $col = NULL, $order = NULL) { $where = array('tm_Course.tourevent_id' => $this->uri->segment(5)); $this->db-…