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

  • That should be fixed in the latest version of FUEL (1.6) and will retain the .JPG. Here are some general instructions for upgrading (it may vary though depending on your installation so be sure to save a copy if you need to revert back). http://foru…
  • The column names are generated by what is returned from the list_items query on your model (which is inherited from base_module_model). That query can be overwritten (and often is), to return different columns. To change the name of a columns you ca…
  • Does the fuel/application/config/MY_fuel.php have "search" in the $config['modules_allowed'] array?
  • What version of FUEL are you running?
  • There is a parameter in the module called "table_headers" that if set, will limit the list items to just the fields specified no matter what the query returns. Try adding this to your overwrites as well. See the original in fuel/modules/fuel/config/…
  • Are you able to view the actual response of the page and if so, does it have an error message?
  • Does the javascript console show any errors?
  • Is precedence part of a unique index key?
  • I see. That's a regression bug caused by a fix for an issue where saving with the same location value would overwrite an existing value (https://github.com/daylightstudio/FUEL-CMS/commit/a63993d611ba88d097cfc8f0dde0f5ca253cf199). I've posted a fix i…
  • Can you confirm that the fuel/modules/search/controllers/search.php is being run by adding a debug echo statement in the search.php view file? That is the controller and method used to create the /search page.
  • Does it work if you remove the "/" from the location field?
  • There is a method inherited from MY_Model that is used to generate that list. By default it will assume the label for the drop down is the second column. You could either move the field in the table or overwrite that method in you model as in below …
  • Changing fields in a table can potentially cause upgrade issues. However, you could use migrations to help with any schema changes. I'd also recommend using GIT to merge in changes from the GitHub repo. To handle the CRUD operations, you would hand…
  • Try using "fuel_categories_model" instead of just "categories_model"
  • The 404 error should be OK. It first looks for the robots.txt file to determine what files should be ignored/included and if you don't have one, it will return the 404 code. It should still continue to index. Regarding the search.php view file, are…
  • I wasn't able to see what it is wrapping in your post. Also, what are the values specified in the CMS? Did you try specifying this string for the label and leaving the location value blank: this is additional info. Call this #
  • If you want to modify an existing simple module like pages, you can use "module_overwrites" which are found in the fuel/application/config/MY_fuel_modules.php file. You'll see that there are probably already 2 there for hiding the categories and tag…
  • The search module comes with a "search" view file, which you can copy from fuel/modules/search/views/search.php to fuel/application/views/search.php and edit. It gets passed a few variables including $count and a $results array.
  • FUEL doesn't offer that for it's own libraries except for if you need to overwrite module configurations (which is slightly different... more here on overwrites: http://docs.getfuelcms.com/modules/simple). You can always extend the library and use $…
  • $articles_model is the articles model with the where_in active record already applied so any subsequent queries will include that where_in query too. So yes, you can do 'post_date desc' for the sorting. What does the query say if you do $articles_mo…
  • You can use get and do a GIT pull (and resolve any conflicts with anything in your application directory taking precedence over what FUEL has). Or simply just replace the fuel/modules/fuel folder https://github.com/daylightstudio/FUEL-CMS/
  • Try renaming the folder to "search" and add it to the fuel/modules/ folder (e.g. fuel/modules/search). Then go to fuel/application/config/MY_fuel.php and add "search" under the $config['modules_allowed"] array(). Lastly, you may want to add a permis…
  • That syntax looks correct. If you just run that find_within command and nothing else on the page, does it still time out? You can also run the following after the find_within to see the actual query being generated: $CI->articles_model->debug_…
  • The output is actually in the page but hidden due to the CSS. I've added some CSS changes in the develop branch to help with that and can be fixed if you merge in the develop branch which has the latest features and fixes for the next release: https…
  • Hmm... Not sure what may be going on. I just tried it on a model and both on_before_save and on_before_clean worked. What format are you using for the date in the datetime picker (default is mm/dd/yyyy)?
  • I think I see what may be going on. The date field field is actually combined together form the $_POST['post_date'], $_POST['post_date_hour'], $_POST['post_date_min'] and $_POST['post_date_ampm']. The clean method combines those together to create…
  • fuel_model is really just a convenience function and is an alias to: $CI->load->model('articles_model'); $CI->articles_model->find_all(); // if "find" => "all" $CI->articles_model->find_one(); // if "find" => "one" In this c…
  • Here's a recent forum topic that may help: http://forum.getfuelcms.com/discussion/1798/advanced-search-filters#Item_5 Let me know if that does the trick.
  • In _blocks/header, replace anywhere that it says "$this" with "$CI" and see if that fixes the issue.
  • Try just replacing the fuel/modules/fuel folder.