We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8962
    • 7 Posts
    Hi there,
    I’ve been using modx 0.97 till now, I am trying the new Modx revolution and wondering if I can use
    templates that was originaly made for 0.97 ver.
    Also, I would like to create new templates for the new modx 2 ver, can i use the same variables that was used in modx 0.97?
    thanks
    eran
      • 4041
      • 788 Posts
      There are tag syntax changes which are listed here:

      http://svn.modxcms.com/docs/display/revolution/Tag+Syntax

      more about Revolution here:

      http://svn.modxcms.com/docs/
        xforum
        http://frsbuilders.net (under construction) forum for evolution
        • 8962
        • 7 Posts
        Thank’s for the fasy reply,
        so, should I use
        {{ chunk }}
        or
        [[$chunk]]
        ?
          • 4041
          • 788 Posts
          The left column represents the Evolution (096) calls, and the right column are the new Revolution calls, so if you are using Revolution Alpha use [[$chunk]] smiley

          On a side note, I found that the following snippet works quite well to include files into Revolution:

          <?php
          /*  IncludeFile.snippet.php
            [[IncludeFile? &file=`file/path/to/the/file/yourfile.php`]]
          
          */
          if(isset($file)){
            if (file_exists($file)) {
              include $file;
            }
          }
          ?>
            xforum
            http://frsbuilders.net (under construction) forum for evolution