I have found this community very useful so far in building Actinic sites. However, I have not been able to find any discussion or solutions to the following...
The site in question is a Music Download site currently with 6 music genres created as 6 main sections with artists listed as sub sections under each Genre section. Then each record is listed under each artist as a sub section, within each record section I use a fragment header with all the products available under that.
So, here is the problem. Say I have a special offer in the Classical genre and I want to only show it to people viewing the classical genre rather than Pop for obvious reasons. Simple I hear you say, just add another fragment within the classical genre section. But, here is my problem, I want it to be displayed to the left underneath the cart display which is under the quick search, under the side menu. I will also probably like to display some adverts or items to the right sometimes.
So, how can you edit the main Act_Primary.html to display the fragment according to the section you are viewing while not displaying within the section the fragment the primary template is calling.
I have pasted the area of html from the primary template I am using where the cart box is shown and anticipate I would place the fragment code just before the coupon entry.
</tr>
</table>
NETQUOTEVAR:SIMPLESEARCH<br>
<table width="100" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td background="pxl_red.gif">
<div align="center"> <span class="actxxsmall">
<script language="JavaScript">
<!--
document.write("NETQUOTEVAR:CARTCOOKIEITEMS " + getCartItem(3)+" <BR>");
document.write("NETQUOTEVAR:CARTCOOKIEVALUE " + getCartItem(1));
// -->
</script>
</span> </div>
</td>
</tr>
</table>
<!-- coupon entry begins -->
NETQUOTEDEL:CAPTURECOUPON
As to what I will place within the fragment will be banners, html code or even just the basic fragment entries.
I look forward to comments, suggestions, help! Thanks in anticipation of help from the community.
Martin
The site in question is a Music Download site currently with 6 music genres created as 6 main sections with artists listed as sub sections under each Genre section. Then each record is listed under each artist as a sub section, within each record section I use a fragment header with all the products available under that.
So, here is the problem. Say I have a special offer in the Classical genre and I want to only show it to people viewing the classical genre rather than Pop for obvious reasons. Simple I hear you say, just add another fragment within the classical genre section. But, here is my problem, I want it to be displayed to the left underneath the cart display which is under the quick search, under the side menu. I will also probably like to display some adverts or items to the right sometimes.
So, how can you edit the main Act_Primary.html to display the fragment according to the section you are viewing while not displaying within the section the fragment the primary template is calling.
I have pasted the area of html from the primary template I am using where the cart box is shown and anticipate I would place the fragment code just before the coupon entry.
</tr>
</table>
NETQUOTEVAR:SIMPLESEARCH<br>
<table width="100" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td background="pxl_red.gif">
<div align="center"> <span class="actxxsmall">
<script language="JavaScript">
<!--
document.write("NETQUOTEVAR:CARTCOOKIEITEMS " + getCartItem(3)+" <BR>");
document.write("NETQUOTEVAR:CARTCOOKIEVALUE " + getCartItem(1));
// -->
</script>
</span> </div>
</td>
</tr>
</table>
<!-- coupon entry begins -->
NETQUOTEDEL:CAPTURECOUPON
As to what I will place within the fragment will be banners, html code or even just the basic fragment entries.
I look forward to comments, suggestions, help! Thanks in anticipation of help from the community.
Martin
Comment