We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
  • Looks like a search/replace typo to me. I get that sort of thing all the time when I start to edit several rows of links like that, realize it's all going to be the same, then do a search/replace that ends up duplicating part of the path on the ones I already manually edited.
      Studying MODX in the desert - http://sottwell.com
      Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
      Join the Slack Community - http://modx.org
      • 33974
      • 156 Posts
      Quote from: openstep at Dec 10, 2012, 01:47 PM
      May I ask why are the assets twice in here after [[++site_url]]?
      Is it just an error?

      This is a bug indeed which I fixed now. Thanks for reporting!
        • 41958
        • 65 Posts
        Hello again,

        I found this in your instruction:
        Create the following new chunks in MODX Manager:
        - "site_header"
        - "site_footer"
        but in site_template it reads:
        [[$bpSiteHeader]]
        [[*content]]
        [[$bpSiteFooter]]
        So the chunks names should be bpSiteHeader and bpSiteFooter?

        Also
        <link rel="stylesheet" href="[[++site_url]]assets/templates/main/css/normalize.css">
        <link rel="stylesheet" href="[[++site_url]]assets/templates/main/css/main.css">

        Does this mean I first need to install html5 biolerplate from the manager?
        I have been trying to compare my rendered page to the one found here: http://mourner.github.com/dead-simple-grid/ to see the included css's in both. Hm, confused.
          • 33974
          • 156 Posts
          Quote from: openstep at Dec 12, 2012, 01:30 PM

          Create the following new chunks in MODX Manager:
          - "site_header"
          - "site_footer"
          but in site_template it reads:
          [[$bpSiteHeader]]
          [[*content]]
          [[$bpSiteFooter]]
          So the chunks names should be bpSiteHeader and bpSiteFooter?
          I am sorry this is mixed up due to the latest change removing the packages.
          You can name it as you want but the template should contain the names of the chunks. Will fix it on github soon.

          Quote from: openstep at Dec 12, 2012, 01:30 PM

          Also
          <link rel="stylesheet" href="[[++site_url]]assets/templates/main/css/normalize.css">
          <link rel="stylesheet" href="[[++site_url]]assets/templates/main/css/main.css">

          Does this mean I first need to install html5 biolerplate from the manager?
          I have been trying to compare my rendered page to the one found here: http://mourner.github.com/dead-simple-grid/ to see the included css's in both. Hm, confused.
          I am not sure if I understand this right. You have to upload the css files in the proper path (as shown in the code right before).
            • 41958
            • 65 Posts
            Well, after setting up my site according to the instructions,the rendered html have these:
            normalize.css, main.css, embeded styles and something like af107e986.......css that has a CleanSlateCSS something with #habla_window_div.... but I did not see these in http://mourner.github.com/dead-simple-grid/. This one has grid, screen and embeded styles.
            Maybe it is just my fault but I just can't get my site to look like http://mourner.github.com/dead-simple-grid/ that I just copied to test it. Centering the container div for ex. is problem for me... And it is also does not seems to have a max width like the original one.
              • 33974
              • 156 Posts
              Are you able to provide me a link to your test-site?