We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 39521
    • 15 Posts
    Has anybody ever gotten Handlebars JS working with MODx? I'm attempting to use it and I used the very first example listed on www.handlebarsjs.com:

    <script id="test-template" type="text/x-handlebars-template">
    	<div class="entry">
    		<h1>{{title}}</h1>
    		<div class="body">
    			{{body}}
    		</div>
    	</div>
    </script>


    That's all I added and now MODx is throwing their ever so common "Server Error".

    At the moment I'm working inside of a Smarty template in the 2.2.1 Revo Manager panel.

    The Revo error log isn't showing any errors but the page just throws a server error.

    Any help would be GREATLY appreciated.
      • 39521
      • 15 Posts
      It appears the front-end system allows Handlebars to work, but the backend (manager) does not.
        • 39521
        • 15 Posts
        It appears the front-end system allows Handlebars to work, but the backend (manager) does not.
          • 1343 ☆ A M B ☆
          • 2,213 Posts
          What does your server error log tell you?
            Patrick | Server Wrangler
            About Me: Website | Tweets |  MODX Hosting