Crash when include Loader::element('header_required');
Permalink
hello guys , i'm building a new theme with concrete 5.4.1.1
in my php file , everything works fine
but when i add that line , an error occurs and the page can't load properly
Loader::element('header_required');
btw : i'm not loading any other javascript files
in my php file , everything works fine
but when i add that line , an error occurs and the page can't load properly
Loader::element('header_required');
btw : i'm not loading any other javascript files
look , my theme is calling a port_cats.php file through javascript
that file is responsible for displaying images in my home page
below the port_cats.php file
when i added the part that starts with : "<?php Loader::element('header_required'); ?>"
that part isn't loaded properly in my site
btw : below also the javascript file that calls port_cats.php , and it's called custom.js
that file is responsible for displaying images in my home page
below the port_cats.php file
when i added the part that starts with : "<?php Loader::element('header_required'); ?>"
that part isn't loaded properly in my site
btw : below also the javascript file that calls port_cats.php , and it's called custom.js
Here are the files :http://www.megaupload.com/?d=D3QMRL27...
Look??
I was only trying to help?
You said "i'm not loading any other javascript files"
When you call
You call concrete javascript files!
OK?
I was only trying to help?
You said "i'm not loading any other javascript files"
When you call
<?php Loader::element('header_required'); ?>
You call concrete javascript files!
OK?
yeah i know , i mean that i'm not calling any other javascript files that may conflict with concretes' ones
Try moving the Loader::element line above the javascript that pulls in that other file.
And in general on the forums, remember that not everyone uses phrases in the same way and they don't necessarily mean things to sound the way they do when you read them -- especially if English is not their native language :)
And in general on the forums, remember that not everyone uses phrases in the same way and they don't necessarily mean things to sound the way they do when you read them -- especially if English is not their native language :)
Have you built your theme in php?
What else do you in the way php in the head of your page?
A little more info might help.