Hoping it might help, here's an example:
look inside your advanced module's config/modulename_fuel_modules.php file where you declare your modules' properties in the $config array for each module and add
'js' => array('module_name' => 'file.…
Anyway, I'm still struggling as to how I'm supposed to load a javascript file from within the resulting view of form_fields - all i want is to add some custom ajax stuff to an add/edit form from within my advanced module...
[SOLVED] answer here: htt…
well, those seem legit javascript errors that might prevent the rest of the scripts to function normally... especially cause they seem to be related with ckeditor/markitup
have you looked inside the 'Response' (not header) tab in firebug on the aj…
Have you checked the javascript console in your browser for ajax errors?
If you're on Chrome use the View->Developer->Javascript Console - if you're on Firefox and you still don't have it, it's time to get the Developer's toolbar.
What you w…
So i went out and looked inside /modules/fuel/controllers/module.php and i see that lines 137 to 140 are commented out.
$seg_params = $params;
unset($seg_params['offset']);
$seg_params = uri_safe_batch_encode($seg_params, '|', TRUE);
I've un…
Maybe this is relevant...
Why is it that a css file within an advanced module's assets folder will be autoloaded, but the same thing won't happen with js files? I.e.:
/modules/my_module/assets/css/my_module.css is loaded and available within the ba…
Solution
So,
In the end I moved the $this->config->load calls to the controllers that need to load the model. But I found out that if you want to load the configuration file of a model outside of the current module, you have to add the 4th pa…
So basically, it looks like I can't load a config file from the module's model: i have to load it from the controller, then i see no errors...
But why? It would make total sense that the model loads the config file autonomously ... or am i doing som…
I found where the problem is,
Inside my twitter model i'm loading the config
$this->config->load('twitter');
but apparently this is not needed at all... but why?
How do i load the twitter.php config file inside modules/twitter/config then?
can someone clarify on why one should use the fuel_block to load 'blocks' instead of the typical $this->load->view('_blocks/ ... ' ) CI method?
It's a little confusing because the 'main' layout that comes with the default installation uses t…
damn, i'm sure i followed all of the above but when i hit save on a page the page_variables table is always empty... what am I doing wrong??
EDIT: i think i got it. If you set the lang_id field as an int, make sure the languages array in your confi…
I know, i hoped someone had made further progress since the last answer is from march.Ok, so it would really help if someone could try and explain better Webcam's approach, i'm quite new to this and i'm not sure i understand how he did it... especia…