Link to home
Start Free TrialLog in
Avatar of aloyd18
aloyd18

asked on

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.
ASKER CERTIFIED SOLUTION
Avatar of Jason C. Levine
Jason C. Levine
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of aloyd18
aloyd18

ASKER

Ok, I've come across includes folders.  How do I setup it up so that all pages pull from that folder?
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.
Avatar of aloyd18

ASKER

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.
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.