Announcement

Collapse
No announcement yet.

Photos have disappeared!

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

    Photos have disappeared!

    Don't know what I have done but, am redesigning the web site and the layout code is still on - Standard with Image on Right. However, when I put an Image or Thumbnail link in the Product Details page nothing appears on the page next to the description. I must have ticked or unticked something somewhere but don't know what and now can't get them to show at all

    Nick
    Nick
    www.skyelight.co.uk

    #2
    Seems you have either removed the 'ProductImageLayout' layout call from the product layout, or you have removed the actual code which displays the product image from the 'Standard with Image on Right' layout.

    Please post your 'Standard with Image on Right' layout code in your reply.

    Comment


      #3
      Many thanks - here is the code:

      <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductFormUsed%22%20%2f%3e" >
      <form method="post" action="<actinic:variable value="Shopping Cart Script URL" name="OnlineScriptURL" />">
      <input type="hidden" name="SID" value="<actinic:variable name="SectionID" />" />
      <input type="hidden" name="PAGE" value="PRODUCT" />
      <input type="hidden" name="PAGEFILENAME" value="<actinic:variable name="SectionPageName" />" />
      <Actinic:SECTION BLOB='<actinic:variable name="SectionCatFile" />'/>
      <actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e" >
      <!-- Hidden field when in trial mode -->
      <input type="hidden" name="SHOP" value="<actinic:variable name="HiddenFields" />" />
      </actinic:block>
      </actinic:block>

      <table width="100%" cellspacing="0" cellpadding="10" border="0">
      <tr>
      <td width="75%" align="left" valign="top">
      <a name="<actinic:variable name="EncodedProductAnchor" />">
      <b><actinic:variable name="ProductName" /></b></a>

      <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductReferenceVisible%22%20%2f%3e" >
      Ref: <actinic:variable name="ProductReference" />
      </actinic:block>

      <br />
      <actinic:variable formatting="bold,style|actregular" name="ProductDescription" />
      <actinic:variable name="ExtendedInformationLinks" />

      <actinic:block if="%3cactinic%3avariable%20name%3d%22FileURLNotEmpty%22%20%2f%3e" >
      <br />
      <a href="<actinic:variable name="ProductLinkInfo" />">
      <actinic:variable formatting="style|actregular" name="ProductLinkText" />
      </a>
      </actinic:block>

      <actinic:block if="%3cactinic%3avariable%20name%3d%22IsCustomerMessageUsed%22%20%2f%3e" >
      <br />
      <Actinic:PRICE_EXPLANATION PROD_REF="<actinic:variable name="ProductID" />" COMPONENTID=-1><actinic:variable name="RetailCustomerMessage" /></Actinic:PRICE_EXPLANATION>
      </actinic:block>

      <actinic:block if="%3cactinic%3avariable%20name%3d%22PriceIsEnabled%22%20%2f%3e" >
      <b>
      <Actinic:PRICES PROD_REF="<actinic:variable name="ProductID" />" RETAIL_PRICE_PROMPT="<actinic:variable name="ProductPriceDescription" />">
      <actinic:variable name="PriceListRetail" />
      </Actinic:PRICES>
      </b>
      </actinic:block>
      <actinic:block if="%3cactinic%3avariable%20name%3d%22ProductPriceIsEnabled%22%20%2f%3e%20%3d%3d%20False" >
      <Actinic:NOTINB2B><br /><strong><actinic:variable name="ProductPriceNotEnabledMessage" /></strong></Actinic:NOTINB2B>
      </actinic:block>

      <actinic:block if="%3cactinic%3avariable%20name%3d%22DiscountDescriptionIsShownForProducts%22%20%2f%3e" >
      <br /><actinic:variable value="Standard Discount List" name="DiscountList" />
      </actinic:block>

      <actinic:block if="%3cactinic%3avariable%20name%3d%22IsOtherInfoPromptShown%22%20%2f%3e" >
      <br />
      <span class="actrequired"><actinic:variable name="OtherInfoPrompt" /></span><br />
      <input type="text" name="O_<actinic:variable name="ProductID" />" size="40" maxlength="1000" value="" />
      </actinic:block>

      <actinic:block if="%3cactinic%3avariable%20name%3d%22IsDatePromptShown%22%20%2f%3e" >
      <br />
      <span class="actrequired"><actinic:variable name="DatePrompt" /></span><br />
      <actinic:variable name="DayList" /><actinic:variable name="MonthList" /><actinic:variable name="YearList" />
      </actinic:block>

      <actinic:variable name="AttributeList" />
      <actinic:variable name="ComponentList" />

      <actinic:block if="%3cactinic%3avariable%20name%3d%22IsQuantityPromptShown%22%20%2f%3e" >
      <br />
      <span class="actrequired"><actinic:variable name="QuantityPrompt" /></span>
      &nbsp;
      <input type="text" name="Q_<actinic:variable name="ProductID" />" size="4" value="<actinic:variable name="DefaultQuantity" />" />
      </actinic:block>
      <actinic:block if="%3cactinic%3avariable%20name%3d%22IsQuantityPromptHidden%22%20%2f%3e" >
      <input type="hidden" name="Q_<actinic:variable name="ProductID" />" value="<actinic:variable name="DefaultQuantity" />" />
      </actinic:block>

      <br /><actinic:variable name="CartError" />

      <actinic:block if="%3cactinic%3avariable%20name%3d%22IsAddToCartButtonShown%22%20%2f%3e%20AND%20%0d%28%3cactinic%3avariable%20name%3d%22NumberAttributesInPushButtonGrid%22%20%2f%3e%20%3d%3d%200%29" >
      <br /><actinic:variable name="AddToCartButton" />
      </actinic:block>

      <actinic:block if="%3cactinic%3avariable%20name%3d%22IsOutOfStockShown%22%20%2f%3e" >
      <br /><br /><strong><span class="actrequired"><br /><actinic:variable name="OutOfStock" /></span></strong>
      </actinic:block>

      <actinic:block if="%3cactinic%3avariable%20name%3d%22IsCatalogSuspendedShown%22%20%2f%3e" >
      <br /><br /><strong><span class="actrequired"><actinic:variable name="CatalogSuspended" /></span></strong>
      </actinic:block>

      <actinic:variable name="ProductAlsoBoughtList" />

      <actinic:variable name="ProductRelatedProductsList" />
      </td>
      <td width="25%" align="center" valign="top">

      </td>
      </tr>
      </table>

      <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductFormUsed%22%20%2f%3e" >
      </form>
      </actinic:block>
      Nick
      www.skyelight.co.uk

      Comment


        #4
        Make a copy of your layout first (right click in the Library and select 'Copy')

        Then replace your code with this:

        Code:
        <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductFormUsed%22%20%2f%3e" >
        <form method="post" action="<actinic:variable value="Shopping Cart Script URL" name="OnlineScriptURL" />">
        <input type="hidden" name="SID" value="<actinic:variable name="SectionID" />" />
        <input type="hidden" name="PAGE" value="PRODUCT" />
        <input type="hidden" name="PAGEFILENAME" value="<actinic:variable name="SectionPageName" />" />
        <Actinic:SECTION BLOB='<actinic:variable name="SectionCatFile" />'/>
        <actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e" >
        <!-- Hidden field when in trial mode -->
        <input type="hidden" name="SHOP" value="<actinic:variable name="HiddenFields" />" />
        </actinic:block>
        </actinic:block>
        
        <table width="100%" cellspacing="0" cellpadding="10" border="0">
        <tr>
        <td width="75%" align="left" valign="top">
        <a name="<actinic:variable name="EncodedProductAnchor" />">
        <b><actinic:variable name="ProductName" /></b></a>
        
        <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductReferenceVisible%22%20%2f%3e" >
        Ref: <actinic:variable name="ProductReference" />
        </actinic:block>
        
        <actinic:variable name="ProductImageLayout" />
        <br />
        <actinic:variable formatting="bold,style|actregular" name="ProductDescription" />
        <actinic:variable name="ExtendedInformationLinks" />
        
        <actinic:block if="%3cactinic%3avariable%20name%3d%22FileURLNotEmpty%22%20%2f%3e" >
        <br />
        <a href="<actinic:variable name="ProductLinkInfo" />">
        <actinic:variable formatting="style|actregular" name="ProductLinkText" />
        </a>
        </actinic:block>
        
        <actinic:block if="%3cactinic%3avariable%20name%3d%22IsCustomerMessageUsed%22%20%2f%3e" >
        <br />
        <Actinic:PRICE_EXPLANATION PROD_REF="<actinic:variable name="ProductID" />" COMPONENTID=-1><actinic:variable name="RetailCustomerMessage" /></Actinic:PRICE_EXPLANATION>
        </actinic:block>
        
        <actinic:block if="%3cactinic%3avariable%20name%3d%22PriceIsEnabled%22%20%2f%3e" >
        <b>
        <Actinic:PRICES PROD_REF="<actinic:variable name="ProductID" />" RETAIL_PRICE_PROMPT="<actinic:variable name="ProductPriceDescription" />">
        <actinic:variable name="PriceListRetail" />
        </Actinic:PRICES>
        </b>
        </actinic:block>
        <actinic:block if="%3cactinic%3avariable%20name%3d%22ProductPriceIsEnabled%22%20%2f%3e%20%3d%3d%20False" >
        <Actinic:NOTINB2B><br /><strong><actinic:variable name="ProductPriceNotEnabledMessage" /></strong></Actinic:NOTINB2B>
        </actinic:block>
        
        <actinic:block if="%3cactinic%3avariable%20name%3d%22DiscountDescriptionIsShownForProducts%22%20%2f%3e" >
        <br /><actinic:variable value="Standard Discount List" name="DiscountList" />
        </actinic:block>
        
        <actinic:block if="%3cactinic%3avariable%20name%3d%22IsOtherInfoPromptShown%22%20%2f%3e" >
        <br />
        <span class="actrequired"><actinic:variable name="OtherInfoPrompt" /></span><br />
        <input type="text" name="O_<actinic:variable name="ProductID" />" size="40" maxlength="1000" value="" />
        </actinic:block>
        
        <actinic:block if="%3cactinic%3avariable%20name%3d%22IsDatePromptShown%22%20%2f%3e" >
        <br />
        <span class="actrequired"><actinic:variable name="DatePrompt" /></span><br />
        <actinic:variable name="DayList" /><actinic:variable name="MonthList" /><actinic:variable name="YearList" />
        </actinic:block>
        
        <actinic:variable name="AttributeList" />
        <actinic:variable name="ComponentList" />
        
        <actinic:block if="%3cactinic%3avariable%20name%3d%22IsQuantityPromptShown%22%20%2f%3e" >
        <br />
        <span class="actrequired"><actinic:variable name="QuantityPrompt" /></span>
        &nbsp;
        <input type="text" name="Q_<actinic:variable name="ProductID" />" size="4" value="<actinic:variable name="DefaultQuantity" />" />
        </actinic:block>
        <actinic:block if="%3cactinic%3avariable%20name%3d%22IsQuantityPromptHidden%22%20%2f%3e" >
        <input type="hidden" name="Q_<actinic:variable name="ProductID" />" value="<actinic:variable name="DefaultQuantity" />" />
        </actinic:block>
        
        <br /><actinic:variable name="CartError" />
        
        <actinic:block if="%3cactinic%3avariable%20name%3d%22IsAddToCartButtonShown%22%20%2f%3e%20AND%20%0d%28%3cactinic%3avariable%20name%3d%22NumberAttributesInPushButtonGrid%22%20%2f%3e%20%3d%3d%200%29" >
        <br /><actinic:variable name="AddToCartButton" />
        </actinic:block>
        
        <actinic:block if="%3cactinic%3avariable%20name%3d%22IsOutOfStockShown%22%20%2f%3e" >
        <br /><br /><strong><span class="actrequired"><br /><actinic:variable name="OutOfStock" /></span></strong>
        </actinic:block>
        
        <actinic:block if="%3cactinic%3avariable%20name%3d%22IsCatalogSuspendedShown%22%20%2f%3e" >
        <br /><br /><strong><span class="actrequired"><actinic:variable name="CatalogSuspended" /></span></strong>
        </actinic:block>
        
        <actinic:variable name="ProductAlsoBoughtList" />
        
        <actinic:variable name="ProductRelatedProductsList" />
        </td>
        <td width="25%" align="center" valign="top">
        
        </td>
        </tr>
        </table>
        
        <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductFormUsed%22%20%2f%3e" >
        </form>
        </actinic:block>
        That should do the trick

        Comment


          #5
          Thanks for that - only problem is that the product picture now appears above the description and not to the right of it

          Nick
          Nick
          www.skyelight.co.uk

          Comment


            #6
            My mistake - You have emitted the layout function for the product image - I simply put it back in above the description.

            Alternatively, you can locate the Product Layout in the Library, right-click and 'Revert to Factory Settings' - this will, as the name suggests, reset the layout back to the original layout - you will lose any changes made to this particular layout.

            The amended layout of the above is:

            Code:
            <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductFormUsed%22%20%2f%3e">
                  <form method="post" action="<actinic:variable name="OnlineScriptURL" value="Shopping Cart Script URL" />"> 
                     <input type="hidden" name="SID" value="<Actinic:Variable Name="SectionID"/>" />
                     <input type="hidden" name="PAGE" value="PRODUCT" />           
                     <input type="hidden" name="PAGEFILENAME" value="<actinic:variable name="SectionPageName" />" />
                     <Actinic:SECTION BLOB='<Actinic:Variable Name="SectionCatFile"/>'/>
                     <actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">
                        <!-- Hidden field when in trial mode -->
                        <input type="hidden" name="SHOP" value="<Actinic:Variable Name="HiddenFields"/>" />
                     </actinic:block>
            </actinic:block>
            
            <table width="100%" cellspacing="0" cellpadding="10" border="0">
               <tr>
                  <td width="75%" align="left" valign="top">
                     <a name="<Actinic:Variable Name="EncodedProductAnchor"/>">
                     <b><Actinic:Variable Name="ProductName"/></b></a>
                     
                     <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductReferenceVisible%22%20%2f%3e" >
                        Ref: <actinic:variable name="ProductReference" />
                     </actinic:block>
                     
                     <br />
                     <Actinic:Variable Name="ProductDescription"/>
                     <actinic:variable name="ExtendedInformationLinks" />
                     
                     <actinic:block if="%3cactinic%3avariable%20name%3d%22FileURLNotEmpty%22%20%2f%3e">
                        <br />
                        <a href="<Actinic:Variable Name="ProductLinkInfo"/>">
                           <Actinic:Variable Name="ProductLinkText"/>
                        </a>
                     </actinic:block>
                     
                     <actinic:block if="%3cactinic%3avariable%20name%3d%22IsCustomerMessageUsed%22%20%2f%3e">
                        <br />
                        <Actinic:PRICE_EXPLANATION PROD_REF="<actinic:variable Name="ProductID" />" COMPONENTID=-1><Actinic:Variable Name="RetailCustomerMessage"/></Actinic:PRICE_EXPLANATION>
                     </actinic:block>
                     
                     <actinic:block if="%3cactinic%3avariable%20name%3d%22PriceIsEnabled%22%20%2f%3e">
            				<b>
            				<Actinic:PRICES PROD_REF="<actinic:variable Name="ProductID" />" RETAIL_PRICE_PROMPT="<Actinic:Variable Name="ProductPriceDescription"/>">
                        <actinic:variable name="PriceListRetail" />
                        </Actinic:PRICES>
                        </b>
                     </actinic:block>
                     <actinic:block if="%3cactinic%3avariable%20name%3d%22ProductPriceIsEnabled%22%20%2f%3e%20%3d%3d%20False">
            	         <Actinic:NOTINB2B><br /><strong><actinic:variable name="ProductPriceNotEnabledMessage" /></strong></Actinic:NOTINB2B>
                     </actinic:block>
                     
                     <actinic:block if="%3cactinic%3avariable%20name%3d%22DiscountDescriptionIsShownForProducts%22%20%2f%3e">      
                        <br /><actinic:variable name="DiscountList" value="Standard Discount List" />
                     </actinic:block>
                     
                     <actinic:block if="%3cactinic%3avariable%20name%3d%22IsOtherInfoPromptShown%22%20%2f%3e">
                        <br />
                        <span class="actrequired"><Actinic:Variable Name="OtherInfoPrompt"/></span><br />
                        <input type="text" name="O_<Actinic:Variable Name="ProductID"/>" size="40" maxlength="1000" value="" />
                     </actinic:block>
                     
                     <actinic:block if="%3cactinic%3avariable%20name%3d%22IsDatePromptShown%22%20%2f%3e">
                        <br />
                        <span class="actrequired"><actinic:variable name="DatePrompt"/></span><br />
                        <actinic:variable name="DayList" /><actinic:variable name="MonthList" /><actinic:variable name="YearList" />
                     </actinic:block>
                     
                     <actinic:variable name="AttributeList" />
                     <actinic:variable name="ComponentList" />
                     
                     <actinic:block if="%3cactinic%3avariable%20name%3d%22IsQuantityPromptShown%22%20%2f%3e%20AND%20%28%3cactinic%3avariable%20name%3d%22IsOutOfStockShown%22%20%2f%3e%20%3d%3d%20FALSE%29%20AND%20%28%3cactinic%3avariable%20name%3d%22IsCatalogSuspendedShown%22%20%2f%3e%20%3d%3d%20FALSE%29" >  
            			<actinic:block if="%3cactinic%3avariable%20name%3d%22CartButtonVisibleToAllCustomers%22%20%2f%3e" >
            			<!-- This code is used when the quantity box is visible to all customers -->
            			<br />
            			<span class="actrequired"><Actinic:Variable Name="QuantityPrompt"/></span>
            			&nbsp;
            			<input type="text" name="Q_<actinic:variable Name="ProductID"/>" size="4" value="<Actinic:Variable Name="DefaultQuantity"/>" />
            			</actinic:block> 
            			<actinic:block if="%3cactinic%3avariable%20name%3d%22EnabledForCustomerGroupID%22%20%2f%3e%20%21%3d%20%22%22">
            				<actinic:block if="%3cactinic%3avariable%20name%3d%22ProductPriceIsEnabled%22%20%2f%3e" >
            				<!-- This code is used when the quantity box is visible to retail customers, but not all other customer groups -->
            			<Actinic:ShowForPriceSchedule Schedules="<actinic:variable name="EnabledForCustomerGroupID" />">
            				<br />
            				<span class="actrequired"><Actinic:Variable Name="QuantityPrompt"/></span>
            				&nbsp;
            				<input type="text" name="Q_<actinic:variable Name="ProductID"/>" size="4" value="<Actinic:Variable Name="DefaultQuantity"/>" />
            			</Actinic:ShowForPriceSchedule>
            				</actinic:block>
            				<actinic:block if="%3cactinic%3avariable%20name%3d%22ProductPriceIsEnabled%22%20%2f%3e%20%3d%3d%20FALSE" >		
            				<!-- This code is used when the quantity box needs to hidden from retail customers -->
            				<Actinic:ShowForPriceSchedule Schedules="<actinic:variable name="EnabledForCustomerGroupID" />" HTML="<br /><span class='actrequired'><Actinic:Variable Name="QuantityPrompt"/></span>&nbsp;<input type='text' name='Q_<actinic:variable Name="ProductID"/>' size='4' value='<Actinic:Variable Name="DefaultQuantity"/>' />"></Actinic:ShowForPriceSchedule>
            				</actinic:block>
            			</actinic:block> 
            			</actinic:block>
                     <actinic:block if="%3cactinic%3avariable%20name%3d%22IsQuantityPromptHidden%22%20%2f%3e">
                        <input type="hidden" name="Q_<actinic:variable Name="ProductID"/>"  value="<actinic:variable name="DefaultQuantity"/>" />
                     </actinic:block>
            
                     <br /><actinic:variable name="CartError" />
            
                     <actinic:block if="%3cactinic%3avariable%20name%3d%22IsAddToCartButtonShown%22%20%2f%3e%20AND%20%0d%28%3cactinic%3avariable%20name%3d%22NumberAttributesInPushButtonGrid%22%20%2f%3e%20%3d%3d%200%29" >
                        <br /><actinic:variable name="AddToCartButton" />
                     </actinic:block>
            
                     <actinic:block if="%3cactinic%3avariable%20name%3d%22IsOutOfStockShown%22%20%2f%3e">
                        <br /><br /><strong><span class="actrequired"><br /><Actinic:Variable Name="OutOfStock"/></span></strong>
                     </actinic:block>
            
                     <actinic:block if="%3cactinic%3avariable%20name%3d%22IsCatalogSuspendedShown%22%20%2f%3e">
                        <br /><br /><strong><span class="actrequired"><Actinic:Variable Name="CatalogSuspended"/></span></strong>
                     </actinic:block>
                     
                     <actinic:variable name="ProductAlsoBoughtList" />
                     
                     <actinic:variable name="ProductRelatedProductsList" />
                  </td>
                  <td width="25%" align="center" valign="top">
                     <actinic:variable name="ProductImageLayout" />
                  </td>
               </tr>
            </table>
            
            <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductFormUsed%22%20%2f%3e">
                  </form>
            </actinic:block>

            Comment


              #7
              Thanks - all seems to be back in action again - thanks for all your help

              Nick
              Nick
              www.skyelight.co.uk

              Comment

              Working...
              X