Dreamweaver - Advice for site wide code?

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.
LVL 3
aloyd18Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Jason C. LevineConnect With a Mentor No oneCommented:
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.

0
 
aloyd18Author Commented:
Ok, I've come across includes folders.  How do I setup it up so that all pages pull from that folder?
0
 
Jason C. LevineNo oneCommented:
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.
0
 
aloyd18Author 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.
0
 
Jason C. LevineNo oneCommented:
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.
0
All Courses

From novice to tech pro — start learning today.