EXTjs with fuelcms

edited November 2011 in Modules
How do I load extjs scripts in the head of the html?
Is it even possible to use extjs within fuelcms?

Please let me know.

Comments

  • edited 6:09PM
    Are you wanting to load extjs into the Admin or the front end? If the Admin, there is a "fuel_javascript" config parameter you can use to append additional javascript files in the MY_fuel.php.
    $config['fuel_javascript'][] = array('my_js.js');
    If it is the front end you can modify the application/views/_blocks/header.php file
  • edited November 2011
    No luck what so ever - keep getting EXT not defined.


    Has any one done this before?
    It would be really great if some one could share their experience as to how this can be accomplished. This is seriously holding us back.
    Help Help Help!!!!!
  • edited 6:09PM
    If you view source, is the EXT js files with the proper paths being included?
  • edited 6:09PM
    Yes -- still -- keep getting EXT not defined. When EXT is run as a standalone app -- it works :)
  • edited 6:09PM
    Where did you place the ext folder?
  • edited 6:09PM
    Never mind --
    I have worked through this. I added it under fuel/assets/js
    I tried adding under thirdparty.
    That was the issue. Kind of hack -- but okay for now,

    sid
  • edited November 2011
    The main .htaccess prevents access to those folders which is probably the issue.
  • edited 6:09PM
    Ok --- We got the extjs working and functional.
    The only caveat -- the js had to be included in fuel module and add the script to MY_fuel.php.
    The css files and theme/images can still be part of the advanced module.
    Note: CSS file should be .css
    Hope this helps some one.
Sign In or Register to comment.