Pages: [1] |
|
|
Author |
Topic: SnippetMaster overides non-editable portions of DW template (Read 46 times) |
DStall
Posts: 6
|
I have page file linked to a DreamWeaver template in which banner and navbar are not editable.
When I pull up "Whole File" in SnippetMaster, I'm able to delete banner and navbar images.
Why does SnippetMaster overide my Dreamweaver Template?
I see it's possible to deny access to users for "Whole Files" in order to get around this issue,
and only allow access to snippets as "Power" user.
But when I add SnippetMaster editable code within editable portion of my DW page,
then view snippets in SnippetMaster, they are displayed on dark colored page background instead of white background of div.
This makes editing impossible as dark color text cannot be seen on dark color background.
Why does SnippetMaster not display div background color in which snippet is located.
See:
http://dstall.com/demo/
http://dstall.com/demo/snippetmaster/
Login with username "user" and password "user"
|
|
|
|
admin
Forum Administrator

Posts: 2610
SnippetMaster Author
|
Hello,
The problem is that the editor can only display whatever HTML code you have loaded into the editor. It doesn't "know" about any other div tags that might exist outside from the html code within the SNIPPET you are editing.
The solution is to either:
1. Design your CSS and styles so that the div being edited includes a background color..
-or-
2. You can modify the background color, manually, for the editor. ( http://www.snippetmaster.com/forums/index.php/topic,1234.0.html )
I am working on a way to do #2 (change editor background color) without having to edit the editor css file... and that should be ready for next release. (Basically, you will be able to either specify the desired bg color in the snippet tag itself, or you can dynamically change the bg color from a nifty dropdown color box while editing.

|
|
|
|
DStall
Posts: 6
|
I've added white background to CSS for both divs that include snippets on my test page,
uploaded revised css file, logged out of snippetmaster, cleared browser cache, refreshed browser, logged back in
and still get dark color background of snippets from page background.
See:
http://dstall.com/demo/
http://dstall.com/demo/snippetmaster/
Login with username "user" and password "user"
|
|
|
|
Jenkinhill
|
So you should have a white backgound assigned to #leftText for the first snippet and to #content for the second but this does not seem to be so when checking the css applied to the page http://dstall.com/demo/
To add a light style to the editor panel this has to be applied to .mceContentBody
Fo working with css, styles are extremely sticky, especially if you use FireFox. There is a little trick I use to remove cached css - http://www.snippetmaster.com/forums/index.php/topic,1667.msg6886.html#msg6886
|
Kelvyn
|
|
|
DStall
Posts: 6
|
I uploaded stylesheet (had uploaded it to other folder which is why you didn't see white div backgrounds).
but. I'm still seeing purple background, not white.
|
|
|
|
Jenkinhill
|
Firefox Web developer tool still shows no background-color applied to #content or #leftText - this tool picks up all embedded and linked styles.
|
Kelvyn
|
|
|
|
Pages: [1]
|
|
|
|