Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL

Message Too Old, No Replies

how to create many pages with same menu layouts?

1:19 am on Dec 16, 2013 (gmt 0)

New User

joined:Sept 18, 2013
votes: 0

i have always programmed with PHP and templates, now im entering html/css responsive websites without PHP.
if I had a website with same menu and template layout with a dozen pages, how do I go about publishing this site with different content but same menu on every page without duplicating the pages? if I wanted to later update a menu I don't want to change a dozen pages.
how does this work? im using dreamweaver.
1:32 am on Dec 16, 2013 (gmt 0)

Moderator from US 

WebmasterWorld Administrator 5+ Year Member Top Contributors Of The Month

joined:Dec 27, 2006
votes: 48

I'm not familiar with Dreamweaver, but there should be a way for you to use includes, that is what I would look for. I can't imagine not being able to deliver php includes in html beyond a very small site.
Without Dreamweaver I build a page the way I want it to look and then clip out the menu to a 'menu.php' file that gets added during delivery. Same for footers and in some scenarios, the headers. This makes keeping it all up to date much easier.
9:28 pm on Dec 17, 2013 (gmt 0)

Junior Member

5+ Year Member

joined:Mar 17, 2010
posts: 88
votes: 1

In Dreamweaver you can use DWT (Dynamic Web Templates) for the typical areas of the pages. Up date the template = all pages using the template will be updated.

BTW: you can use PHP includes in static HTML pages. Check your web hosting how to do it.
11:40 pm on Dec 18, 2013 (gmt 0)

New User

joined:Sept 18, 2013
votes: 0

thanks for that info, will give it a go and see how I go.