DNN Forums

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

How to edit DNN site as HTML

Sort:
You are not authorized to post a reply.





New Around Here





    So I was trying to get my website to reload when you resize your window but I also put an alert in the function and now I can’t get into my site because the alert window stops me form editing the page. Is there a way to edit the site as an HTML document? 






    Veteran Member





      Depending on where you actually put the javascript, there probably are several ways to do it. So, where did you put it?

      If you are trying to keeps things good as browser windows or screens change size, look to a responsive theme which should do all of the work for you.

      ------------------

      As for your question, there isn't an HTML version of your page.  That is created dynamically when the page is loaded.  If you put the code in an HTML module, you might be able to get at it from the Page Personal Bar item.  The Advanced tab includes a list of modules added to the page, and links (pencil icon) to edit them.

      Joe Craig
      DNN MVP
      Patapsco Research Group





      New Around Here





        Hey Joe,

        I put the Javascript in an html module on the homepage, but I can't edit that page anymore because of the brilliant script I wrote...






        New Around Here





          NVM I figured out what you ment! thanks Joe you're a lifesaver!!






          Veteran Member





            See the note I added to my original answer. I assume you are using DNN 9.x. So, go to the Pages entry on the Persona Bar, select the page, and then select the Advanced tab. You'll see a list of the modules on the page, so click one of the pencil icons to edit the one in question.

            If you need to, first browse to a page that works and open the Persona Bar there.

            If you are on an earlier version of DNN, you want Page Settings.
            Joe Craig
            DNN MVP
            Patapsco Research Group





            New Around Here





              I saw the note and everything works great now! thanks again man I really appreciate the help!

              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