View Full Version : Conditional Template sections in Dreamweaver

03-04-2009, 02:43 PM
I have a template which has navigation at the top and bottom. But I want one of my internal landing pages to omit the top navigation.

Sure, I can create another template for this page, but one of the reasons I want to use templates is to be able to make rapid sitewide design changes, simply by editing one template.

Given this, what is the best way to omit the top navigation while using Dreamweaver templates? Do I do nested templates somehow? Or perhaps some form of conditional script that Dreamweaver might have?

The site is made with css sections by the way.

Your thoughts.


03-04-2009, 09:40 PM
I think you need to use an optional region. No such thing as conditional statements with regards to templates.

Never had to use optional regions but I think they are for this very purpose.