We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15716
    • 57 Posts
    Can someone explain why the code below is automatically added to my header???

    <link rel="stylesheet" media="all" type="text/css" href="assets/templates/seyet/css/seyetStyle.css" />
    <!--[if lte IE 6]>
    <link rel="stylesheet" media="all" type="text/css" href="assets/templates/seyet/css/seyetStyle.css" />
    <![endif]-->

    It just appends this to the end of my header code...and I DO NOT want this to happen. How can I stop or change this?

    Thanks,
    Kevin
      • 22303 MODX Staff
      • 10,725 Posts
      Automatically huh That certainly would not be automatically injected by MODx. I’d check my add-ons and template vars and templates and see where it was coming from; it has to be in the content you’ve authored or an add-on you are using somewhere...
        • 15716
        • 57 Posts
        OK, I found what is happening, now I have a NEW problem...

        apparently that line of code was in my siteCache.idx.php file. So I deleted it (the line), and now I keep getting:
        Cannot open file (../assets/cache//siteCache.idx.php)

        I get that everytime I try to save anything. HELP!

        Now what do I do?