With a DCR, it's possible to select a ceiling directory to force users to pick files under a specific directory. We're using this because our workarea has a top level directory of htdocs, and we want to direct users under there.This is fine and good. The problem though is that we also use VisualFormat, and users can author simple html, including img tags, built from the simple gui VisualFormat provides. Unfortunately, I don't know how (if possible) to restrict the "Select New File" option to do an equivalent, and only allow users to select files from under htdocs.Any help appreciated.Thanks, Rob
You may want to take a look [thread=17766]here[/thread], it's a hack though
ug, a hack indeed. Many thanks for the reply, but not want I was wanting to hear!More generally then. How do people organise their static generated content? At the top level I was thinking we'd have just three directories, /templatedata /some_plain_text_email_stuff /htdocs.The files & directories under htdocs are free format, so I didn't want these at the top level because it would mix with the other directories and make the deployment out ugly (hardcoded filters). Plus sorting permissions on these directories becomes more difficult.so if content is under htdocs, and I configure htdocs to be the workarea's docroot, it all becomes neat and tidy. However, if I can't control the VFE toplevel directory, I end up having to rewrite html on generate and preview? (to remove the explicit htdocs references) That's ugly too.Am I missing something obvious here? I can't be the first person to do this.Cheers, Rob