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.
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.