We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 50312
    • 34 Posts
    I would like to use the @FILE: binding, but can't get it to work. The docs only state, that it is possible to use it - but there is no example.

    What I have tried (without success):

    &tpl=`@FILE:filename.html`

    &tpl=`@FILE:[[++assets_path]]templates/migx/filename.html`

    &tplPath=`[[++assets_path]]templates/migx/`
    &tpl=`@FILE:filename.html`


    So.. how is the correct call? [ed. note: aaantz last edited this post 8 years, 1 month ago.]
      • 50312
      • 34 Posts
      anyone?
        • 4172
        • 5,888 Posts
        try:

        &tpl=`@FILE:assets/templates/migx/filename.html`

          -------------------------------

          you can buy me a beer, if you like MIGX

          http://webcmsolutions.de/migx.html

          Thanks!
          • 50312
          • 34 Posts
          That works, thank you!
          Is it possible to set the tpl file path? Something like:
          &tplPath=`[[++assets_path]]my/own/path/`
          &tpl=`filename.html`


          That would be great!