Basically, i'm new to this program and keep working myself into a corner. This time I cant figure out what i've done wrong but there is a coding error saying that standard fragment images aren't correct. Here, maybe my code may help:
Here is the coding for a standard fragment image:
<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 rel="nofollow" href="<actinic:variable name="SearchCGIURL"/>?PRODREF=<actinic:variable name="FragmentLinkedItemID" /><actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">&SHOP=<Actinic:Variable Name="ShopID"/></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e">&NOLOGIN=1</actinic:block>">
</actinic:block>
<actinic:block if="%3cactinic%3avariable%20name%3d%22IsFragmentLinkToSection%22%20%2f%3e" >
<a rel="nofollow" href="<actinic:variable name="SearchCGIURL"/>?SECTIONID=<actinic:variable name="FragmentLinkedItemID" /><actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">&SHOP=<Actinic:Variable Name="ShopID"/></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e">&NOLOGIN=1</actinic:block>">
</actinic:block>
</actinic:block>
<img src="<actinic:variable name="FragmentImageFileName" />"
title="<actinic:variable name="FragmentTitle" encoding="strip" />"
alt="<actinic:variable name="FragmentTitle" encoding="strip" />"
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>
And the error i keep getting is:
- The 'fragmentimagefilename' variable has been placed within the 'standardfragmentimage' layout, but it wont work there.
- The 'fragmenttitle' variable has been placed within the 'standardfragmentimage' layout, but it wont work there.
- The 'fragmentimagewidth' variable has been placed within the 'standardfragmentimage' layout, but it wont work there.
- The 'fragmentimageheight' variable has been placed within the 'standardfragmentimage' layout, but it wont work there.
Any help would be much appreciated.
Cheers
Here is the coding for a standard fragment image:
<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 rel="nofollow" href="<actinic:variable name="SearchCGIURL"/>?PRODREF=<actinic:variable name="FragmentLinkedItemID" /><actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">&SHOP=<Actinic:Variable Name="ShopID"/></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e">&NOLOGIN=1</actinic:block>">
</actinic:block>
<actinic:block if="%3cactinic%3avariable%20name%3d%22IsFragmentLinkToSection%22%20%2f%3e" >
<a rel="nofollow" href="<actinic:variable name="SearchCGIURL"/>?SECTIONID=<actinic:variable name="FragmentLinkedItemID" /><actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">&SHOP=<Actinic:Variable Name="ShopID"/></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e">&NOLOGIN=1</actinic:block>">
</actinic:block>
</actinic:block>
<img src="<actinic:variable name="FragmentImageFileName" />"
title="<actinic:variable name="FragmentTitle" encoding="strip" />"
alt="<actinic:variable name="FragmentTitle" encoding="strip" />"
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>
And the error i keep getting is:
- The 'fragmentimagefilename' variable has been placed within the 'standardfragmentimage' layout, but it wont work there.
- The 'fragmenttitle' variable has been placed within the 'standardfragmentimage' layout, but it wont work there.
- The 'fragmentimagewidth' variable has been placed within the 'standardfragmentimage' layout, but it wont work there.
- The 'fragmentimageheight' variable has been placed within the 'standardfragmentimage' layout, but it wont work there.
Any help would be much appreciated.
Cheers
Comment