We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 40726
    • 22 Posts
    Hi all, new to Modx and having a few little issues with getting Pie behaviours to work in IE. Our demo site is: http://www.rock2win/comping-news.html

    This is the code we've got so far:


    .first {
    border:1px solid #FFF;
    border-right:none !important;
    border:1px solid #FFF;
    border-radius:5px;
    behaviour:url(http://www.rock2win.co.uk/assets/css/pie/PIE.htc);
    margin-right:-5px;
    padding: 0 35px 0 35px;
    position:relative;
    z-index:97;
    }

    .last {
    border:1px solid #FFF;
    border:1px solid #FFF;
    border-bottom-right-radius:5px;
    border-top-right-radius:5px;
    behaviour:url(http://www.rock2win.co.uk/assets/css/pie/PIE.htc);
    margin-left:-15px;
    padding: 0 35px 0 35px;
    position:relative;
    z-index:99;
    }

    Can anyone recommend a solution?

    cheers smiley
      • 22840
      • 1,572 Posts
      http://www.rock2win.co.uk/assets/css/pie/PIE.htc is a 404 not found and just loads your home page so you need to change all instances to http://www.rock2win.co.uk/assets/pie/PIE.htc which does work
        • 40726
        • 22 Posts
        Sorry I was messing around with the file path to see if it made a difference; I've sinced changed it back but still no luck...
          • 3109 ☆ A M B ☆
          • 894 Posts
          Pie works relative to the document not the css so you need to place it in the root of your site in order for it to work in the same directory as your index.php file and make sure to update your css paths to:

          .property{
                       url(pie.htc);
          }
          
          


          That should get it working.

          Good luck.
            Benjamin Marte
            Interactive Media Developer
            Follow Me on Twitter | Visit my site | Learn MODX
            • 40726
            • 22 Posts
            Thanks benmarte

            I've now got the following


            .first {
            border:1px solid #FFF;
            border-bottom-left-radius:5px;
            border-top-left-radius:5px;
            border-right:none;
            border-radius:5px;
            behaviour:url(pie.htc);
            margin-right:-5px;
            padding:0 35px 0 35px;
            position:relative;
            z-index:97;
            }

            and moved it to the root (see attached)

            Still not working, I must be doing something wrong, any suggestions?
              • 10208 ☆ A M B ☆
              • 1,780 Posts
              I haven't been able to get pie.htc to work in MODX. I've placed the pie.htc file in every directory it could possibly route through with no joy.

              However, pie.php has shown itself to work. Occasionally... It's weird because sometimes it just stops working, I haven't figured out why or when just yet. But it does work better than pie.htc.

                Frogabog- MODX Websites in Portland Oregon
                "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
                Having server issues? These guys have MODX Hosting perfected - SkyToaster