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

    I am trying to build a template from scratch, i have an issue with the site_name variable, when i use this in my template :

    <html>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>[[*site_name]]  [[*pagetitle]]</title>
    <meta http-equiv="content-type" content="text/html; charset=[(modx_charset)]" />
    <meta name="keywords" content="" />
    <base href="[[*site_url]]"></base>
    </head>
    <body>[[*content]]
    </body>
    </html>


    [[*pagetitle]] and [[*content]] are correctly parsed but not the [[*site_name]]... Am i doing something wrong ?

    Regards. Niko
      Configuration Apache + Modx + MSSQL 2008
      ===============================
      Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.8
      OS : Windows 2008 R2
      SGBDR : Microsoft SQL Server 2008 (express)
      • 34123
      • 103 Posts
      I ’ve found my mistake... look at here http://svn.modxcms.com/docs/display/revolution/Settings

      Regards
        Configuration Apache + Modx + MSSQL 2008
        ===============================
        Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.8
        OS : Windows 2008 R2
        SGBDR : Microsoft SQL Server 2008 (express)
        • 3749
        • 24,544 Posts
        To save people the trip, it should be:

        [[++site_name]]
        [[++site_url]]
          Did I help you? Buy me a beer
          Get my Book: MODX:The Official Guide
          MODX info for everyone: http://bobsguides.com/modx.html
          My MODX Extras
          Bob's Guides is now hosted at A2 MODX Hosting