Quick Nav:  Online Store   |   Login | Register

CSSEditor sliding out of the page

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
Kamran Akhtar
Posts:0


04/26/2006 9:25 AM  
I have installed CSSEditor downloaded from snapsis.com

I uploaded the PA then updated my skin. So now CSS Editor appears on the page but when I click on it nothing appears but when I scroll the page editor css editor slides from the top and then slides back. So how can I fix this problem? Where does directories are created for the module? I could not find it in DesktopModules.

Some source code was also present in the zip file but I wonder (although I have not played with it) if it is in working state or not. So could you please tell me how can I use the code? Actually I want the editor to be visible to a group in addition to the admin.

Thanks
Kamran Akhtar
Posts:0


04/26/2006 9:31 AM  
I have found that it is installed in snapsis folder. I think problem is with some js file so I will try to fix it. But it would be great if you can tell me where I can the issue.
John Mitchell
<500Posts
Posts:355


04/26/2006 9:34 AM  

It should work properly with the instructions included.

If you give me a link I may be able to tell what is wrong.

The files are stored in DesktopModules under Snapsis\CSSEditor.

The code is current.

John Mitchell
<500Posts
Posts:355


04/26/2006 9:36 AM  
What Browser/version are you using?  It sounds like it may be a problem with the CSS that makes the editor visible, or like you said, the JS that moves it to a visible position on the screen when you click on the button.
Kamran Akhtar
Posts:0


04/26/2006 9:43 AM  
I am using IE 6 with SP2. I have a given a brief look at the js file but could not find anything. By instructions do you mean install.txt? According to that I have pasted this code in skin's ascx file:

I am using orange_futurism skin (downloaded from http://www.thinkofdesign.com/)

By the way the editor is working perfectly on the demo on this site.
John Mitchell
<500Posts
Posts:355


04/26/2006 9:48 AM  

The code didn't show up in the post.  you can make it show up by wrapping it in a < textarea > here in the forums, but yes, that is the instructions I am referring to.

Maybe it's the skin.  Did you try the sample skin included?

Kamran Akhtar
Posts:0


04/26/2006 10:02 AM  
yes it is due to the skin. I tried the included skin and it worked.

Where is the code which pops up the editor? So that I try to fix it for the skin I am using. in admin.js is it function: function snapsis_DocumentLoaded()

Could you please tell me how can I make it visible to a particular group in addition to Admin?

Thanks alot for all your help and you have really impressed me with the such quick response.
John Mitchell
<500Posts
Posts:355


05/12/2006 11:04 AM  

I'm not sure what you mean about the code that pops up the editor.  The editor is loaded into the page only if the current user is in the admin role, and it is moved off the visible part of the page with absolute positioning.  When you click on the button it slides the editor into view (also with absolute positioning).

If you want, I could make the change for allowing other roles to use the CSS Editor for you at a cost of $50 US.

Or you can make the change to the code-behind of the CSS Editor and re-compile.

the line in the CSSEditor.vb file looks like this:

           If PortalSecurity.IsInRoles(PortalSettings.AdministratorRoleName) = False Then
                Exit Sub
            End If

 

Kamran Akhtar
Posts:0


05/13/2006 5:30 AM  
I have not decided which skin I am going to buy so can't tell if that will be compatible with your module or not. As I told you that right now I am using orange futurism to give demos to the client.

I told you the problem that nothing happens when I click on the CSS Editor button but when I scroll the page, the editor slides from the top and then slides out. By popping I meant this sliding in.

Could you please tell me how I can solve this issue.

I will mail you link from where you can download the skin so that you can see what is going on. I am not going to use this skin for my final solution so its not necessary to fix the problem in this one but I am thinking that if the problem is sorted out right now then it will be fixed for all others skins as well.
Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Forums >Snapsis Product Support >Bugs and other Issues > CSSEditor sliding out of the page



ActiveForums 3.7
Powered by: Snapsis Software