Forums
This topic is locked
Local master: include global "environment"?
Posted 12 Nov 2004 03:02:44
1
has voted
12 Nov 2004 03:02:44 David C. Menges posted:
I work for a university's IS department. Relatively new to DW, I'm trying to create a ZIP of .dwt, .css, etc. files for the ~250 department webmasters. They can customize parts of our new look, but there are other parts we don't want them to be able to change. The problem is that their local master (created from the ZIP) does not contain the .css, images, and include files that are at the root of our web server, so they don't get a good view of what their pages will look like (until they publish it). I worked up another ZIP that does include all of them, and their pages look complete.
The "before" site definition:
<pre id=code><font face=courier size=2 id=code>
stylesheets/
images/
index.htm
...
</font id=code></pre id=code>
The "after" site definition:
<pre id=code><font face=courier size=2 id=code>
/stylesheets/
/images/
/pulmonary/
images/
index.htm
...
</font id=code></pre id=code>
The "before" site is just their site, a top-level folder on our web server, and only the parts they are allowed to change are included. The "after" site's root is the web server root; the ZIP includes the contents of all the top level (the parts they can't change), plus their web (here, /pulmonary) - but they only publiish (check in) the /pulmonary folder.
The "before" site's definition includes:
<pre id=code><font face=courier size=2 id=code>
HTTP address: www.uchsc.edu/pulmonary
Remote host address: pulmonary
</font id=code></pre id=code>
The "after" site's definition includes:
<pre id=code><font face=courier size=2 id=code>
HTTP address: www.uchsc.edu
Remote host address: /
</font id=code></pre id=code>
I expect many of you have been here. My questions are:
<pre id=code><font face=courier size=2 id=code>
"Which way do you do it?"
"Am I on the right track?"
"Am I missing something?"
</font id=code></pre id=code>
Thanks for any advice you can provide.