I have a problem which is probably really easy to fix if you know how - but I don't know how! I've searched the forum (endlessly!) and the AUG but havn't found a similar issue (apart from the Add To Cart button duplications but that was on product pages).
I have the html code for a 'subscribe to newsletter' box and I put it into the layout on my Home page, immediately after a fragment (text only), as follows:
<actinic:block if="%3cactinic%3avariable%20name%3d%22FragmentAnchor%22%20%2f%3e%20!=%20%22%22">
<a name="<actinic:variable name='FragmentAnchor' />"></a>
</actinic:block>
<h1 class="subheading"><actinic:variable Name="FragmentTitle"/></h1>
<p><actinic:variable encoding="actinic" name="FragmentText" /></p>
</p>
<!--start m2news newsletter subscription form-->
<script type="text/javascript">
var id = 946;
</script>
<script type="text/javascript" src="http://www.m2news.com.au/subscribe/form.js">
</script>
<!--end m2new newsletter subscription form-->
</p>
The problem is, that the subscription box is duplicating on the site, after every "FragmentText". How do I stop this?
I see on page 33 of the AUG it shows how to 'Insert Content to Only Appear on the Store Front Page' and wonder if I can do this, but for the Home Page. I'm not confident enough to attempt this without advice and not even sure if I'm on the right track with it...
Help!
thanks all
Mary
I have the html code for a 'subscribe to newsletter' box and I put it into the layout on my Home page, immediately after a fragment (text only), as follows:
<actinic:block if="%3cactinic%3avariable%20name%3d%22FragmentAnchor%22%20%2f%3e%20!=%20%22%22">
<a name="<actinic:variable name='FragmentAnchor' />"></a>
</actinic:block>
<h1 class="subheading"><actinic:variable Name="FragmentTitle"/></h1>
<p><actinic:variable encoding="actinic" name="FragmentText" /></p>
</p>
<!--start m2news newsletter subscription form-->
<script type="text/javascript">
var id = 946;
</script>
<script type="text/javascript" src="http://www.m2news.com.au/subscribe/form.js">
</script>
<!--end m2new newsletter subscription form-->
</p>
The problem is, that the subscription box is duplicating on the site, after every "FragmentText". How do I stop this?
I see on page 33 of the AUG it shows how to 'Insert Content to Only Appear on the Store Front Page' and wonder if I can do this, but for the Home Page. I'm not confident enough to attempt this without advice and not even sure if I'm on the right track with it...
Help!
thanks all
Mary
Comment