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

  • You can use InnoDB. The form fields are displayed upon creation and editing of records. Click on the create button and you should see the fields for that module. Those fields are specified in the author_models::form_fields method using the Form_buil…
  • The parsed_fields property tells which fields should be automatically parsed upon retrieval. In that example, there is a field in the database named "content" and derived field "content_formatted" that need to be parsed upon retrieval. Below is info…
  • If you look at the fuel/modules/fuel/config/fuel_modules.php file, and look at the configuration for the navigation module, you'll see the filters parameter which takes the an array of form_builder_parameters. You can specify the columns that are fi…
  • You can define a "USE_FUEL_MARKERS" constant and set it to FALSE to prevent them from showing the markers: define('USE_FUEL_MARKERS', FALSE); If you need to retrieve the variables for a particular URI location, you can use the following: $vars = $t…
  • if "is_admin" is a public property on your model, you can change that value in the module controller like so: $this->model->is_admin = TRUE;
  • If you don't need to control the forms in the CMS, you can create static view files that contain the forms. You can use FUEL's Form class or Form_builder class to help build the forms (but is not required). Then create a controller with a method in …
    in multiple forms Comment by admin May 2012
  • Unfortunately, the jquery widget used to render that doesn't support optgroups.
  • Try adding this to your controller: public $view_location = 'sphider';
  • If you create a page in the admin area, you don't need to create a controller (although you still can). If you do need a controller, and want the page to pull from the CMS instead of the view file, add "render_mode" => "cms" per below: $this->…
  • I tried upgrading to 5.4 a while back and it proved to be too much to fix at the time. I took a look at some of the commits though and found one regarding package paths. https://bitbucket.org/wiredesignz/codeigniter-modular-extensions-hmvc/changese…
  • There doesn't need to be a return of values. Could you do a $this->db->debug_query() right after $this->db->update('photos') to see what it outputs for the query?
  • You can currently accomplish the need for adding additional HTML to your field values by overwriting the list_items method of your model to generate the necessary HTML for your thumbnails. Often times that just means looping through the returned da…
  • Are you wanting to do this from within your own admin controller that is inheriting from Fuel_base_controller? If so, success messages are set using the session classes flashdata with a key of "success". Errors can be set the same way with a key of …
  • Unfortunately, that currently isn't something you can do at the moment.
  • Are these forms for the CMS or forms for the front end of your website?
    in multiple forms Comment by admin May 2012
  • The issue may be due to either your model's list_items method or the value of the module's table_headers parameter in your MY_fuel_module specifying "id" instead of "division_id" (if you used that to specify the columns instead of the list_items met…
  • There currently isn't a way to turn off pagination. The next release will allow you to set differently values for the limit values in the list view which means you could set them very high to avoid pagination.
  • The will be addressed in the next release.
    in images Comment by admin May 2012
  • Try <?=parse_template_syntax($post->content)?>" or "{$post->content_formatted}"? With regards to the second question, there currently isn't any field in the database that stores an image name (just a field to upload images). Therefore …
  • You may want to try putting in debugging code in the fuel/application/core/MY_Model.php "form_fields" method around line 1795 or so to see if any options are being returned. You can also put in a debug query like so to see if there is perhaps an iss…
  • I was actually working on a version of this last night for the next release. However, the preview pops up in a new window instead of showing it below the input field. But it will be the same preview for both CKeditor and markItUp! which I think is t…
  • FUEL uses that for the Restore from previous... dropdown seen when editing a modules data (to the right of the "Create" button when an archive exists). By default, it only saves the last 5 to the archive.
  • What are the unique keys of your tables?
  • Where are you seeing the problem?
  • You can use the "add_edit" css class to modify another modules data from within your own module like so (where "books" is the name of the other module): ... $forms['books']['class'] = 'add_edit books'; If you are wanting the form field to be within…
  • Are you using ../images/ for your image paths?
  • Thanks for the code. To answer your questions, the markItUp! and CKEditor previews are totally different. There is a fuel/modules/fuel/assets/js/editors/markitup/jquery.markitup.set.js file that contains the configuration for markItUp! In that file,…
  • Is the 404 being generated by the page or is it before it even gets to the page? For example, I will often include logic in the page that if the query does not return a valid record it returns a 404 error message. Also, this page isn't being served…
    in Using URI Comment by admin May 2012
  • Yeah... I'm getting tired of saying it too (sounds like vaporware). We have a couple projects right now that are taking it through its paces and our goal is to release after that which should be end of June early July.
  • It does (but requires quotes around "RAND()").