We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 42562
    • 1,145 Posts
    Hi there,

    First, make sure all the private info you pasted here are both now invalid and not used anywhere else on the internet.
    I mean the database name, password etc found in your config.inc.

    2. Articles works, most probably because it does not have the base href in a ([[$HTML_head]]) chunk, but directly in the template???
    3. When using the placeholder [[++assets_url]], it already ends with a forward slash. No need for [[++assets_url]]/css/
    4. Everything else looks good to my fading eyes.
      TinymceWrapper: Complete back/frontend content solution.
      Harden your MODX site by passwording your three main folders: core, manager, connectors and renaming your assets (thank me later!)
      5 ways to sniff / hack your own sites; even with renamed/hidden folders, burst them all up, to see how secure you are not.
      • 50901
      • 1 Posts
      Quote from: donshakespeare at Aug 13, 2015, 01:16 AM
      Hi there,

      First, make sure all the private info you pasted here are both now invalid and not used anywhere else on the internet.
      I mean the database name, password etc found in your config.inc.

      2. Articles works, most probably because it does not have the base href in a ([[$HTML_head]]) chunk, but directly in the template???
      3. When using the placeholder [[++assets_url]], it already ends with a forward slash. No need for [[++assets_url]]/css/
      4. Everything else looks good to my fading eyes.

      1. Wow - rook move on my part - thank you.
      2. I should have mentioned that I tried it without using a chunk for the <head> section. Same problem. Also tried making the rest of the head consistent with the articles template head section (except for the CSS source):
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
      <head>
      <title>Articles - [[*pagetitle]]</title>
      <meta charset="utf-8">
      <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
      <link rel="stylesheet" type="text/css" href="[[++articles.assets_url:default=`[[++base_url]]assets/components/articles/`]]themes/default/style.css" />
      <base href="[[++site_url]]" />
      </head>

      3 - Ah, good to know. Thank you smiley