Bug when use Template file in EditCompleteDocument mode

Last post 10-06-2008, 3:33 AM by Global-e. 6 replies.
Sort Posts: Previous Next
  •  09-29-2008, 3:38 AM 44353

    Bug when use Template file in EditCompleteDocument mode

    When you insert a complete static html template file in the editor (with EditCompleteDocument=true), it insert the code from the <HEAD> section into the <BODY> section.
    Steps to reproduce:
    2. Clear all existing content by clikc New document button
    3. Click the Insert Templates button
    4. Upload a very simple static html template file and then insert the file, example html souce code:
    <html>
       <
    head>
          <title>This is a title</title>
          <style type="text/css">
             body
             {
                font-size: 12px !important;
                color: #000000 !important;
             }
             a
             {
                font-size: 12px !important;
                color: #000000 !important;
                }
          </style>
          <link type="text/css" href="http://dnndev2.dnn.global-e.nl/portals/nieuwsbrief.css" />
       </
    head>
       <
    body>
          This is a test for EditCompleteDocument with aTemplate file. 
       </body>
    </
    html>
    5. Go to HTML code view, see the HTML code:
    <html>
        <head>
            <title>test</title>
        </head>
        <body>
            <p>
            <style type="text/css">
            body
            {
            font-size: 12px !important;
            color: #000000 !important;
            }
            a
            {
            font-size: 12px !important;
            color: #000000 !important;
            }
            </style>
            <link href="http://dnndev2.dnn.global-e.nl/portals/nieuwsbrief.css" type="text/css" />

             This is a test for EditCompleteDocument with aTemplate file. </p>
        </body>
    </html>
     
    Titel "This is a title" is completely removed, the stylesheets and external link to stylesheet files is placed in the <Body>!
    But when you paste the exact same html code in the HTML code view manually, this problem will not happen.
    Is this working as intended or is more like a bug?
  •  09-29-2008, 2:20 PM 44374 in reply to 44353

    Re: Bug when use Template file in EditCompleteDocument mode

    anyone can help us with this problem?
  •  09-30-2008, 4:55 AM 44404 in reply to 44374

    Re: Bug when use Template file in EditCompleteDocument mode

    Pffff...Adam has always soooo busy, but is there no other people from the support team can give us an answer?
     
  •  10-01-2008, 3:23 PM 44492 in reply to 44404

    Re: Bug when use Template file in EditCompleteDocument mode

    Is this problem fixed in 6.2 too?
  •  10-03-2008, 2:51 AM 44537 in reply to 44492

    Re: Bug when use Template file in EditCompleteDocument mode

    Hallo, anyone from the supprt can give us an damn answer?
    Wait already couple days for an simple answer about this bug!
     
  •  10-05-2008, 5:18 AM 44564 in reply to 44353

    Re: Bug when use Template file in EditCompleteDocument mode

    Hi Global-e,
     
    I can reproduce this issue,we are investigating it and will get back to you as soon as possible.
     
     
    regard,
     
    Ken
  •  10-06-2008, 3:33 AM 44603 in reply to 44564

    Re: Bug when use Template file in EditCompleteDocument mode

    Thank you Kenneth for the answer and the effort.
View as RSS news feed in XML