Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
TeamSite
TeamSite, LiveSite and OpenDeploy
templating.cfg problem
System
I am using templating to generate both html files as well as js files. The js files are for flyouts and we have created a template to create these easier. Anyway, we had been working fine with it, it was saving it as a .js file but for some reason something changed and now it does not save it as just a .js file, it saves it as .html.js. So I created a completely new data-type and did the same thing, making the ext=.js but it still adds the .html.js. Any ideas? Below is the XML in the templating.cfg file that was working but now doesn't.
<data-type name="flyouts" dcr-type="iwov">
<presentation>
<template name="flyouts.tpl" extension="js">
<locations>
<branch vpath-regex=".*" preview-dir="/">
<directory dir-regex=".*" />
</branch>
</locations>
</template>
</presentation>
</data-type>
Find more posts tagged with
Comments
There are no comments yet