View Full Version : ActHeader : suppress header, footer, items etc. in checkout pages
AndyB
30-Jun-2003, 12:02 PM
I have added the section tree droplistbox to ActHeader template, next to NETQUOTEVAR:SIMPLESEARCH. The header text and cart contents are also here. (The droplistbox javascript code is actually in ActPrimary template).
When it comes to the checkout pages, the Search box is suppressed, but the other things are not. I would like to suppress the section tree droplistbox and cart items and value from the checkout pages.
How do the checkout pages know to suppress the search box - can I apply the same method to the droplistbox ?
(ActHeader template attached).
AndyB
30-Jun-2003, 12:07 PM
Can't get attachment to work - here is code:
<snip>
NETQUOTEVAR:SEPARATORBAR
<table border=0 cellspacing=0 cellpadding=0 width="100%">
<tr><td><div align="center"><span class="actxsmall"><b>NETQUOTEVAR:HEADERTEXT</b></span></div></td></tr></table>
<!-- NETQUOTEVAR:SEPARATORBAR
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="CUSTOMVAR:ACTSTDWIDTH" ALIGN="CENTER">
<TR>
NETQUOTEVAR:HEADERGUIDE
</TR>
</TABLE> -->
NETQUOTEVAR:SEPARATORBAR
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td>NETQUOTEVAR:SIMPLESEARCH</td>
<td><table cellspacing=0 cellpadding=5 border=0 height="30">
<tr><form name="Act_SectionDroplist">
<td valign="middle" noWrap align=right> <script language=Javascript1.1>document.write(ACT_DropListBox(section_tree))</script>
</td></form></tr></table>
</td></tr>
<tr><td colspan="2" align="center"><span class="actxsmall"> NETQUOTEVAR:CARTCOOKIEITEMS
<script language="JavaScript">document.write(getCartItem(3));</script> NETQUOTEVAR:CARTCOOKIEVALUE <script language="JavaScript">document.write(getCartItem(1));</script>.</span>
</td></tr>
</table>
NETQUOTEVAR:SEPARATORBAR
<snip>
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.