DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Update old custom skin to DNN 9 compatible

 5 Replies
 2 Subscribed to this topic
 11 Subscribed to this forum
Sort:
Author
Messages
New Around Here
Posts: 1
New Around Here

    Hi there,

    I recently updates a few of my DNN sites from 7.4.2 to 9.1.1. But now I cannot delete any modules on these sites. I contact my hosting company about that and they mentioned that my themes are not fully compatible with DNN 9.x. I created those themes (skins) myself, but I have no idea how to make them compatible with 9. I don't know what I should do, and I cannot find any information about that. Please help. 

    Thanks in advance.

    Veteran Member
    Posts: 1236
    Veteran Member
      Are you seeing any errors?

      Check the developer console for javascript errors.

      Generally, the changes are to remove a few items from the skin's .ascx files.

      My memory is that you should removed references to ActionButtons in the skin files. If you see any errors in the (Event) Log, that should give you a pointer to other things to remove.
      Veteran Member
      Posts: 1128
      Veteran Member

        You should make sure
        1. Your skin uses an HTML 5 doctype
        2. It uses DIVs for the Content Panes and not TDs
        3. You should remove all references to SolPart Menu from skin and container ASCX files.
        4. Remove all your ACTIONBUTTONs from your containers.

        HTH

        New Around Here
        Posts: 14
        New Around Here

          I had a recent issue with a well made commercial skin that was calling Locales by an older method.
          <% if Localization.GetEnabledLocales().Count > 1 Then %> <% End If %>

          Probably not your issue but may help others.  :)

          DNN user since v3
          New Around Here
          Posts: 5
          New Around Here

            Dear Betacam,

            I have the same problem how you overcome this issue.

            I had a recent issue with a well made commercial skin that was calling Locales by an older method.
             
             

             

             

             

            Veteran Member
            Posts: 1128
            Veteran Member
              Posted By Hani abu Damis on 11 May 2020 12:00 PM

              Dear Betacam,

              I have the same problem how you overcome this issue.

              I had a recent issue with a well made commercial skin that was calling Locales by an older method.
               
               

               

               

               

              I didn't test, but I think something like DotNetNuke.Services.Localization.LocaleController.Instance.GetLocales(PortalSettings.PortalId).Count

               

               

              These Forums are dedicated to the discussion of DNN Platform.

              For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

              1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
              2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
              3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
              4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
              5. No Flaming or Trolling.
              6. No Profanity, Racism, or Prejudice.
              7. Site Moderators have the final word on approving / removing a thread or post or comment.
              8. English language posting only, please.

              Would you like to help us?

              Awesome! Simply post in the forums using the link below and we'll get you started.

              Get Involved