We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

Which option for Dreamweaver Template should I use.

a182612
a182612 asked
on
Medium Priority
146 Views
Last Modified: 2010-04-25
I have to create a dreamweaver template that will support several library items, a CSS sytle sheet that uses absolute positioning and 2 Server Side Includes.  I am not sure which template to select .  I thought maybe it should be the asp/javascript option.  The server is a windows server that uses asp and java script.  Also after I decide which template to use what should my file extension be for the pages that use this template.  The SSI require .shtml but I am not sure that is going to work.

Thanks for any help.
Comment
Watch Question

Jason C. LevineDon't talk to me.
CERTIFIED EXPERT

Commented:
Hi a182612,

You have two different features confused.

Dreamweaver templates are a layout thing.  You create a page with everything except the content, include the Library items, and then do File | Save As Template to make it a Template.  After that, you use the Modify | Templates menu to make regions editable.  You can now apply the template to any blank page and presto: instant layout.  When you save the template, you can specify .shtml and default create new pages with that extension (Edit | Preferences | New Document)

ASP/Javascript is a Server Model and you only need to use this if you are going to be connecting to databases to make dynamic pages or if there is some scripting function you really need.

Author

Commented:
In dreamweaver 8 when I do file/new and select template from the first menu it makes me pick something from the second menu.  Are you saying I should select basic html from this menu.  When I tried that and then updated the page it did not make the updates on the test pages.  When I used the asp/javascript as the second selection it did make the updates.  Maybe something else is causing this.
Jason C. LevineDon't talk to me.
CERTIFIED EXPERT

Commented:
a182612,

I'm not following you completely.  

1) Do you have a template (.dwt) file created?

2) Did you create the template from a HTML or an ASP file?

Author

Commented:
I think the problem was that if the file the template is using is open in dreamweaver when I update the template I have to go back and re-save the actual file before the changes showed up.  Is this how it works?
Don't talk to me.
CERTIFIED EXPERT
Commented:
Pretty much, yes.

If you make changes to a template and you don't see those changes reflected in open pages, you can manually force a change to a template to update all pages based on that template from the Modify | Templates | Update Pages command on the menu.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
That is great information.  I needed to know that as I have had it happen occasionaly and can't pin down when or why.
Jason C. LevineDon't talk to me.
CERTIFIED EXPERT

Commented:
Glad I could help.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.