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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jason C. LevineNo 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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development Software

From novice to tech pro — start learning today.