Announcement

Collapse
No announcement yet.

Standard Meta Tag code error

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

    Standard Meta Tag code error

    I get 2 error warnings: The standard meta tag layout has a faulty condition in it, click here to go to the code.

    Please see the attached image, error points to block if line 12 and 15

    Not sure how to correct this
    Attached Files
    Akanjee
    Universal Distribution

    #2
    What are the conditions inside the Block_Ifs?

    Comment


      #3
      I have taken a snapshot, please see the image:
      Akanjee
      Universal Distribution

      Comment


        #4
        Double click on the highlighted Block_If and you can then see the condition.

        Comment


          #5
          Condition
          "MetaKeywords" /> != ""
          "MetaDescription" /> != ""

          Clicked on line 11 as well

          "PageType" /> == "Section" OR <actinic:variable name="PageType" /> == "Brochure") AND <actinic:variable name="IsStoreFrontPage" /> == FALSE
          Akanjee
          Universal Distribution

          Comment


            #6
            Probably should be:
            <actinic:variable name="MetaKeywords" /> != ""
            <actinic:variable name="MetaDescription" /> != ""
            Norman - www.drillpine.biz
            Edinburgh, U K / Bitez, Turkey

            Comment


              #7
              Originally posted by NormanRouxel View Post
              Probably should be:
              <actinic:variable name="MetaKeywords" /> != ""
              <actinic:variable name="MetaDescription" /> != ""
              I did remove those, thought unwanted as I copied. Well, pasting again:

              <actinic:variable name="MetaKeywords" /> != ""
              <actinic:variable name="MetaDescription" /> != ""

              Line 11 [not any error given for this line, incase you ask]
              (<actinic:variable name="PageType" /> == "Section" OR <actinic:variable name="PageType" /> == "Brochure") AND <actinic:variable name="IsStoreFrontPage" /> == FALSE
              Akanjee
              Universal Distribution

              Comment


                #8
                You could try reverting the Standard Meta Tags layout to default.

                Comment


                  #9
                  I have tried the design library. revert to factory setting of Meta tags but stil showing errors.

                  I did not modify enything but the site is a snapshot import of V7
                  Akanjee
                  Universal Distribution

                  Comment


                    #10
                    This is the Standard Meta Tags layout code from my site which was also upgraded from V7 - it works fine. If you switch to 'advanced view' for the layout code you can compare them. Hope it helps.


                    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
                    <meta http-equiv="MSThemeCompatible" content="yes" />
                    <actinic:block if="%28%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%21%3d%20%22Section%22%20AND%20%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%21%3d%20%22Brochure%22%29%20OR%20%3cactinic%3avariable%20name%3d%22IsStoreFrontPage%22%20%2f%3e" >
                    <actinic:block if="%3cactinic%3avariable%20name%3d%22GlbMetaKeywords%22%20%2f%3e%20%21%3d%20%22%22" >
                    <meta name="keywords" content="<actinic:variable name="GlbMetaKeywords" />" />
                    </actinic:block>
                    <actinic:block if="%3cactinic%3avariable%20name%3d%22GlbMetaDescription%22%20%2f%3e%20%21%3d%20%22%22" >
                    <meta name="description" content="<actinic:variable name="GlbMetaDescription" />" />
                    </actinic:block>
                    </actinic:block>
                    <actinic:block if="%28%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Section%22%20OR%20%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Brochure%22%29%20AND%20%3cactinic%3avariable%20name%3d%22IsStoreFrontPage%22%20%2f%3e%20%3d%3d%20FALSE" >
                    <actinic:block if="%3cactinic%3avariable%20name%3d%22MetaKeywords%22%20%2f%3e%20%21%3d%20%22%22" >
                    <meta name="keywords" content="<actinic:variable name="MetaKeywords" />" />
                    </actinic:block>
                    <actinic:block if="%3cactinic%3avariable%20name%3d%22MetaDescription%22%20%2f%3e%20%21%3d%20%22%22" >
                    <meta name="description" content="<actinic:variable name="MetaDescription" />" />
                    </actinic:block>
                    </actinic:block>
                    <actinic:block if="%3cactinic%3avariable%20name%3d%22InTestMode%22%20%2f%3e">
                    <meta name="robots" content="noindex, nofollow">
                    </actinic:block>
                    www.silvermoonbeads.com - Gemstones, Pearls, Hill Tribe sterling silver, Swarovski and Findings.

                    Comment


                      #11
                      It is same code, and gives the error!
                      Akanjee
                      Universal Distribution

                      Comment

                      Working...
                      X