Results 1 to 2 of 2

Thread: Use handlebars.js without insert tag messup

  1. #1
    New user
    Join Date
    06-19-09.
    Location
    Denmark
    Posts
    29

    Default Use handlebars.js without insert tag messup

    I just wanted to share this little trick if someone, should be searching for the answer.

    If you want to use handlebars.js for semantic script templating, you'll most likely find Contao's neat insert tag feature blow things up.

    To get around this, create your handlebars templates in the templates directory, like tweets_handlebars.html5 and include them with
    Code:
    {{file::tweets_handlebars.html5}}
    whereever you'll need them (;

    I hope you'll find it pretty useful - a pain in the butt turned into double rainbows :D
    Cheers!

    Jimmy Rittenborg
    Follow me on twitter

  2. #2
    User
    Join Date
    03-28-13.
    Location
    Bietigheim-Bissingen
    Posts
    55

    thank

    you

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •