I have a very large site (www.newwoodworker.com) that has gotten very big and to make it more manageable to keep up I broke it down into sub sites within the major one. The sub sites are in folders within the main site directory, for instance the Tool Reviews are in a separate site in the reviews folder within the primary site.
Is there a way to deploy a single template to all of the sites? I am looking at using a fluid layout template if that matters in this.
tghe main site is the root folder on the server and all of the sub sites are in separate folders within that directory. the reviews for instance are in the a folder named "reviews" and that folder is within the root folder of the overall site. I think I know what you mean and will try that on a test page shortly.
if tyou look at www.newwoodworker.com and click in the nav bar at left on things like "Basics", "Reference" -"Tool reviews" you will see they come up with the folder they are in within the root directory of the site. I hope I am explaining this right!
I think I have miss spoken. I just went to try the linking and while all of the folders are int he root directory of the site, they are not within the main site folder. the sub sites are in their own folders, within the root directory of the site.
Now, If I would go into my files manager on the site and drag/drop the sub sites into the main site folder, would Ddreamweaver develop a gun and shoot me dead? Or anyething worse happen?
I think I have miss spoken. I just went to try the linking and while all of the folders are int he root directory of the site, they are not within the main site folder. the sub sites are in their own folders, within the root directory of the site.
Now you are confusing me because it sounds like you are saying the same thing in both instances. The root folder *IS* the main folder of the site. A single template will work with any file in any folder that is within the root folder of the site. But just to be sure, show me a path to your local site's root folder, and then a path to one of your local sub site's 'root' folder.
Looking at your site, I can see that this index.html file is located within a folder called "basic" (http://www.newwoodworker.com/basic/index.html), and this index.html file is within a folder called "ref" (http://www.newwoodworker.com/ref/index.html), both of which are within the root of the site. It seems you are over-thinking this simple and fairly common arrangement.
All of the folders are within the root directory on the server, but not within the folder that contains the major portion of the site. If I look at the files window in dreamweaver I cannot see those other site folders apparently because they are not within the maint sites folder. Maybe I have been confusing this by not saying they are all in the root directory.
I would have to be able to navigate to them withint eh files window in Dreamweaver for the links to work right? as I undersztand it, then all of the sub site folders would have to be located within the main site folder, not just in the root directory?
the root directory of the site has individual folders for the main site (folrder name nww), a folder for basic, one for reviews, one for reference, one for Tool Reviews and one for Turning. all of them are within the root directory but they are all separate within the directory. Right now I have templates in each of the folders because I could not find ways to make direct links to pages outside of each individual folder.If I am working in the NWW main sites folder, I can't see the files in basic, reviews ro the others. I have been making long links like http://www.newwoodworker.com/reviews/and whatever page I want to link to in that folder. I don;t know how to draw the links out physically
Please show me the path to your folders. That's all I need to see to answer your question. Don't try to describe it to me. Just tell me how to get from the top level of your hard drive to each of these locations.
COMPLETE THIS FORM:
The path to my main site's root folder is...
The path to my basic site's root folder is...
The path to my reference site's root folder is...
Got it?
From: Murray ACP forums@adobe.com
Sent: Sunday, July 01, 2012 8:27 AM
To: newwoodworker
Subject: Re: Deploy template across multiple sites Deploy template across multiple sites
Re: Deploy template across multiple sites
created by Murray ACP <http://forums.adobe.com/people/Murray+ACP> in Dreamweaver - View the full discussion <http://forums.adobe.com/message/4531503#4531503
www.newwoodworker.com - main site folder
basic - www.newwwoodworker.com/basic
reference - www.newwoodworker.com/ref etc. all of the sub sites folders are outside of the main site folder, but all within the root directory on the server.
No - that's not what I asked for. Show me the path from the root of your local hard drive to the various folders mentioned.
DW's templates ONLY function within DW to manage your LOCAL files. To answer your question of whether you can use a single template to manage all of the files in your site, I need to know what the path is to each of these groups of files.
All of the sites files are grouped in a folder named NWWSITES.
Within that folder is the NWW FOLDER which is the main site
a folsder named BASIC which contains that sub site
A folder named REF which holds the reference subsite files
a folder named REVIEWS which holds the tool reviews subsite files
a folder named TURNING that holds the woodturning substie files.
nwwsites is the folder on the hard drive that contains all of the sites, jsut to keep them in one place.
The main site, NWW where the template woujld live is in the NWW folder wsith all of the other sites outside of that NWW folder but withint the NWWsites. The NWWSITES folder has nothing to do with Dreamweaver, jsut a place to group the sites and files.
If copy the basic folder into the NWW folder, I can see those files to make links on the teimplate. Otherwise I can;t see them within dreamweaver.
When you look at the site definition for the NWW site, is NWWSITES the root folder? It doesn't sound like it is. In that case you have shot yourself in the foot because you have taken a simple file architecture and made it much more complex. As it is now, to link from a file in the BASIC folder to a file at the root level of the site you must use an absolute link reference (which will not be maintained by DW in the event that you move, or rename that linked file). In addition to making link management more difficult you have eliminated the possibility of managing all your files with a single template. I don't think this was a very good plan....
I agree that it's not a good idea now. This layout was described to me years ago by someon on the dreamweaver forum back then, probably 7 yeqrs ago or so. What I need to know now is if I move all of the folders into the NWW folder, which is the actual root for the site, I can then use a single template. I know that I have to maek the template and that this is a lot of work but I want to fix the architecture to make future years easier.
That folder is huge so that wold take some time. I can say that there are no lnks to other sites that are not absolute, like http://www.newwoodworker.com/basic/the page wanted. the only links that go right to pages are those withint he NWW core site itself, the pages actually contained in that folder.
I know I am going to blow this thing up in doing this. What I want to do is to put all of the site folders within the root, NWW folder so that on the new template all the links will be direct. If that means taking the site down for a few days, that's fine.
You have some choices here. Are the files in the sub sites also controlled by their own templates?
If not, then perhaps the easiest way to manage this would be to use FINDER/EXPLORER (i.e., NOT DW) to move each sub-site folder into the NWW root. On going back into DW and refreshing your Files panel, you should see all of the files/folders. Document relative links without those folders should still work. Root relative links will not and should be fixed by you. Are you with me to this point?
each of the sub sites does have a template assigned to them because that was how it was explained to me the first time. io w2as trying to prevent the massive updates of one all inclusive site back then because of the tedious ftp. Now I would rather go thorugh the work of bringing them all into the root folder so I can control all with one template. I am making a fluid layout template to get my site better suited for the devices anyway.
If I jsut drag/drop the sub sites into the root NWW folder and then start dreamweaver, will it try to update any of the links on the individual templates? I jsut am trying to see if I need to take the whole thing down to apply the new overall template
that's fine if that is what I have to do. I need to get everything under one template
First, make a complete backup of the site as it sits now (from NWWSITES down, i.e., copy the NWWSITES folder and paste it somewhere safe).
If I jsut drag/drop the sub sites into the root NWW folder and then start dreamweaver, will it try to update any of the links on the individual templates?
DW willl then only recognize the template that sits in the Templates folder at the root of the site. The subsite templates will no longer be used as templates.
Now tell me - how do the subsite templates differ from the main site template? Is it not at all, or a little bit, or lots?
Actually, let DW do this for you. Instead, with all files closed, do a series of Find and Replace steps, one for each subsite. In sequence, search for each subsite template name (e.g., subsite1.dwt), and replace with your main site template name. One by one, this will bring all subsite pages under the control of your main template.
OK, a Find and Replace within Dreamweaver? It's going to be a few days before I have the new template ready to go so I have time to get this all straight in my head and on the computers. Another issue might be that all (or most anyway) of the individual site templates have the same name, just located in the separate site folders.Each of those sub sites is a full on dreamweaver site so they have their own template folder.
OK, so I made a fluid layout template, included an editable content area so I can use it on my site but when I apply the template to a cleared page, it looks nothing like when it was build with div's jumping over each other or dissappearing altogether. the template was made/sized for the computer screen and when I go back and look at that template file, it's just as I left it. the page with the template applied is http://www.newwoodworker.com/test.html
I kow fluid layouts are not going to be as easy as many might suspect butt his is really dissheartening with everything jusrt disregarding where it used to be.
Any thoughts would be appreciated.
The files mentioned are not in the Templates folder. in fact, nothing should be in the Templates folder other than the templates themselves (i.e., *.dwt files). And in fact again, there is no benefit in uploading the Template folder anyhow since the template files have no function on the server - only working while you are actually in DW working on your local site. Find the files that I have listed in your local site and upload them!
Sorry. I didn;t know the template files were someplace else, or supposed to be. the only placve DW has the boilerplate.css is int eh templates folder. the respond.js file also, is in the templates folder where DW must have put them. I will copy the boolil.erplate to the css folder but am unsure aboutt he js file, where that one goes.
the respond.js file also, is in the templates folder where DW must have put them.
DW will not put those files in the Templates folder. If they are in there, you must have inadvertantly done something that placed them there.
I don't know what you are doing wrong, but your links to these files are screwy. THis is the code on the page you have uploaded -
<link href="boilerplate.css" rel="stylesheet" type="text/css">
<link href="nwwtmplt.css" rel="stylesheet" type="text/css">
The links are looking for those files at the same folder level as the page. Yet you are telling me that they are in other folders. When you moved these files did you use DW's Files panel to do so?
When I made the template I saved it as a template and then did the select recently modified files (1 DAY) and all DW found was the files in the Templates folder. I did use the files window in DW to move copies out into the CSS and Scripts folders. Plus I searched for the template html file and the only place DW located it w3as int eh Templates folder again. If saving the template as a template is doing it wrong and causing it to put them in that folder, they need to fix ths thing!
WHen you save it as a template file are you using FILE > Save As, or are you using FILE > Save As Template...? The former won't work properly. The latter will automatically put the template file into the Templates folder.
When you make the links to the dependent files, are you browsing to find the linked file or are you making those links manually?
North America
Europe, Middle East and Africa
Asia Pacific