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

  • To fix this, create a "product.php" variables file and place it at fuel/application/views/_variables/. Then add the following to it: $pages['product|product/:any'] = array('view' => 'product'); This tells FUEL to map requests from anything at "p…
    in Using URI Comment by admin May 2012
  • I understand now. Unfortunately, that is something hard coded in the fuel/modules/fuel/pages.php controller on line 145 and can't be changed at the moment without altering the controller file. As an FYI, that particular field will be moved into the…
  • Perhaps I'm misunderstanding, but it shouldn't depend on what is loaded in the form_fields method. The "categories_to_articles_model" should be the first parameter passed to the method. More can be found here if you haven't seen this page of the doc…
  • Try setting the "sanitize_images" parameter on your module to FALSE in your MY_fuel_modules.php file for that particular module. There is an xss_clean function that will sometimes return a FALSE positive for certain images.
  • It sounds like you are needing to modify an item in the Navigation Module instead if you are wanting to change the navigation in the website correct? If so, there are a couple ways to do that. The first is to mark it as hidden and then, if you are u…
  • There isn't a folder per se that you can add that to. However, can you create a rule in that file trigger's the popup that says any request to a certain URI pops up the login and have the file located perhaps next to the main .htaccess file?
  • You can still load in your models in your variable files like so: $CI =& get_instance(); // $CI may already exist and you may not need to do this $CI->load->model('subscribers'); $data = $CI->subscribers->femaleSubscribers($state); .…
  • Perhaps a preview button could sit right next to the view source button and when clicked will post the contents of the form to the preview similar to what markItUp does... perhaps even leveraging the same function. I may take a look at something lik…
  • I think the first part of your routes statement is causing the problem. What if you remove the first part of your routes just to see if it works: foreach($invoice_controllers as $c) { $route[FUEL_ROUTE.'invoice/'.$c] = FUEL_FOLDER.'/module'; $rout…
  • I'm sorry but I don't know of one at the moment. I believe we have an easier solution in place in the next version which I realize does you no good at the moment and I'm sorry about that. The solution will be that you can pass initialization paramet…
  • It sounds like you will want to include some javascript in your page which you can do using the 'js' parameter if you are using a simple module: http://www.getfuelcms.com/user_guide/modules/simple You can then use jQuery to target elements you wan…
  • When I've run into login issues in the past, they've seemed to be fixed by deleting the cookie and was usually a result of me having multiple FUEL sites with the same name. Also, using the database helps as well for the saving state. Is it possible …
  • You may want to try creating a field type of "multi" and then provide it the options of the images in your side-block simple module in you MY_fuel_layouts file like so: ... $options = array(); if (defined('FUEL_ADMIN')){ $CI =& get_instanc…
  • Have you added "invoice" to the "modules_allowed" config array in MY_fuel.php (easy step to forget)?
  • Could you add the side-block module logic to your layout file or include it in a block that is used in your layout file?
  • I'm sorry but I'm not familiar with IIS NT login popups and may not be of much help. Are they like Apache login popups? Since everything is routed through the index.php bootstrap, I don't know if a setting an NT file in a folder will work like you s…
  • Try deleting an cookies related to the server your FUEL installation is on.
  • Are you able to navigate to the non routed URL? invoice/orders/print_order/4 Instead of: fuel/invoice/orders/print_order/4
  • I'm sorry but I'm not quite sure I understand the last part "When you select a file like the above from the assets and not locally the thumbnails do not get created as the file is outside of upload_data." Can you explain that a little more? Thanks.
    in SELECT ASSETS Comment by admin May 2012
  • Try changing the name of the field to "product_first_image_upload" but keep the field name in the database to be 'roduct_first_image'. $fields['product_first_image_upload'] = array( 'label' => ' Product Photo 1 '.$img1, 'type' => 'file', 'ord…
    in SELECT ASSETS Comment by admin May 2012
  • Is the URI path invoice/orders/print_order/4 what you are wanting? What if you use this: 'table_actions' => array('EDIT', 'PRINT' => fuel_url('invoice/orders/print_order/{id}'))
  • Does this help fix your issue? http://codeigniter.com/wiki/Godaddy_Installaton_Tips/
  • That error can be thrown in a few places. FUEL has that error message on fuel/modules/fuel/controllers/module.php lines 1447 and 1469. It's also on lines 208 and 231 of the Codeigniter Upload class. Try putting in some debugging code to see where it…
  • You can set a "label" parameter in your field: .... $fields['my_field']['label'] = 'User name'; ...
  • OK, but is it in the returned data set being rendered by the Data_table class. The reason I ask is because it's required to fill in that {file} value. The rendering of that action is done in the Data_tables "_render_actions" method around line 718.
  • Try the following in your MY_fuel_layouts layout: ... 'file' => array(), 'file_upload' => array('type' => 'file') ... For the second question, you can use the class "asset_select" in your form field like so: $fields['my_image']['class']…
  • Do you have the table/fields set as UTF-8?
  • Is the field "file" one of the columns of data being used?
  • If this is for the pages module, then that is correct. There are actually to form_builder instances rendering there. One for the page information and the other for the page variable information. That warning appears because you still have the "docu…
  • I'm not quite sure. A couple other files you may want to try replacing: fuel/application/core/MY_Model.php fuel/modules/fuel/controllers/module.php