Jim Lacey
asked on
Dreamweaver CS4 & PVII extension error
Editing a Dreamweaver CS4 web page with Studio Seven (PVII) Accordion Panel 1 extension returns this error: message
"Could Not Find the Style Theme for style#[object Element]
Re-install the extension or be sure that the Style Theme is installed"
I re-installed the extension, restored all site files from full backup, installed as new Dreamweaver site, re-installed extension, rebooted PC and repeated edit - same problem; same also using extension as new insertion.
Works OK as installing new Accordion Panel 1 in different CS4 site.
What 'Style Theme' is referred to? I cannot find the phrase 'style#' in the CS4 or p7APM06.css source code.
The user manual contains a section 'Reverting to default Style Themes', which is creating a new .css file = I assumed restoring files as above would do this.
What steps should I take to restore editing?
"Could Not Find the Style Theme for style#[object Element]
Re-install the extension or be sure that the Style Theme is installed"
I re-installed the extension, restored all site files from full backup, installed as new Dreamweaver site, re-installed extension, rebooted PC and repeated edit - same problem; same also using extension as new insertion.
Works OK as installing new Accordion Panel 1 in different CS4 site.
What 'Style Theme' is referred to? I cannot find the phrase 'style#' in the CS4 or p7APM06.css source code.
The user manual contains a section 'Reverting to default Style Themes', which is creating a new .css file = I assumed restoring files as above would do this.
What steps should I take to restore editing?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
And you say this problem only occurs on one site? Or in one specific page?
ASKER
Yes, on the only site using this extension. I can create new pages on this site, but editing existing pages shows same error. Creating pages in new test site is OK.
Can you create a page in a new test site and then edit it with no issues?
ASKER
Yes (sites/AccordionTestBed_04 022010/Acc ordion Test Bed 001.html), I am able to create, edit and exercise several options with no errors. Other pages in the original site return the same error when editing.
ASKER
Noting that my extension version was 1.0.3, I did the following
Accordion Panel Magic v1.0.8 update
Using the current marker feature on existing pages
You only need to update existing pages if your current version of Accordion Panel Magic is version 1.0.3. If you are updating from a later version, you do not need perform any of the following procdures.
Open the Accordion Panel Magic interface and check the Use Current Marker option. You can set the option independently for any APM component on your page.
If your existing Accordion Panel Magic component was made using the original version (1.0.3) of the product, you will need to follow this procedure:
•Open a page that contains an Accordion component you want to update
•Open the CSS panel and note the name of the APM style sheet used for that page. The CSS file will be called p7ap_01.css - p7ap_06.css depending on the style theme you are using. Make a note of the CSS file name.
•Locate the p7ap folder inside the folder that contains your page. Find your relevant CSS file and delete it. Dreamweaver will warn you that it is linked to your page and ask if you'd like to delete it anyway. Click Yes.
•Locate the APM script file, p7APscripts.js, and delete it. Click Yes at the Dreamweaver warning.
•Go back to your page and place your cursor anywhere inside your Accordion Panel component and open the APM interface as if you were going to edit the component.
•Make sure the Use Current Marker option is checked
•Click OK
The system will generate new script and CSS files you and your current marker will work.
**No - new .css and .js files were generated, but the extension now opens in the 'Create New Accordion Panel' mode - not the edit mode.
Any ideas?
ASKER
Problem solved by removing PVII Accordion Panel 1 & current update. then re-installing Accordion Panel 1 without update. Thanks for tip about WinFileCache file.
ASKER
Shut down CS4 then (in Windows 7 Professional) deleted:
C:\Users\JAMAR\AppData\Roa
Restarted CS4 - - Problem persists. Noted the extension starts in Create New Accordion Panel mode
I noted that there were some Javascript/html files in:
C:\Users\JAMAR\AppData\Roa
Which were not recently backed up. Problems here?