We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 6180
    • 31 Posts
    How does one actually use the regClientStartupScript and regClientCSS commands? I have the following statements in a snippet, and when calling the snippet nothing happens save the "Hello World!" Neither entry actually gets registered to the head.

    What am I doing wrong?

    $modx->regClientCSS('assets/components/fullcalendar/fullcalendar.css');
    $modx->regClientStartupScript('assets/components/fullcalendar/fullcalendar.min.js');
    return 'Hello, World!';
    
      • 6180
      • 31 Posts