homepage Welcome to WebmasterWorld Guest from 54.145.172.149
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
how to create many pages with same menu layouts?
TheIceman5



 
Msg#: 4630962 posted 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

WebmasterWorld Administrator 5+ Year Member Top Contributors Of The Month



 
Msg#: 4630962 posted 1:32 am on Dec 16, 2013 (gmt 0)

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



 
Msg#: 4630962 posted 9:28 pm on Dec 17, 2013 (gmt 0)

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



 
Msg#: 4630962 posted 11:40 pm on Dec 18, 2013 (gmt 0)

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved