Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [Andy] dynamic detail page not loading variables in include_leftsidebar.html

Quote Reply
Re: [Andy] dynamic detail page not loading variables in include_leftsidebar.html In reply to
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>&copy; 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?
Subject Author Views Date
Thread dynamic detail page not loading variables in include_leftsidebar.html kthull 8779 Oct 31, 2008, 8:43 PM
Thread Re: [kthull] dynamic detail page not loading variables in include_leftsidebar.html
Andy 8608 Nov 1, 2008, 2:20 AM
Thread Re: [Andy] dynamic detail page not loading variables in include_leftsidebar.html
kthull 8648 Nov 1, 2008, 7:04 AM
Thread Re: [kthull] dynamic detail page not loading variables in include_leftsidebar.html
Andy 8609 Nov 1, 2008, 8:02 AM
Thread Re: [Andy] dynamic detail page not loading variables in include_leftsidebar.html
kthull 8586 Nov 1, 2008, 9:06 AM
Thread Re: [kthull] dynamic detail page not loading variables in include_leftsidebar.html
Andy 8581 Nov 1, 2008, 9:36 AM
Thread Re: [Andy] dynamic detail page not loading variables in include_leftsidebar.html
kthull 8596 Nov 1, 2008, 10:00 AM
Thread Re: [kthull] dynamic detail page not loading variables in include_leftsidebar.html
Andy 8600 Nov 1, 2008, 10:10 AM
Thread Re: [Andy] dynamic detail page not loading variables in include_leftsidebar.html
kthull 8571 Nov 1, 2008, 10:26 AM
Post Re: [kthull] dynamic detail page not loading variables in include_leftsidebar.html
Andy 8596 Nov 1, 2008, 11:01 AM
Thread Re: [kthull] dynamic detail page not loading variables in include_leftsidebar.html
brewt 8518 Nov 1, 2008, 4:24 PM
Post Re: [brewt] dynamic detail page not loading variables in include_leftsidebar.html
kthull 8477 Nov 5, 2008, 8:29 PM