Welcome to WebmasterWorld Guest from 50.19.156.133

Forum Moderators: incrediBILL

Message Too Old, No Replies

how to create many pages with same menu layouts?

     

TheIceman5

1:19 am on Dec 16, 2013 (gmt 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.

not2easy

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

WebmasterWorld Administrator 5+ Year Member Top Contributors Of The Month



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.

htmlbasictutor

9:28 pm on Dec 17, 2013 (gmt 0)

5+ Year Member



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.

TheIceman5

11:40 pm on Dec 18, 2013 (gmt 0)



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

Featured Threads

Hot Threads This Week

Hot Threads This Month