PDA

View Full Version : How would I?



chief
03-30-2006, 08:59 PM
Well, I already have a website which I created ( in my sig ).

In the future, i'd like to start adding more content in, and possibly change the layout, etc. The way I add content now would be to open up dreamweaver, navagate to the remote view, edit, save and upload. I'd also like to add a new link to the nav, but i'd have to edit all my pages. Is there a way to treat html pages sort of like a css file? where you only edit one file that translates to others?

Would that be dhtml?


Thanks

-Rob.

Bogie
03-30-2006, 09:51 PM
You could use CSS or PHP includes.

ChrisK
03-31-2006, 09:32 AM
Or ASP/ASP.net depending on the server platform.
You would use "includes" and call each file in the main page.

For example:
http://www.webpromo-inc.com/inc/header.asp

Is the header file for the web site below:
http://www.webpromo-inc.com/

chief
03-31-2006, 10:39 PM
^^

Ahh yes! thats it!

any tutorials? I've only dealt with html.

ChrisK
04-01-2006, 06:30 AM
^^

Ahh yes! thats it!

any tutorials? I've only dealt with html.

ASP:
http://www.w3schools.com/asp/asp_incfiles.asp

PHP:
http://www.w3schools.com/php/php_includes.asp

SSI:
http://www.usd.edu/trio/tut/html2/SSI/ssi.shtml