You need to Register for free and Login to post a message in the forum.

Forum

.DNNEmptyPane class usage
Last Post 2009-10-28 11:33 PM by Joseph Craig. 11 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
LillianUser is Offline
Nuke Active Member
Nuke Active Member
Posts:26
Avatar

--
2009-10-28 02:21 PM
    .DNNEmptyPane class works wonderfully in DNN 5.1 but I can't seem to use it with older version.  Is there a way to use this class?
    Joseph CraigUser is Online
    DNN Creative Support
    Nuke Master VI
    Nuke Master VI
    Posts:9008
    Avatar

    --
    2009-10-28 03:03 PM
    As that is "just" a CSS class, you can certainly use it. The question is: how?

    I would look around to see how it is used in DotNetNuke 5.1. Presumably, that class gets assigned dynamically to panes that have no content. It is probably in code, or at least in javascript/jquery.

    -added--------------

    It is defined in default.css and in Minimal Extropy's skin.css.  It is used in ControlPanel.js.


    Joe Craig, DNN Creative Support

    Subscribe to DNNCreative
    I recommend PowerDNN for DotNetNuke Hosting.
    LillianUser is Offline
    Nuke Active Member
    Nuke Active Member
    Posts:26
    Avatar

    --
    2009-10-28 03:07 PM
    It does work in DNN 5.1 but it wont work in older version. I need to get it to work in the older version. right now I have
    .DNNEmptyPane
    { width: 0px; display:none; border:none; padding:0px; margin:0px; height:0px; } at the bottom of style sheet. What else do I need to do?
    Joseph CraigUser is Online
    DNN Creative Support
    Nuke Master VI
    Nuke Master VI
    Posts:9008
    Avatar

    --
    2009-10-28 03:13 PM
    You need to apply that class to an object to make it shrink to nothing.  You'll need to determine which objects need it, and then set their class to it. 

    Joe Craig, DNN Creative Support

    Subscribe to DNNCreative
    I recommend PowerDNN for DotNetNuke Hosting.
    LillianUser is Offline
    Nuke Active Member
    Nuke Active Member
    Posts:26
    Avatar

    --

                        <td valign="top" id="LeftPane" class="LeftPane"  runat="server">
                                                        Type="Tabs" ExcludeTabs="Admin,Host" runat="server" />
                        <td valign="top" id="ContentPane" class="ContentPane" runat="server">
                        <td valign="top" id="RightPane" class="RightPane" runat="server">
                   


    my menu wont show? would this code work?


    2009-10-28 05:30 PM
    I read somewhre that DNN adds "DNNEmptyPane" to the class of an empty pane (no modules added). so if I have a code like this,

                   
    LillianUser is Offline
    Nuke Active Member
    Nuke Active Member
    Posts:26
    Avatar

    --

    <td valign="top" id="LeftPane" class="LeftPane" runat="server">
    Type="Tabs" ExcludeTabs="Admin,Host" runat="server" />
    <td valign="top" id="ContentPane" class="ContentPane" runat="server">
    <td valign="top" id="RightPane" class="RightPane" runat="server">
    2009-10-28 05:38 PM
    would this code work with DNNEmptyPane?

    LillianUser is Offline
    Nuke Active Member
    Nuke Active Member
    Posts:26
    Avatar

    --
    2009-10-28 05:38 PM
    i tried to copy paste my code, but why is it coming up like that? it wont show.  anyway, I'm using snapsis menu on my site and i have left, right, and content pane.  I have third level menu code embed in left pane.  is this going to work with DNNEmptypane? since it collapses pane that dont have module?
    Joseph CraigUser is Online
    DNN Creative Support
    Nuke Master VI
    Nuke Master VI
    Posts:9008
    Avatar

    --
    2009-10-28 05:55 PM
    I found some discussion here.

    From that thread, it seems that versions after 4.6 use that class.  And, it seems to be injected automatically.

    If you are having trouble, it might be helpful to you to ask additional questions in that thread.

    Joe Craig, DNN Creative Support

    Subscribe to DNNCreative
    I recommend PowerDNN for DotNetNuke Hosting.
    LillianUser is Offline
    Nuke Active Member
    Nuke Active Member
    Posts:26
    Avatar

    --
    2009-10-28 08:18 PM
    oh thank you. I'll check that out. I have other question. How do you create right content that stays in every page. So that if i make a change in that module, it'll take that change in every page
    Joseph CraigUser is Online
    DNN Creative Support
    Nuke Master VI
    Nuke Master VI
    Posts:9008
    Avatar

    --
    2009-10-28 08:20 PM
    Create the module contents and then, in the module's settings, check the box so that the module appears on every page.

    Joe Craig, DNN Creative Support

    Subscribe to DNNCreative
    I recommend PowerDNN for DotNetNuke Hosting.
    marianneUser is Offline
    Nuke Newbie
    Nuke Newbie
    Posts:4

    --
    2009-10-28 10:44 PM
    I'm using version 04.05.03 of the community version. and I am very new to DNN. I added an Events module to a page and the module indicates in red "Please update module settings...contact Portal Admin." When i go to the setting of the module it gives me the message "Error: Module is currently unavailable." I then went to Host/Module Definitions and verified that the Events is an installed Module. Under Available modules there are no modules listed that have not been installed. Could you give me any helpful information?
    Joseph CraigUser is Online
    DNN Creative Support
    Nuke Master VI
    Nuke Master VI
    Posts:9008
    Avatar

    --
    2009-10-28 11:33 PM
    First, I recommend that you use a current version of DotNetNuke. Version 5.1.4 is the most recent version. If you have to stay with Version 4.x, then you will want to use 4.9.4. It's likely that the version of the Events Module you have is not compatible with the old version of DotNetNuke.

    Joe Craig, DNN Creative Support

    Subscribe to DNNCreative
    I recommend PowerDNN for DotNetNuke Hosting.
    You are not authorized to post a reply.


    Active Forums 4.3

    Latest Forum Posts

    RE: DNN site automatically redirects to a different domain name. by imran shaikh
    Thanks for the reply joe this is my portalalias table entries 2 0 localhost/tradeupgrade -1
    RE: "Good" hosting providers by ejcullen rene
    informative!!!
    RE: URL Master Module doesn't work on IHostASP hosting by ejcullen rene
    informative!!!
    RE: shared web hosting by ejcullen rene
    informative!!. i got hosting service from http://www.thewebpole.com/ my hosting company offers you
    RE: iPhone website logo in DNN root directory by JohnnieD
    I'm supposed to add this link to make my custom logo show up on iPhones. Where in DNN would I a
    iPhone website logo in DNN root directory by JohnnieD
    I'm trying to put an iPhone logo that I made into my site so when someone saves the website on their
    RE: Fixed size container by Joseph Craig
    Use an HTML module and style the container to have a fixed height and width. Set the overflow attr
    Fixed size container by Aggiedan97
    I am looking for advice or an actual container that has a fixed height (and width). An HTML module w
    RE: DNN 6.1 app_offline.htm by Joseph Craig
    If the site "works" in Chrome, Firefox and Safari, but not in IE8 look to IE8 as the problem. It is
    RE: DNN site automatically redirects to a different domain name. by Joseph Craig
    Make a copy what is in the portalalias table and then remove all but the localhost entry. Verify th
    DNN 6.1 app_offline.htm by Dave Hassall
    Hi As recommended I have successfully been using the app_offline.htm whilst performing upgrades t
    RE: DNN site automatically redirects to a different domain name. by imran shaikh
    Hi i have done same as mention in this post my dnn folder name is Trademaxomanupg with
    Enforce Terms Tutorial Update by Vistalogix Corporation
    I tried configuring my DNN 6.1.2 install to have a required "accept terms" checkbox as described in
    RE: Best Practices for Modifying a Custom Module by Joseph Craig
    Start up the development website, then install the module using the package that you have. Then, yo
    Best Practices for Modifying a Custom Module by schilders
    Good Morning, I'm needing to modify a custom built module created by another developer targeted f
    RE: Admin menu problem by alireza arabiyan
    hi in localhost i have http://localhost/senf/خانه.aspx and http://localhost/senf/Admi
    RE: Admin menu problem by Joseph Craig
    Yes, that is what you should have done. What is the URL for your home page? What is the URL for
    RE: Admin menu problem by alireza arabiyan
    hi first in localhost i add my domain.com as portal alias. then copy all files to host , restore my
    RE: Admin menu problem by Joseph Craig
    How did you move it? Have you added an entry in the portalalias table for the site's domain name?
    RE: Re: SQL SERVER 2008 R2 Remote connection by Joseph Craig
    Set up a user with dbo privileges and set the connection string for that user, rather than using Win
    You are not logged in.
    You must log in to access all 
    650+ videos, tutorials, podcasts, and more.
    RSS Feeds