Announcement

Collapse
No announcement yet.

Issues with the design tab and layout code

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Issues with the design tab and layout code

    Hi - I have a site in v8.5.2

    When I am in the Design Tab and I click on an element in the Page Preview Pane, the code for the element is not displayed in the Layout Code pane.

    Also the buttons at the top of the Page Preview Pane - the ones for displaying errors, changing fonts are greyed out.

    If I click on the element in the design tree it correctly displays the code for the element is not displayed in the Layout Code pane.

    I'm sure there is an option I can click to change this but I cannot see where it is.

    Help?
    Regards
    David

    #2
    When I am in the Design Tab and I click on an element in the Page Preview Pane, the code for the element is not displayed in the Layout Code pane.
    Let's try an example. When you click on a product name - what happens? Do you see a dotted line appearing anywhere in the preview? If not, it means there is a problem in your <head> section (or perhaps in the your opening <body> tag) which is causing Actinic to struggle. If you haven't done lots of customisations/additions to your <head> section I suggest copying the whole thing to Notepad, and then replacing it with a default one from one of the other outer layouts you see in the 'Web Page Outer Layouts' group in the library.

    Also the buttons at the top of the Page Preview Pane - the ones for displaying errors, changing fonts are greyed out.
    This should make these buttons work as well, but these only work when you select a variable, not when you select a layout.

    Comment


      #3
      Hi Chris

      There are 2 javascript scripts in the <head> that seem to be conflicting with each other.

      One is for the Comodo Trustlogo and the other is for the Hacker Guardian logo.

      If I remove one, or the other, the issue is resolved - I will need to have a look at what is causing that.

      Thanks for the prompt reply.
      Regards
      David

      Comment


        #4
        David, there is a condition you can wrap around some areas of code that cause issues in the preview tab. I can't recall exactly what it is, forum or AUG has details, but it is basically a condition saying if we are in preview mode, then don't show this etc. It has worked great for me when i've needed it on occasion, maybe give that a go.

        I have used it a couple of times to block live help in the preview panel, especially when the annoying popup still comes onto the screen.

        Comment


          #5
          Hi Lee - This seems to have done the trick: "IsNotPreviewMode"

          <actinic:block if="%3cactinic%3avariable%20name%3d%22IsNotPreviewMode%22%20%2f%3e" >
          Thanks for suggesting that.
          Regards
          David

          Comment


            #6
            That's the bugger, glad it worked for you .

            Comment

            Working...
            X