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)
Generate returns can't create in the directory...
Bowker
We have a new 5.5.2 on w2k running and we are having trouble with creation of templates.
When we use the GUI to generate new files the following error (in an alert box) appears:
TeamSite Temlating: Template Preview And Generate
Error: The presentation template pres1.tpl does not allow for the creation of a file in the directory \default\main\NT\WORKAREA\development\www
The iwgen CLT works fine, as does regenerate, just not generate (or preview).
The template.cfg file reads (in part):
<category name="cobble">
<locations>
<branch vpath-regex="NT" />
</locations>
<data-type name="standard" dcr-type="xml">
<presentation>
<template name="pres1.tpl" extension="html">
<locations>
<branch vpath-regex=".*" preview-dir="/">
<directory dir-regex=".*" />
</branch>
</locations>
</template>
</presentation>
</data-type>
</category>
any clues?
Find more posts tagged with
Comments
james1
It sure looks to me like it should work.
I would replace "NT" with ".*" in the category branch vpath-regex, just for kicks. That seems to be the only deviation from your snippet and the out-of-the-box example templating.cfg.
Also, have you tried to generate files in the root of your workarea, instead of under the "www" directory? Just curious.
-- James
--
James H Koh
Interwoven Engineering
Bowker
We originally had .* instead of NT, no difference.
We did try in the root, no difference.