我使用Foundation Interchange将内容动态加载到我的页面。它对html文件非常有用。 但是:如何使用它来加载其他文件格式,具体是.tpl在我的情况。基金会 - 互换交易 - 非html
这工作得很好:
<div data-interchange="[{link file='frontend/index/sliderSMALL.html'}, (small)], [{link file='frontend/index/sliderBIG.html'}, (medium)]">
</div>
这不起作用(TPL而不是HTML):
<div data-interchange="[{link file='frontend/index/sliderSMALL.tpl'}, (small)], [{link file='frontend/index/sliderBIG.tpl'}, (medium)]">
</div>
就什么都不会发生。 tpl文件没有被加载。 任何人的想法?