close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Applying template causes error, but page works after applying Framework Theme

Thread began 1/07/2016 7:18 am by mrobben375515 | Last modified 1/07/2016 5:34 pm by Ray Borduin | 1384 views | 3 replies |

mrobben375515

Applying template causes error, but page works after applying Framework Theme

When I apply my template to a page and form created with Forms/Insert Form I get an error about the TotalColumns that is a quick cart call that is inside the template itself. However, when I apply the Framework theme associated with the template, the page loads, but loses the styling on the form. What is wrong with the template? Please see attached txt file for additional notes and files that are questioned.

Sign in to reply to this post

Ray BorduinWebAssist

Your editable region names don't match up.

In: main_fw_theme.dwt.php you have: "head", "content", "footer"

but in: main.dwt.php you have: "headLine", "content", "footer"

The names of the editable regions need to match in order for the page to be constructed properly by framework builder.

Sign in to reply to this post
Did this help? Tips are appreciated...

mrobben375515

Thank you Ray. The formatting looks more consistent on the page after I apply the framework theme. But I am still getting an error on the page when I only apply the dw theme page only. See the link in the PM. I am assuming something is wrong with my template.

Attached Files
main.dwt.php
Sign in to reply to this post

Ray BorduinWebAssist

This error means that the eCart require_once() code isn't on the page. It is probably on the template but not on the page itself and Dreamweaver won't copy over server side code from the template to the derived pages. That is one of the advantages of WebAssist themes and explains why it works with the theme applied.

Sign in to reply to this post
Did this help? Tips are appreciated...

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

Content

rating

Layout

rating

Ease of use

rating

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