1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Simple Question Code Wrapping

Discussion in 'Web Design, HTML And CSS Forums' started by hanleyhansen, Jan 27, 2010.

  1. hanleyhansen

    hanleyhansen New Member

    I have to wrap this line of code:

    <dnn:ARTMENU ID="ArtMenu1" ShowHiddenTabs="False" ShowAdminTabs="True" ShowDeletedTabs="False" ShowLoginTab="True" ShowUserTab="True" runat="server" /><div id="TopPane" visible="false" runat="server"></div>
    With this conditional:

    <% If DotNetNuke.Security.PortalSecurity.IsInRole("Registered Users") Then %>
          <div id="LoginUserContainer">
          <dnn:USER cssclass="BannerLinks" runat="server" id="dnnUser" url="" />
          <dnn:LOGIN runat="server" cssclass="BannerLinks" id="dnnLogin" />
    <% End If %>
    What does that mean? And what would it look like?

Share This Page