close ad
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Adding New Themes to FrameworkBuilder

Thread began 8/31/2012 11:29 am by jason363662 | Last modified 4/17/2013 3:02 pm by jason363662 | 1827 views | 4 replies


I would like this feature as well, and the irony is it would be easy to do. If my templates are main1.dwt.php and main2.dwt.php, you already name the themes main1 and main2, so that is the only value you need to dynamically set the theme. In other words, the file naming convention is already there, but it cannot be utilized fully because of this limitation.

In the meantime, it can be done by applying the static theme behavior and changing the theme code in the head of the document like this:

if("" == ""){
$WA_main_dwt_1363236073760_Content_Empty = "";
$WA_main_dwt_1363236073760_Content = new WA_Include(__FILE__);
$WA_main_dwt_1363236073760_Template = new WA_Include("Templates{$WA_main_dwt_1363236073760_Content_Empty}/{$template}.dwt.php");

Keep in mind that the themes have to have the same editable regions using the same name, and that if {$template} does not point to a valid theme, the page will be broken.

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