Quick Nav:  Online Store   |   Login | Register

Editmodule.aspx not loading background

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
Emilio Dabdobu
<20 Posts
Posts:6


11/12/2003 6:04 AM  
The following code is missing from EditModule.aspx :
If Not Me.Page.FindControl("Body") Is Nothing AndAlso _portalSettings.BackgroundFile <> "" Then
                CType(Me.Page.FindControl("Body"), HtmlGenericControl).Attributes("background") = _portalSettings.UploadDirectory & _portalSettings.BackgroundFile
            End If
So, the editmodule page does not load the site background
John Mitchell
<500Posts
Posts:355


11/12/2003 7:38 AM  
Good catch. Thanks for the heads up.
Emilio Dabdobu
<20 Posts
Posts:6


11/12/2003 11:29 AM  
I know how it can be fixed .. after spending an hour breaking my head =) You shoud consider shipping the skins with left pane transparent because some users will spend time figuring it out.
Loretta Johnson
<20 Posts
Posts:10


12/22/2003 5:05 PM  
I figured out the transparent and thanks to some other postings here I have the width adjusting appropriately (I think). I still have a problem. I have a site background image that repeats and it is obvious that the left pane area has it's background image set as well even though I tried several methods (using the stylesheet) to remove it. I tried this -- I saw this 'noimage' used elsewhere, it didn't work. background-image:url('noimage'); I tried this -- /* background-image:url('noimage'); */ Any suggestions. Thanks
Loretta Johnson
<20 Posts
Posts:10


12/22/2003 5:08 PM  
Okay, I lied. The LeftPane width is now too large when I set it to 100%. I want it to use the width I set in the Edit Modules settings. How do I do this?
Loretta Johnson
<20 Posts
Posts:10


12/22/2003 5:10 PM  
I tried changing the width to 100% and now the width is too large. I want it to use the width I set in the Edit Modules settings. How do I do this?
John Mitchell
<500Posts
Posts:355


12/27/2003 2:22 PM  
You can do it through CSS by setting the Width attribute of the LeftPane to the desired fixed width. Another way is to put a Text/Html module in that pane with a spacer image in it that will "hold" the of the cell even if there isn't any other content in that pane. This technique works well to support cross-browser compatabilty because different browsers will render a table cell differently if it doesn't have any actual content in it. I just insert a Text/Html module and title it "placeholder", then turn off the title, and the only line in it is
John Mitchell
<500Posts
Posts:355


12/27/2003 4:07 PM  
Hi Loretta, If you don't want a background image then commenting it out or removing it is best because if you leave it in with a non-existent image your server will try to find that image and get a 404 error, it doesn't show up to the user, but it does slow down the page slightly for every 404. I think I answered the LeftPane Width question in the other thread, so let me know if it works for you.
Loretta Johnson
<20 Posts
Posts:10


12/29/2003 5:59 PM  
Thanks for the reply. I'm not sure that I clearly stated my issue. Pre-CSS Skins, each Tab page could have a different left (and/or right) pane width. Do we lose that functionality with CSS Skins? If not, then how do I specify a different width for one Tab page without it affecting other Tab pages? Thanks, Loretta
Roy Barrow
<20 Posts
Posts:3


01/11/2004 12:15 PM  
Did this issue ever get Answered? Having the same issue with no posted fixes that I can find in the forum... Thanks, Roy
John Mitchell
<500Posts
Posts:355


01/13/2004 12:44 AM  
If there is a LeftPaneSpacer image in the DesktopDefault.ascx page for the skin like in the original DotNetNuke DesktopDefault.aspx page, then the the width set on the Tab's properties will work the same as before ( same for the right pane with RightPaneSpacer).
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 > Editmodule.aspx not loading background



ActiveForums 3.7
Powered by: Snapsis Software