• Login
  • Register

DNN Forums

A community discussion page. We're starting from scratch, so...let's get the party started!

How to edit DNN site as HTML

You are not authorized to post a reply.
Sort:
Page 1 of 212 > >>


New Member


Posts:4
New Member

    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? 



    Basic Member


    Posts:92
    Basic 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 Member


      Posts:4
      New Member

        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 Member


        Posts:4
        New Member

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



          Basic Member


          Posts:92
          Basic 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
            You are not authorized to post a reply.
            Page 1 of 212 > >>

            These Forums are dedicated to 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. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
            2. 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.
            3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
            4. No Flaming or Trolling.
            5. No Profanity, Racism, or Prejudice.
            6. Site Moderators have the final word on approving / removing a thread or post or comment.
            7. 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