Announcement

Collapse
No announcement yet.

Varible Appears 3 Times :s

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

    Varible Appears 3 Times :s

    Hi,

    We are running 9.0.3 imma multi user and for some reason when I make a variable somtimes it duplicates itself 3 times however when I look inside the libary it is only there once. anyone know how to stop it from appearing 3 times as it is annoying having to enter the variable more than once.

    Simon
    www.simonstaton.co.uk

    #2
    Without seeing the layout code and it's use on your page, it's very difficult to comment.

    Army Gore-tex
    Winter Climbing Mitts
    webD's Blog: Website design, SEO and other ramblings…
    Twitter LinkedIN

    If you think a post is good, rate it!

    Find the answers in the Knowledge Base | Have you read the User Guides

    Comment


      #3
      Ok, I will try and explain I have made a variable for the components its type is a filename. it appears in the component layout next the the text like <img src="variable" />
      www.simonstaton.co.uk

      Comment


        #4
        Is the variable to be used next to each choice or just once if the product has components?

        Have you placed the variable within any blocks that effect this area of the code?

        Army Gore-tex
        Winter Climbing Mitts
        webD's Blog: Website design, SEO and other ramblings…
        Twitter LinkedIN

        If you think a post is good, rate it!

        Find the answers in the Knowledge Base | Have you read the User Guides

        Comment


          #5
          The Variable Appears Inside the Standard Component Layout and looks as follows:

          The Variable Is Here: <img src="<actinic:variable name="Component Images" />" height="20"/>

          Code:
          <actinic:block if="%3cactinic%3avariable%20name%3d%22ComponentDisplayLabel%22%20%2f%3e%20%21%3d%20%22%22">
          
          </actinic:block>
          <img src="<actinic:variable name="Component Images" />" height="20"/>
          <actinic:block if="%3cactinic%3avariable%20name%3d%22IsComponentCheckboxShown%22%20%2f%3e">
             <input type="checkbox" name="<Actinic:Variable Name="UIWidgetName"/>" <actinic:block if="%3cactinic%3avariable%20name%3d%22IsSelectedByDefault%22%20%2f%3e">checked="checked"</actinic:block> />
          </actinic:block> 
          <actinic:block if="%3cactinic%3avariable%20name%3d%22IsComponentHiddenFieldIncluded%22%20%2f%3e">
             <input type="hidden" name="<Actinic:Variable Name="UIWidgetName"/>" value="on" />
          </actinic:block>
          <Actinic:Variable Name="ComponentDisplayLabel"/>
          <actinic:block if="%3cactinic%3avariable%20name%3d%22ComponentRetailCustomerMessage%22%20%2f%3e%20%21%3d%20%22%22">
          <Actinic:PRICE_EXPLANATION PROD_REF="<actinic:variable Name="ProductID" />" COMPONENTID=<actinic:variable name="ComponentIndex" />><actinic:variable name="ComponentRetailCustomerMessage" /></Actinic:PRICE_EXPLANATION><br />
          </actinic:block>
          
          <actinic:block if="%28%3cactinic%3avariable%20name%3d%22NumberAttributesInPushButtonGrid%22%20%2f%3e%20%3d%3d%200%29%20OR%0d%28%3cactinic%3avariable%20name%3d%22ListIndex%22%20%2f%3e%20%3c%20%3cactinic%3avariable%20name%3d%22ComponentCount%22%20%2f%3e%29">
          	<actinic:block if="%3cactinic%3avariable%20name%3d%22IsPriceShownForComponents%22%20%2f%3e%20OR%20%3cactinic%3avariable%20name%3d%22IsPermutationHidden%22%20%2f%3e">
          	<actinic:variable name="ComponentAttributeList" />
          	</actinic:block>
          	<actinic:block if="%3cactinic%3avariable%20name%3d%22IsPriceShownForComponents%22%20%2f%3e%20%3d%3d%20FALSE%20AND%20%3cactinic%3avariable%20name%3d%22IsPermutationHidden%22%20%2f%3e%20%3d%3d%20FALSE" >
          	<actinic:variable name="AttributeList" />
          	</actinic:block>
          </actinic:block>
          <actinic:block if="%28%3cactinic%3avariable%20name%3d%22NumberAttributesInPushButtonGrid%22%20%2f%3e%20%21%3d%200%29%20AND%0d%28%3cactinic%3avariable%20name%3d%22ListIndex%22%20%2f%3e%20%3d%3d%20%3cactinic%3avariable%20name%3d%22ComponentCount%22%20%2f%3e%29">
          	<actinic:variable name="AttributeList" />
          </actinic:block>
          <actinic:block if="%3cactinic%3avariable%20name%3d%22IsPriceGridShownForComponents%22%20%2f%3e" >
          	<actinic:variable name="PermutationLayout" value="Permutation Grid" />
          </actinic:block>
          www.simonstaton.co.uk

          Comment


            #6
            I've just pasted
            Code:
            <img src="<actinic:variable name="Component Images" />" height="20"/>
            beneath the fist block:

            Code:
            <actinic:block if="%3cactinic%3avariable%20name%3d%22ComponentDisplayLabel%22%20%2f%3e%20%21%3d%20%22%22" >
            	<br />
            </actinic:block>
            and a single img appears at the top of the component layout.

            I suggest you hardcode the img src into the componet layout until it works as you'd expect, then try creating the variable.

            Rich

            Army Gore-tex
            Winter Climbing Mitts
            webD's Blog: Website design, SEO and other ramblings…
            Twitter LinkedIN

            If you think a post is good, rate it!

            Find the answers in the Knowledge Base | Have you read the User Guides

            Comment


              #7
              3 times on the actinic menu, it looks fine in the design no issues there its just anoying having to enter the filename 3 times in the menu.
              www.simonstaton.co.uk

              Comment


                #8
                It Also does it on a few variable such as the rrp price which is simply a variable where you enter the rrp and it appears next to the original price.
                www.simonstaton.co.uk

                Comment


                  #9
                  Okay, screen print of the variable? Where do you have it set to show?

                  Army Gore-tex
                  Winter Climbing Mitts
                  webD's Blog: Website design, SEO and other ramblings…
                  Twitter LinkedIN

                  If you think a post is good, rate it!

                  Find the answers in the Knowledge Base | Have you read the User Guides

                  Comment


                    #10
                    Thought so from your wording, I think that would be a bug then, I've seen it show layout settings twice on my menu sometimes, I've seen this mentioned on the forum before trying to find the post.
                    Peblaco

                    Comment


                      #11
                      Originally posted by peblaco View Post
                      Thought so from your wording, I think that would be a bug then, I've seen it show layout settings twice on my menu sometimes, I've seen this mentioned on the forum before trying to find the post.
                      Sorry, I misunderstood earlier LOL

                      Army Gore-tex
                      Winter Climbing Mitts
                      webD's Blog: Website design, SEO and other ramblings…
                      Twitter LinkedIN

                      If you think a post is good, rate it!

                      Find the answers in the Knowledge Base | Have you read the User Guides

                      Comment


                        #12
                        I think this was an Actinic bug which I've seen before on v903. IIRC completely removing the variable, compacting and re-adding the variable again resolved the problem.

                        Comment


                          #13
                          The only issue there is that it dosnt occur when you add the variable it occurs maybe a week or so after adding the variable and it does it almost everytime now. also there are currently about 35 variables doing this across our 6 sites so deleting and compacting them all can be time consuming, should I put up a print screen of what I am talking about?
                          www.simonstaton.co.uk

                          Comment


                            #14
                            Originally posted by webD View Post
                            Sorry, I misunderstood earlier LOL
                            Thought I'd put you out of your misery.
                            Peblaco

                            Comment


                              #15
                              I've seen this before. Particularly whan the Variable was associated with a Choice. Actinic fixed the bug in 9.0.4 or 9.0.5 (at least for the duplicated appearance on Choices).
                              Norman - www.drillpine.biz
                              Edinburgh, U K / Bitez, Turkey

                              Comment

                              Working...
                              X