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

  • I would try updating to 1.1 to see if that fixes your problem. If you are using GIT, you could do a GIT pull.
  • You can setup a has_many relationship on your gallery model and conversely a, belongs_to relationship on your images model. http://docs.getfuelcms.com/general/models#relationships Also, in your model's form_fields method, I would use the "file" fie…
  • You can also use this format to specify which advanced module to look in for the images_model: $has_many = array('images' => array('gallery' => 'images_model'));
  • What version of FUEL are you running?
  • The Base_module_model in which your simple module inherits from, has a method of "export_data" in which you can overwrite.
  • Sometimes that will happen if the session cookie size gets too big. There are a couple ways to reduce the size of the cookie. Try adding the following to your MY_fuel.php file: // max number of recent pages to display $config['max_recent_pages'] = 0…
  • If you are wanting to point to an asset like that through a route, you would need to create an "asset" controller perhaps that uses the _remap method to route asset files through. A route must have a controller to map to. FUEL uses the 404_override …
  • When you say not working do you mean it's simply not filtering? If so, in the Base_module_model::list_items method there is a $this->debug_query() method on line 294 that you can uncomment out to see what query is actually being generated. It wil…
  • What problems are you seeing with the filters (e.g. what sort of errors)? For reference, the Base_module_model::list_items() method which makes a subsequent call to a protected method "_list_items_query" is what returns the array of results for the…
  • Any method on your model that is prefixed with "ajax_{method}" can be accessed via a controller like so fuel/{mymodule}/ajax/{method}/ Additionally, any query string or post parameters will be passed to the model method as a parameters array. This p…
  • I just pushed a change to allow for this in the develop branch. You’ll need to clear your cache (it sticks like crazy with CKEditor). And you’ll need to remove them from the “removePlugins” in the ck_editor_settings.
  • The dashboard area of FUEL is controlled by the 'dashboards' configuration parameter which you can set in the fuel/application/config/MY_fuel.php file. By default, it pulls in the dashboard from fuel. To create a dashboard, you will need to create a…
  • It could be the number is too much. You could try creating a new custom field type using something like Select2 (http://ivaynberg.github.io/select2/). Here's how to do that (this would probably serve us better as a blog post but here it is for now):…
  • The $filters property on the model says which fields to include when doing a filter. The form controls for filtering are controlled by creating either a "filters" method on your model, or adding the "filters" parameter to the module's configuration …
  • Currently there is not. You would need to create new plugins and associate them with different toolbar names since they are replacements of the CKEditor ones. You could probably just copy these and change their toolbar association (found at the bott…
  • That does not exist for categories unfortunately so it would need to be added. If you do, try doing a pull request and we can merge it into the codebase. https://github.com/daylightstudio/FUEL-CMS-Blog-Module https://help.github.com/articles/using-…
  • Hmm... strange. We run FUEL on PHP 5.3 a lot and haven't run into an issue like that.
  • I've posted a fix in the develop branch that you can pull from: https://github.com/daylightstudio/FUEL-CMS/commit/f501fc90b69b098fe033468441f9420d8209a145
  • It's possible. Do you have mod_security or suhosin installed on the server? Here's a rather long thread regarding one issue with that (which may be a long shot): http://forum.getfuelcms.com/discussion/55/some-admin-pages-are-stuck-loading/p1 Also, …
  • fuel_model is merely a convenience wrapper function. It's equivalent to the following: function get_europe() { $CI =& get_instance(); $europes = $CI->locations_model->find_all(array('europe' => 'yes')); foreach($europes …
  • I'm seeing an issue where when you view source in markitUp! mode that it adds extra brackets and parenthesis like so:: Is that what you are seeing?
  • No. It just indexes those that have a preview_path value specified.
  • That's the only one that is currently supported however, I haven't look into others really. You could create a custom field type or overwrite the javascript used for the wysiwyg field type. To do that, add the following to your fuel/application/conf…
  • Unfortunately, that is currently not possible without modifying the model's form_fields method to look for permissions associated with the user. If you are feeling adventurous, there is a "module_overwrites" configuration found in the fuel/applicat…
  • Are you referring to using CKEditor in general being the only option? Or do you mean, is there any other way to add that configuration?
  • There is actually a hook that comes with the search module that does just that. Add the following to your fuel/config/hooks.php file: include(SEARCH_PATH.'config/search_hooks.php');
  • What browser are you using and are you seeing this only on certain pages?
  • Here is the change on GitHub: https://github.com/daylightstudio/FUEL-CMS/commit/ca45147370ea8e59f7c66db4cd517d2121a3bcf7
  • You can set the "text_editor" configuration in your MY_fuel.php file to: $config['text_editor'] = 'ckeditor';
  • The Form_builder::render_template() method takes 3 parameters. The first is the template parameter which is simply a view file path. If the view file exists in an advanced module, then you can use an array with the key being the module name and th…