DNN Forums

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

1 domain, multiple portals

Sort:
You are not authorized to post a reply.





Growing Member





    Ok, DNN 9.7.1, The setup is a single Domain with currently 4 sites set up in portals using the "add new sites" tool in the site settings menu.
    The problem is, if I use the same skin in all the sites, which is preferred on this particular domain, When I make a change to one site, others are effected. For instance, if I change the background image in one site, the BG image changes in other sites. Sometimes, it effects all under the domain, other times, it effects maybe on or two of the others. Same goes for making changes to the skin package. Is there a way to isolate the other portal sites to keep this from happening?
     Thanks, Jeff....






    Veteran Member





      A simple way of doing this would be to make multiple copies of the skin, and assign a dedicated copy to each site. The you would be able to make changes to one portal without making changes to the other portal.

      The other approach would be to keep one skin, but to make changes to that the portal specific stuff is taken out of the skin file, or that you use portal.css to override things in the skin. This will work ONLY if the changes are specifically CSS. This would work for color schemes, background images, etc.

      If there is stuff that isn't CSS that you want to change from portal to portal, you'll have to take that out of the skin file, replace it with a content page, and then insert portal-specific modules. For example, if there is portal-specific information to go into the footer, then put modules in the footer. This is one place where you might want to use that along with "show this module on every page in the portal" to simplify things.

      I hope that helps!
      Joe Craig
      DNN MVP
      Patapsco Research Group





      Growing Member





        Thanks for that info Joe. I failed to mention that I am using the POLO skin package with their built in skin editor. Does that give you any idea of how to work with it?

         






        Growing Member





          Since there is a skin editor, it may not be straightforward to just make multiple copies of the skin.I recommend that you contact the skin designer and ask them how to proceed.





          Growing Member





            I found a way to do it and it seems to be working well. Go to the Site settings/Site behavior, then in the header tag, added the following code and it worked perfectly. Thank y'all for the help.
            <style><br /> body {
              background-image: url('https://scariracing.com/super-late-model/SLM_bg.jpg');
              background-attachment: fixed;
              background-size: cover;
              background-position: center center;
              background-repeat: no-repeat;
            }
            </style>






            Veteran Member





              That probably is not the best approach. As I mentioned, you can use portal.css to override skin css classes. If css changes are all that you need, do it that way. Those classes will apply to all pages in the portal. You can also use css files for individual pages. The page css file is in page properties, but it has to be set for each page.
              Joe Craig
              DNN MVP
              Patapsco Research Group





              Growing Member





                Good point Joe! I tried it, and it worked well! So thanks for the help! As always, you nailed it again!

                You are not authorized to post a reply.

                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