How do I set session variables using the page load? I have tried loading the session library and setting them the normal way but when I do page load it does not recognise the session variable I have tried to set.
Thanks... I wanted to create the tests to check the logic in the controller methods. I was going to use selenium to test the output but I suppose I could do both and use PQ to run through tests and selenium to do the end to end stuff.
Hi, Yes I can run other things from the command line with no problem. It is running on a Linux server. I can run the tests for the Modules so can do a tester/run fuel Fuel_cache_test.php and that works fine, which is why I was surprised it did not …
Ahhhh as usual spend a couple of hours on something and then post on the forum only to find the answer as soon as I have.
The problem was that I was not including two divs with id's of
Scrolling solved.....
I had created a _layout file called 'finance' in the correct folder and added it to MY_fuel_layouts so I was surprised to see any problems with Dwoo.. Anyway I have it sussed I was loading models in a navigation and search block and was using the $…
Excellent... Thanks for all the help and the Patience... Have created my own JS-Controller and have put in a -initEditors on a function which I call on a controller method... Works a treat.
However, I tried to copy the Vaidate.js file which kept sp…
HI,
Yes I have my own controller for the advanced module I have created and have placed
$this->js_controller_params['method'] = 'add_edit';
In the controller methods that I want to use the ckeditor in. But I still do not see the ckeditor. Do I…
HI,
The config is set to ckeditor and is used in other parts of the CMS with no problems. It is only in my own advanced module that I just see a textbox. Is there something I need to do in the Javascript/form builder to get it to use ckeditor othe…
Hi,
I am using 0.93 at the moment.
The path is fuel/modules/offers/controllers
The whole controller is
<?php
require_once(FUEL_PATH.'/libraries/Fuel_base_controller.php');
class Offers extends Fuel_base_controller {
public $view_location = 'o…
Even more digging....... Very odd...
I have added an echo to the fuel_base_controller constructor and found that the constructor is firing a second time when I call
$this->load->module_model('offers','offers');
The second time it is loading i…
Well after some more playing I found that the issue was that the Fuel_base_controller was loading the fuel_auth library in its constructor and was then referring to it as $this->fuel_auth but could not find it. If I changed line 31 to
$this->…