We help IT Professionals succeed at work.

Dreamweaver - Advice for site wide code?

Medium Priority
274 Views
Last Modified: 2013-11-17
Whats the best way to setup site wide coding such as navigation bars and headers.  Right now I'm updating my side navigation bar one page at a time.
Comment
Watch Question

Don't talk to me.
CERTIFIED EXPERT
Commented:
Hi aloyd68,

Do a Find and Replace on your entire site for the immediate needs.  In the future, you should put nav bars and similiar objects in separate files and call them via includes.  Then, all you need to do is change the one file to make a change sitewide.

Alternately, you can use the DW Template feature to control your site.

Author

Commented:
Ok, I've come across includes folders.  How do I setup it up so that all pages pull from that folder?
Jason C. LevineDon't talk to me.
CERTIFIED EXPERT

Commented:
You need to add include statements to your pages.  The exact method varies depending on if you are using HTML or ASP/PHP/CF pages.

If HTML, you need to enable SSI (server side includes) on the web server and then you can use that method.  In Dreamweaver, you include stuff from the Insert | Server Side Includes menu

If you are using PHP or ASP or CF, each of those has an include directive.

Author

Commented:
I'm most familiar with asp, but I've already built my basic site in html.  How hard would it be to convert my site to asp?  Thanks for the advice.
Jason C. LevineDon't talk to me.
CERTIFIED EXPERT

Commented:
If your server supports ASP, it would just be a matter of renaming the pages.  If not, you would need to deal with server configuration again.

Explore More ContentExplore courses, solutions, and other research materials related to this topic.