Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
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
Migrateduser
Since posting that, I have found a work around. I am currently ising the Java UI. When I try to generate a file other than .html through the Java UI it adds the extra .html before the specified extension. But when I go back to the Browse UI it generates it OK. A possible bug in the Java UI...?