Link to dynamic category page:
http://www.ebhtrading.com/cgi-bin/ebhlinks/page.cgi?g=TradeKnives;d=1
Clicking on more info on any of the knives to go to the detail page and all that remains of the left sidebar is the static text.
http://www.ebhtrading.com/cgi-bin/ebhlinks/page.cgi?g=Detailed/532.php;d=1
It works if built statically:
http://www.ebhtrading.com/TradeKnives (category)
http://www.ebhtrading.com/Detailed/532.php (detail)
The left sidebar code:
Code:
<%-- Note that this left sidebar is not displayed by default. See the examples in static/luna/luna.css on how to display the sidebar. --%>
<div id="leftsidebar">
<%if Name eq 'TradeKnives'%>
<p><%altCategoryText%> available by Maker:</p>
<%load_knifemaker%>
<%set prev_maker = ""%>
<%loop knifemaker_loop%>
<%unless Type eq 'Knife'%><%nextloop%><%endunless%>
<%set current_maker = $Maker%>
<%if $prev_maker eq $current_maker%><%nextloop%><%endif%>
<%if MainSort eq '5_FirstLook'%><%nextloop%><%endif%>
<%if Type eq 'Sold'%><%nextloop%><%endif%>
<%if isValidated eq 'No'%><%nextloop%><%endif%>
<%Maker%><% if Knifemaker_First%>, <%Knifemaker_First%><%endif%>
<ul class="leftsidebar">
<%loop knifemaker_loop%>
<%if isValidated eq 'Yes' and $current_maker eq $Maker and Type ne 'Sold' and MainSort ne '5_FirstLook'%>
<li><a href="http://www.ebhtrading.com/Detailed/<%ID%>.php" class="leftsidebar"><%Title%></a></li>
<%endif%>
<%endloop%>
</ul><br>
<%set prev_maker = $Maker%>
<%endloop%>
<%elseif Name eq 'TradeWatches'%>
<p><%altCategoryText%> available by Maker:</p>
<%load_knifemaker%>
<%set prev_maker = ""%>
<%loop knifemaker_loop%>
<%unless Type eq 'Watch'%><%nextloop%><%endunless%>
<%set current_maker = $Maker%>
<%if $prev_maker eq $current_maker%><%nextloop%><%endif%>
<%if MainSort eq '5_FirstLook'%><%nextloop%><%endif%>
<%if Type eq 'Sold'%><%nextloop%><%endif%>
<%if isValidated eq 'No'%><%nextloop%><%endif%>
<%Maker%>
<ul class="leftsidebar">
<%loop knifemaker_loop%>
<%if isValidated eq 'Yes' and $current_maker eq $Maker and Type ne 'Sold' and MainSort ne '5_FirstLook'%>
<li><a href="http://www.ebhtrading.com/Detailed/<%ID%>.php" class="leftsidebar"><%Title%></a></li>
<%endif%>
<%endloop%>
</ul><br>
<%set prev_maker = $Maker%>
<%endloop%>
<%else%>
<%endif%>
<!--p>
<%~if config.newsletter_enabled and not config.newsletter_global_subscribe%>
<%~Links::Newsletter::subscription_info($Name)%><%-- SubscriptionStatus: 0 = not subscribed, 1 = indirectly subscribed, 2 = directly subscribed --%>
<%if SubscriptionStatus == 2%><a href="<%config.db_cgi_url%>/subscribe.cgi?action=unsubscribe;Name=<%Name%>&t=luna.<%theme%>" title="Unsubscribe to stop getting updates from this category">Stop sending e-mail updates</a><%elsif SubscriptionStatus == 1%><%else%><a href="<%config.db_cgi_url%>/subscribe.cgi?action=subscribe;Name=<%Name%>&t=luna.<%theme%>" title="Subscribe to get updates from this category" style="color:#FFFFFF">Sign up for e-mail updates!</a><%~endif%>
<%~endif%>
</p-->
<p><a href="mailto:Jon.Ukman@EBossHoss.com" class="leftsidebar">Email</a> or call <br>312/399-9999 anytime.</p>
<p><?php @include_once("http://www.ebhtrading.com/ebh_count/counter.php");?>
</p>
<p>© 1999-<?php echo date("Y"); ?> EBossHoss.com<br />
All rights reserved.</p>
</div>
Kevin
My Green Promise: To learn (and practice) as much as I can about living a sustainable life and then spreading the word.
What's your Green Promise?