We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4172
    • 5,888 Posts
    great! Then this should work too:

    <link href="assets/css/style.css?[[!getFilemtime? &filename=`assets/css/style.css`]]" rel="stylesheet" type="text/css">


    the snippet getFilemtime could look like that:

    $filename = $modx->getOption('filename',$scriptProperties,'');
    return filemtime($modx->getOption('base_path' . $filename));
      -------------------------------

      you can buy me a beer, if you like MIGX

      http://webcmsolutions.de/migx.html

      Thanks!
      • 53187
      • 1 Posts
      Thank you Su for asking this. I was having the darndest time figuring out why things were not working on MODx that did work on Dreamweaver, and it was just taking time to update.
        • 50485
        • 56 Posts
        Hi Paul

        But I must stress it only started happening a few days ago, before than the css updated instantly. I can only think that something is different in the latest version of MODX or my hosting company altered something.