Js,css and Meta not loading in template
Hi.. Please update your lib for CI3. Curruntly I am using with CI3 and its working fine. But only one problem found. Its show me js ,css,meta to blank nothing loading in my main template please.help me.
if you're using MX HMVC extension, yes you probably get that Issue. I have that issue too but if plain simplicity for CI3 im not getting any problem.
CI3 + Simplicity + wiredesignz HMVC = not loading the variables generated by MY_Output CI3 + Simplicity = will load the variables generated by MY_Output
to check try $this->load->js('anyjsfile.js'); then var_dump($js); to your view file
if your controller extending MX_Controller the result will be an empty array and if your controller extending CI_Controller the result will be an array with your loaded js file
yes i am facing same problem anything solution this problem
Anybody have a solution for the problem with the MX_Controller empty array?
Same issue as https://github.com/scoumbourdis/codeigniter-simplicity/issues/2 (closed) I'm already working on this issue...
a little hack by adding all methods from MY_Loader to MY_Output worked in my case, but you must use $this->output instead of $this->load.. eg: change your code from $this->load->js() to $this->output->js(), $this->load->section() to $this->output->section() etc.. replace your MY_Loader.php and MY_Output.php with this ~> core.zip