Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Js,css and Meta not loading in template #10

Open
vimalmistry opened this issue Mar 13, 2015 · 5 comments
Open

Js,css and Meta not loading in template #10

vimalmistry opened this issue Mar 13, 2015 · 5 comments

Comments

@vimalmistry
Copy link

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.

@c0mp1l3r911
Copy link

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

@rahuldmk
Copy link

yes i am facing same problem anything solution this problem

@TheSpawn
Copy link

Anybody have a solution for the problem with the MX_Controller empty array?

@scombat
Copy link

scombat commented Feb 7, 2016

Same issue as #2 (closed)
I'm already working on this issue...

@poeraw
Copy link

poeraw commented Apr 18, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants