We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7558
    • 14 Posts
    Hi, I have a problem.
    I changed paths to design’s files and added tag "Base href" into "head" part of template, but design still doesn’t show pictures and styles. What i should do tell me please!
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Which version of MODx? Can you post a link? Or at least the <head>...</head> part of the template.
        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
        • 7558
        • 14 Posts
        Thank you. Modx 1.03, design template there: ,

        Head part:
        <head profile="http://gmpg.org/xfn/11">
        <base href="[(site_url)]" /> 
        <title>PlusBusiness</title>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
        <meta http-equiv="imagetoolbar" content="no" />
        <link rel="stylesheet" href="/assets/templates/site/styles/layout.css" type="text/css" />
        <script type="text/javascript" src="/assets/templates/site/scripts/jquery-1.4.1.min.js"></script>
        <script type="text/javascript" src="/assets/templates/site/scripts/jquery.jcarousel.pack.js"></script>
        <script type="text/javascript" src="/assets/templates/site/scripts/jquery.jcarousel.setup.js"></script>
        </head>
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          First, you should validate the page. http://validator.w3.org/check?uri=http%3A%2F%2Fwww.sharemania.ru%2F0224701&charset=%28detect+automatically%29&doctype=Inline&group=0

          Some of the errors you can ignore (like the target="_blank" error), but the actual structural errors should all be corrected.

          You might want to use a different doctype, such as HTML 5, if you want to have your own elements and attributes.
            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
            • 7558
            • 14 Posts
            But... My site is on localhost. How can I validate it? That validator needs www adress.
            Thanks
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              Then what was the link you gave me?

              Save your page in your browser as a complete web page, then you can upload it to the validator (use their "Validate by File Upload" tab).
                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
                • 7558
                • 14 Posts
                Aaah... grin ok,ok