close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Changes to template aren't applied

Thread began 6/13/2010 7:59 am by anita_vlcek298513 | Last modified 11/16/2010 5:22 pm by Jason Byrnes | 1054 views | 7 replies |

anita_vlcek298513

Changes to template aren't applied

Hello,

I just purchased PS 3 and am trying to change the design. My problem is that the changes I make to the template (main.dwt.php) don't appear on the pages (index, etc.).
What am I doing wrong?

Thanks.

Sign in to reply to this post

Jason ByrnesWebAssist

The index page is not based on the template.

Changes should be directly to the index page.

To make use of the template editing features in Dreamweaver, the PowerStore files must be at the root of the Dreamweaver site.

Dreamweaver will expect to find the template folder at the Root of the site, if it is not at the root of the site, then the template edits cannot be properly applied to the pages.

Sign in to reply to this post

brendafos379366

how to make main.dwt.php changes apply to non index.php pages

In main.dwt.php I made changes to the color for the left side menu --

approx line 163:
div.setAttribute('style',"background-color:#FFCC99; color: white; border-top:0px;");
div.style.cssText = "background-color:#FFCC99; color: white; border-top:0px;";

The changes are saved in the .dwt.php but have not affected the Product_Results.php file and other files as I expected?

How do you get the main.dwt.php to update the files associated with it?

Sign in to reply to this post

Jason ByrnesWebAssist

go to modify -> Templates -> Update pages to force changes to the template to be applied to the pages

Sign in to reply to this post

brendafos379366

inconsistent region names

OK, but when I do that I get this Inconsistent region names and I can't get it go past that. I'm attaching a picture of the outcome.

All I have changes is a color in the php code area.

Your suggestions?

Sign in to reply to this post

Jason ByrnesWebAssist

send a copy of the page and the template so i can take a look.

Sign in to reply to this post

brendafos379366

now all messed up

I'm sending the main.dwt.php file in a zip.
You can see it at PowerStore301/
After I did the apply now the Products does not work at all. It was working before I applied the dwt.
See the picture of what I wanted to change.

Attached Files
Main.dwt.php.zip
Sign in to reply to this post

Jason ByrnesWebAssist

I see a lot of errors in your template when comparing it against an unedited template file.


it almost appears as though a template was applied to this template.


How is your Dreamweaver site configured? Are the power store files at the root of the Dreamweaver site or in a subdirectory?

For editing to work correctly, the power store files must be at the root of your Dreamweaver site.

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

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