|
Search powered by Google |
|||||||
![]() |
|
|
Thread Tools | Useful Thread? | Display Modes |
|
#1
|
|||
|
|||
|
syntax error in object's condition (Section Layout)
Just wondering if anyone would mind having a quick scan over the below code. Ive recently started changing our site over to SPP and have used the AUG code to sort out a section link into the product page. The code works, but brings up errors. Ive been staring at it all day, so perhaps a pair of fresh eyes can spot something?
Code:
</actinic:block>
<table style="background: url('itembg.jpg') no-repeat;" cellpadding="0" cellspacing="0" border="0" height="212" width="146">
<tr>
<td valign="top" align="center"><br>
<a href="<actinic:block if="%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e%20AND%0d%3cactinic%3avariable%20name%3d%22UnregCustomersAreNotAllowed%22%20%2f%3e" ><actinic:variable name="SectionPageName" /></actinic:block><actinic:block if="%28%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e%20%3d%3d%20false%29%20OR%0d%28%3cactinic%3avariable%20name%3d%22UnregCustomersAreNotAllowed%22%20%2f%3e%20%3d%3d%20false%29" ><actinic:variable name="SectionURL" /></actinic:block>" target="_self">
<img alt="<actinic:variable name="SectionName" encoding="strip"/>" src="<actinic:variable Name="SectionImageFileName"/>" border="0" />
</a>
</td>
</tr>
<tr >
<td align="center">
<table width="140"><tr><td valign="bottom" align="center">
<strong><a href="<actinic:block if="%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e%20AND%0d%3cactinic%3avariable%20name%3d%22UnregCustomersAreNotAllowed%22%20%2f%3e" ><actinic:variable name="SectionPageName" /></actinic:block><actinic:block if="%28%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e%20%3d%3d%20false%29%20OR%0d%28%3cactinic%3avariable%20name%3d%22UnregCustomersAreNotAllowed%22%20%2f%3e%20%3d%3d%20false%29" ><actinic:variable name="SectionURL" /></actinic:block>" target="_self"><actinic:variable name='SectionName'/></a></strong>
<actinic:variable name='SectionDescription'/><br>
<actinic:block type="ProductList" >
<actinic:block
if="%3cactinic%3avariable%20name%3d%22ProductType%22%20%2f%3e%20%21%3d%202" >
<actinic:block
if="%3cactinic%3avariable%20name%3d%22IsAddToCartButtonShown%22%20%2f%3e%20AND%20%
0d%28%3cactinic%3avariable%20name%3d%22NumberAttributesInPushButtonGrid%22%20%2f%3
e%20%3d%3d%200%29" >
</actinic:block>
</actinic:block>
</div>
<actinic:block type="PriceList" >
<b><actinic:variable name="PriceLayout" /></b>
</actinic:block>
</td></tr></table>
</td>
</tr>
</table>
</actinic:block>
|
|
#2
|
||||
|
||||
|
is that all of it? if so there's an errant closing tag at the top for starters.
__________________
|
|
#3
|
||||
|
||||
|
You got some white characters in your code (line feeds I suspect). Becareful of copying and pasting from Word. Try this:
Code:
<table style="background: url('itembg.jpg') no-repeat;" cellpadding="0" cellspacing="0" border="0" height="212" width="146">
<tr>
<td valign="top" align="center"><br>
<a href="<actinic:block if="%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e%20AND%0d%3cactinic%3avariable%20name%3d%22UnregCustomersAreNotAllowed%22%20%2f%3e" ><actinic:variable name="SectionPageName" /></actinic:block><actinic:block if="%28%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e%20%3d%3d%20false%29%20OR%0d%28%3cactinic%3avariable%20name%3d%22UnregCustomersAreNotAllowed%22%20%2f%3e%20%3d%3d%20false%29" ><actinic:variable name="SectionURL" /></actinic:block>" target="_self">
<img alt="<actinic:variable name="SectionName" encoding="strip"/>" src="<actinic:variable Name="SectionImageFileName"/>" border="0" />
</a>
</td>
</tr>
<tr >
<td align="center">
<table width="140"><tr><td valign="bottom" align="center">
<strong><a href="<actinic:block if="%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e%20AND%0d%3cactinic%3avariable%20name%3d%22UnregCustomersAreNotAllowed%22%20%2f%3e" ><actinic:variable name="SectionPageName" /></actinic:block><actinic:block if="%28%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e%20%3d%3d%20false%29%20OR%0d%28%3cactinic%3avariable%20name%3d%22UnregCustomersAreNotAllowed%22%20%2f%3e%20%3d%3d%20false%29" ><actinic:variable name="SectionURL" /></actinic:block>" target="_self"><actinic:variable name='SectionName'/></a></strong>
<actinic:variable name='SectionDescription'/><br>
<actinic:block type="ProductList" >
<actinic:block
if="%3cactinic%3avariable%20name%3d%22ProductType%22%20%2f%3e%20%21%3d%202" >
<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" >
</actinic:block>
</actinic:block>
</div>
<actinic:block type="PriceList" >
<b><actinic:variable name="PriceLayout" /></b>
</actinic:block>
</td></tr></table>
</td>
</tr>
</table>
</actinic:block>
__________________
Actinic Report Modifications - Add your logo to your invoice - email for information Integrated e-Commerce Web Design by Genesis Technical Ltd Actinic Upgrades, Custom Designs, Layout Modifications and General Actinic Help |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|