Avatar

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

driechel

About

Username
driechel
Joined
Visits
46
Last Active
Roles
Member

Comments

  • If I log in the fuel page is not loaded. I believe it was only the sidebar that was shown. I did not get an php error though. Just something with rendering the page went wrong. I just tried it again with the comma and everything is fine.... Just ign…
  • When I took it out the admin view was rendered ok... Strange. But than it's ok.
  • Line 25 in MY_fuel.php contains an , that produces an error in the admin: $config['modules_allowed'] = array( 'user_guide', );
  • Back again. Thanks so much for the fuel update!! I have been reading the new user guide and it looks very good!! I have also been looking at the new fuel_edit but I do not see what you mentioned. There is one sentence: "Alternatively, you can now a…
  • Ok thanks. Second time in a week that a function I am looking for will come in the next release. It sounds promising. Do you have any idea when the release is planned?
  • Thanks again for your quick response! I think we have a miscommunication. Let me try to explain. When you are logged in fuel you can click page and create a page. Then when you click create, you get the field that you can fill in (location, layout e…
  • Okay here I am again. I found a solution for my problem. I don't think it is a pretty solution but it works. I use session control to store the $body_var variable in the view so that the model can use this session variable. This is the same solutio…
  • Thanks. I changed my approach a little. This is what I am doing know. I have my simple module and I added an extra column to the table. This extra column contains the page name of the page (the body_var) when you create a page in the admin. I added…
  • Well I do not know how. How can I add an extra picture inline to a page that is created in the page module? Because these pages have a fixed amount of input fields as defined in MY_fuel_layouts.php they are 'static' in a way that it is never possib…
  • Lets say that a page that a customer adds has a left 'side-block'. In this side-block I want the customer to be able to add multiple pictures with some text and a link (different per page). If I would create this page myself I would use a simple mod…
  • Thanks for the answer. I still have some questions though. If I use $file in my layout than it the picture shows up even if the page was saved with an empty upload field, because the picture name remains in the file field. However the problem with i…
  • Does this mean that a connection is made twice to the database?
  • Okay thanks. I am a little confused though. The __construct function is always executed first. To say it as a amateur: how do I tell the __constuct() function to use the $table variable from the initialize function?
  • Okay thanks. Will check it again with the module_library.
  • Yes it is referenced. I used both $this and $CI=& get_instance(). Both did not work. I solved my problem by not extending the CI_Controller but by just making a class: class Createthumb { public function __construct( $params = array() ) …
  • By the way. Like in the Fuel_base_controller, this works: $this->load->library('form');
  • I was using the $this object. The $CI object (after assigning it to get_intance) gives the same error. Here is my code in the view: <?php $CI =& get_instance(); $CI->load->library('createthumbs') ?> or <?php $th…
  • Okay. Giving a href an id of 'submit' makes it a submit button. Learned something again. Sorry again for this slightly off topic discussion.
  • Okay I start to feel a little stupid now. The submit button has an id of submit but where do I find the: $("#submit").click(function(e) ............etc
  • Thanks for your reply. You are right that it is a normal POST. I shoud have seen that. About the Jquery file I thought it was something else but that is probably because it is minified? I understand how the value in the hidden field is used to eith…
  • For adding extra html you could use "after_html method" of the formbuilder class because fuel uses this to create the forms for the modules. http://www.getfuelcms.com/user_guide/libraries/form_builder
  • Thanks a lot for again you quick and to the point answer. Even though I had read this many I only realised the real meaning after your post (all the information is quite overwhelming for me). I have another question concerning the creating simple …
  • A little update. I created a layout file that inserts a header footer and the $body. So I removed all the tags etc from my view file. If I add the view file as a page in the dashboard the php foreach loop doesn't show the results if I click the '…
  • Okay so I created a new file and tried it again a couple of times and now it functions. Must have been something wrong with the naming of my file orso.. Thanks for the answers. And thanks for FUEL cms, because the more I dive into it the more I sta…
  • The autoload does contain fuel/fuel. It is weird because the contact page of widgi corp does function. And this also extends CI_controller in the same way. Very strange.