Announcement

Collapse
No announcement yet.

Oh dear

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

    Oh dear

    I have just attempted adding an image to a brochure page to accompany a text fragment.

    In content mode I selected the image I required. However whilst making adjustments I have accidentally altered the coding and now the images are now working.

    When I click on the image in design mode I am given the following codes:

    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsFragmentImageALink%22%20%2f%3e" >
    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsFragmentLinkToURL%22%20%2f%3e" >
    <a href="<actinic:variable name="FragmentLinkedItemID" />">
    </actinic:block>
    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsFragmentLinkToProduct%22%20%2f%3e" >
    <a href="<Actinic:Variable Name="SearchCGIURL"/>?PRODREF=<actinic:variable name="FragmentLinkedItemID" /><actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">&amp;SHOP=<Actinic:Variable Name="ShopID"/></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e">&amp;NOLOGIN=1</actinic:block>">
    </actinic:block>
    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsFragmentLinkToSection%22%20%2f%3e" >
    <a href="<Actinic:Variable Name="SearchCGIURL"/>?SECTIONID=<actinic:variable name="FragmentLinkedItemID" /><actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">&amp;SHOP=<Actinic:Variable Name="ShopID"/></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e">&amp;NOLOGIN=1</actinic:block>">
    </actinic:block>
    </actinic:block>
    <img
    alt="<actinic:variable name="FragmentTitle" />"
    border="0"
    width="<actinic:variable name="FragmentImageWidth" />"
    height="<actinic:variable name="FragmentImageHeight" />"
    />
    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsFragmentImageALink%22%20%2f%3e" >
    </a>
    </actinic:block>


    Now I assume it has something to do with the image tag as it is incomplete but I am not sure what needs to be added.

    Can anybody help me?

    Thank you, Nathan

    #2
    Revert the layout to standard and start again

    Comment


      #3
      or, restore a previosly saved version ..

      Comment


        #4
        How did you accidentally alter the code, it's a completely different tab?

        One of the layouts you can select for a fragment has an image inclusion possibility. You write your text and include the file in "image field". There is no need to delve into coding, it is there for you already. Unless you are trying to alter the code, which is a different matter.

        Best thing for you to do if you are not too hot on coding is to revert the layout back to factory settings and start again. Simply put your text into the fragment and tell it where the image is, it will do the rest for you.

        Design - library to revert the layout.

        Name your thread something useful too in case it helps others when searching in the future. Guidelines are laid out at the top of the forum.

        Comment


          #5
          Thank you leehack and ruralweb. I'm not too hot on coding no, I went into the design tab as I was trying to understand what coding relates to what aspect of the page (we all have to learn somehow). I suppose I shouldn't have touched anything but like many people I was curious and before I knew it I had made a bit of a pigs ear of it.

          Anyway thanks again for helping out, next time I will name the thread more appropriately too.

          Comment


            #6
            don't be afraid of playing BUT and its a big but ... take a snapshot FIRST - and if neccessary, take another one. - the snapshot is your "get out of jail free card" - without one, your'e likely to do time - lots of it

            if you screw it up and your hopelessly lost then two ways of trying to resolve the prob. 1) go to the design menu, library, find the layout, right click and restore it. 2) restore your snapshot and ahve another play.

            Comment


              #7
              Thats very good advice. Normally I have made an extra snapshot but I forgot on this occasion.

              Thanks again for every bodies help and advice.

              Comment

              Working...
              X