close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


main.dwt.php file

Thread began 3/07/2010 8:06 am by tonygmg362159 | Last modified 3/08/2010 4:41 pm by tonygmg362159 | 869 views | 2 replies |


main.dwt.php file

Hi is there a way in which you can have two main.dwt files obvisouly naming them both different? I want a main template file for the 5 pages with a set layout and then another layout for some other pages? Is there a way in which this can be done? How can i edit the locked code in the page to rename the template file? thanks

Sign in to reply to this post




no probllem providing you are happy with html and css.

So create your page ie index2.php then using the insert--- template add you editable regions.

Dreamweaver will then create the template, add it to the assets panel and store it in the directory called templates.

So when you have a page you have created select the assets panel and then highlight the template you want to use then select apply and that template will be applied to that page.

As to disconnecting a page from a template again select modify---templates---detatch from template.

Ok fairly easy but make sure you have loads of backups ;-)



Sign in to reply to this post


Thanks it works :D

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...