SnippetMaster Support Forums
Return to main website
 
June 01, 2009, 02:23:31 AM
* Show unread posts since last visit.
* Show new replies to your posts.
Welcome, Guest. Please login or register.
Did you miss your activation email?
June 01, 2009, 02:23:31 AM

Login with username, password and session length
Search:  
Advanced search
* Home Help Search Login Register
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: SnippetMaster overides non-editable portions of DW template « previous next »
Pages: [1] Print
Author Topic: SnippetMaster overides non-editable portions of DW template  (Read 46 times)
DStall

Posts: 6


[-] SnippetMaster overides non-editable portions of DW template
« on: May 29, 2009, 01:23:25 PM »

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"


Report to moderator   Logged
admin
Forum Administrator
*
Posts: 2610

SnippetMaster Author


WWW
[-] Re: SnippetMaster overides non-editable portions of DW template
« Reply #1 on: May 29, 2009, 01:29:14 PM »

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.

Smile
Report to moderator   Logged
DStall

Posts: 6


[-] Re: SnippetMaster overides non-editable portions of DW template
« Reply #2 on: May 29, 2009, 01:41:22 PM »

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"
Report to moderator   Logged
Jenkinhill
Beta Tester

Posts: 376



[-] Re: SnippetMaster overides non-editable portions of DW template
« Reply #3 on: May 29, 2009, 02:20:59 PM »

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
Report to moderator   Logged

Kelvyn
DStall

Posts: 6


[-] Re: SnippetMaster overis non-editable portions of DW template
« Reply #4 on: May 29, 2009, 03:08:19 PM »

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.
Report to moderator   Logged
Jenkinhill
Beta Tester

Posts: 376



[-] Re: SnippetMaster overides non-editable portions of DW template
« Reply #5 on: May 30, 2009, 12:53:27 AM »

Firefox Web developer tool still shows no background-color applied to #content or #leftText - this tool picks up all embedded and linked styles.
Report to moderator   Logged

Kelvyn
Pages: [1] Print 
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: SnippetMaster overides non-editable portions of DW template « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!