Advertisement:

Author Topic: [BUG] 3.1.1 combined.php didn't work properly for some of jquery .js  (Read 869 times)

elite1290

  • Jr. Member
  • **
  • Posts: 59
in 3.1.0 it works fine but upon I fresh install, new dbase, and copy my previous theme from 3.1.0 to 3.1.1
in my head.php the previous combined.php didn't work for some of the jquery .js in 3.1.1, the same head.php
with the same combined.php command in head.php when ported over to 3.1.1 some jquery .js didn't work and
I've to use the un-combined method in 3.1.1 and it works.

appreciate the developer can look into making combined.php in head.php works for 3.1.1, at this moment
anyone has the same issue, any code, file to modify to make the head.php combined works in 3.1.1?

---------------------
below combined method in head.php some js doesn't work in osclass 3.1.1,  below just an example, there is still other jquery not included, etc
---------------------
<script type="text/javascript" src="<?php echo osc_current_web_theme_url('combine.php?type=js&files=js/jquery.js,js/jquery-ui.js,js/jquery.uniform.js,js/global.js') ; ?>"></script>

---------------------
below fallback to uncombined method in head.php, it works in osclass 3.1.1
---------------------   
<?php
osc_register_script('jquery', osc_current_web_theme_js_url('jquery.js'));
osc_register_script('jquery-ui', osc_current_web_theme_js_url('jquery-ui.js'));
osc_register_script('jquery-uniform', osc_current_web_theme_js_url('jquery.uniform.js'));
etc, etc

osc_enqueue_script('jquery');
osc_enqueue_script('jquery-ui');
osc_enqueue_script('jquery-uniform');
etc, etc
?>

« Last Edit: March 23, 2013, 11:44:49 am by elite1290 »