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

admin.dwt.php file

Thread began 3/24/2010 3:50 pm by edrosenthal350859 | Last modified 3/24/2010 11:23 pm by edrosenthal350859 | 1766 views | 7 replies |

edrosenthal350859

admin.dwt.php file

after removing the read only attributes for the admin directory files,
( contenthistory, contents,index.php etc...) and removing the read only attribute of the
admin.dwt.php file in the Templates directory, i then updated the dwt file with a new
image to replace the given image.
i sort of expect it to let me know if i want to update pages that it controls thru this
template stuff yes? i wasn't able to update the pages that might be under its control,
for some reason. any ideas why this might be?
i am not expert in dwt usage, so its probably something i don't yet know...
if i go to modify template apply to page i don't have any pages listed to update...
there might be in answer to that easily enough?
thanks in advance!

Sign in to reply to this post

Dani Chankhour

The issue could be in the site setup, in order for the templates to update correctly the Template Folder needs to be in the root of your site. Make sure to set up the site where the Templates folder is at the root of your site.

Sign in to reply to this post

edrosenthal350859

Template folder

i must move the Template folder from where it was positioned under the PowerCMS directory to the root folder of the site? so then the original strucutures of folders when i unzipped the package is in need of moving directories around?
ok i did that and that seems to be doing something - so i selected certain files in the list that i thought appropriate but then...
i get a message - certain to be useful to someone who knows template tech -
"some regions in this document have no corresponding regions in the new template"
with some scary choices...

Sign in to reply to this post

neilo

No need.

Create a duplicate of your current site definition in Dreamweaver:

Site > Manage Sites > (select your site) > Click 'Duplicate' > Click 'Edit'

Change the local and testing site root directories to your PowerCMS directory rather than your site root directory, and save it as YourSite (CMS). Ignore DW warning messages if there are any.

Use this site definition to make Power CMS template changes, CMS HTMLEditor changes etc., and use your normal site definition 'YourSite' for any changes to the rest of your site.

Sign in to reply to this post

edrosenthal350859

post hoc, ipso proctor hoc

i already done the deed neilo... now its post mortem time...
i now need to get an answer to the next question, which would probably arise if i had done it post the post...
"some regions in this document have no corresponding regions in the new template"
with some scary choices...

Sign in to reply to this post

Dani Chankhour

You should not move any folders around, you just needed to create a new site in Dreamweaver that points to your powercms folder.

If you have already moved files around, i recommend that you start with a fresh version of powercms files, because when making updates to the template you should not be getting message about regions, you should only see a window that ask you to update the other files.

Sign in to reply to this post

neilo

Hi Ed,

Using Dani's suggestion and the duplicate site workaround, you should still be able to do what you want to (changing image).

When you change the template and click 'save', then yes you should get a message box asling if you want to update the pages based on the template. The template/folders/files relationship should be intact though, - the duplicate site definition is the easiest way to do this, otherwise another Templates folder is created outside of the CMS folder and messes with the updating and my head.

I've lost track of what I'm going on about now.

If the message box to update the pages doesn't appear (and this does seem to happen on and off indiscriminately), then the proper menu item to force updates is Modify > Templates > Update pages.

If your store is online, or set up on your testing server, you can edit the Admin Template by logging in to the Admin area, setecting 'Content' > View/Edit Content > and select 'Admin Template' from the list. This updates the data in the PowerStore database, in table ps3_contents. This is probably the easiest way to do it!

Agree about the scary choices.

Sign in to reply to this post

edrosenthal350859

thanks!

well i had already had moved the templates directory to the actual web site root directory and have made changes. that seems to have solved it. this was a dry run though, to see what it would look like. kind of good to have gone thru the run to see what problems might arise. various images have now been replaced in my sandbox. i will follow thru on the directions given in these posts the next time, to see if it works as well as it has when i did it in a round about should-have-been-broken-but-it-works manner...
thanks again folks!

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