1. I made all my pages separately instead of making a template - Now I have changes to make but do not want to have to keep going to every page to change something. Is there a way that I can create a template out of my index page so when I change something there it will change all of my pages at once - I know you can do it at the beginning but can I do it now that I have already created the pages?
2. Can I make 2 or more templates - I have 2 pages that I want the body to be a different height but all pages are reading from the same style sheet - is there a way I can create another template that reads from a different style sheet?
Is there a way that I can create a template out of my index page so when I change something there it will change all of my pages at once
you can use template engine to manage templates for you.
smarty templates is a good one but you'll have to make your pages .php instead of .html if they are.
Quote:
Can I make 2 or more templates
with smarty you can do that easily with quite few php code.
I don't understand what the above comment is telling me to do - I am trying to learn dreamweaver right now - not a whole new program - If that is something I need to use - please explain so I will understand - But anyway - I have been reading and it is telling me I can create a new external style sheet and I see where to do it. But it is making me build it from scratch. I actually want the same style sheet as the one I already have but I just need to change the height of the body container. I want the home page to be short and the rest of the pages to be longer. I tried to put 100% on my height but that did not work. Can anyone give me an Idea of what to do? Thanks
__________________
Chris. ->> Please login or register to view this content. Registration is FREE <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
I know enough css and html to build a site from scratch - I am just new to dreamweaver and I am trying to learn how to use it because it makes it a lot easier from what I heard. I pretty much did all the coding for this site without using the dreamweaver tools but I would like to learn how to make use of dreamweaver without just typing in the code. I guess you are just telling me to quit asking questions and just read - I can do that - but I thought this form was here to ask questions.
Last edited by Shakadoodoo; 05-21-2010 at 09:14 AM..
learn how to use it because it makes it a lot easier from what I heard
And are you now noticing that what you "heard" is NOT the case?
I have never ever used DW in WYSIWYG (Design view) Mode, that way I have control over the code NOT what some unamed programmer(s) decided was the right way to do what I want.
DW if left to it's own devices will absolutely position just about everything, it will add superfluous elements and styles, plus a load of "fixes" for browsers that are now extinct (NS4 for example).
As a site management tool, great, but just leave it at that and write the code your self.
Learn how to use server side includes instead of templates it's much more flexible. Tools are fine when YOU are in control of them.
__________________
Chris. ->> Please login or register to view this content. Registration is FREE <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
personally it's best that you have a template for the website so you won't have a problem updating every pages. You can have another template for a specific page for a website.It's best to learn proper html and css
No, please don't use templates, they're a waste of space (both literally and figuratively). Use Server Side Includes, like chrishirst said. Don't worry, includes are really simple bits of php or asp, you won't need to learn the whole language!
I've used Dreamweaver templates in the past and found them really useful, OK so there's a bit of extra code but they make updating site layout really easy. Here's some info about setting up and using them: