Why only on my search results page I have a footer pane with DNNEmptyPane class ?
Last Post 08/06/2014 7:30 AM by Joseph Craig. 7 Replies.
Author Messages Resolved
Hector
Nuke Newbie
Nuke Newbie
Posts:5


--
07/30/2014 9:20 AM  
Hello,

I'm trying to create a site with DNN. I am encountering a problem now.

When I search something on the site, I get the search results page but only on this page, my footerLeftPane got the css class DNNEmptyPane! On the other pages there is no problem. I don't know where this is coming from.

Do you already get this?
Joseph Craig
DNN MVP
Posts:11667


--
07/30/2014 11:11 AM  
Which version of DNN are you using?

Could you post a screen shot or, better, post the URL where I can see this.

Joe Craig, Patapsco Research Group
Complete DNN Support
Hector
Nuke Newbie
Nuke Newbie
Posts:5


--
07/31/2014 4:10 AM  
Thank you for helping me. I am using DNN 07.02.02 (303).

I can show you. In this image in attachment, you can see that the dnn_footerLeftPane is not visible although I have this in my home.ascx:


<div id="footerCenterRightPane" class="span3 footerPane" runat="server">

<div id="footerRightPane" class="span3 footerPane" runat="server">

<!--/footer-->

Joseph Craig
DNN MVP
Posts:11667


--
07/31/2014 7:39 AM  
There was no attachment.

Is there a module in the pane? DNN will set panes with no content to the DNNEmpty class to make them disappear. If you want an empty pane to take up screen space, you can do this with special CSS attached to that page. You will find this in /Portals/_default/default.css:

/* used to collapse panes without any content in them */
.DNNEmptyPane {
width: 0px;
}

If you want an "empty" pane to take up it's normal space, you can add an HTML module with a single space as its content and use a "no title" container.

Joe Craig, Patapsco Research Group
Complete DNN Support
Hector
Nuke Newbie
Nuke Newbie
Posts:5


--
07/31/2014 9:58 AM  
You are right.
Sorry my question was a bit silly. I though there was a problem because I put 4 html modules in the footer and I check "Show the module on all pages" box and only 3 appear in the search result page.
I just clone the module and put it at the position and it is OK.
Thanks
Joseph Craig
DNN MVP
Posts:11667


--
07/31/2014 1:21 PM  
If you set the module to appear on all pages, it should. Was it, perhaps, in another pane on the other page?

I find that "appear on all pages" thing to be a dangerous tool. I try to not use it.

Joe Craig, Patapsco Research Group
Complete DNN Support
Hector
Nuke Newbie
Nuke Newbie
Posts:5


--
08/06/2014 4:08 AM  
Yes, the module was set to appear on all pages.
OK, now I will try to copy it for each page.
Joseph Craig
DNN MVP
Posts:11667


--
08/06/2014 7:30 AM  
Use the Add Existing Module option to copy a module and it's contents. The contents will appear on both pages and, if you change one, you change all copies.

Joe Craig, Patapsco Research Group
Complete DNN Support


---