Missing Links - Is this a clue?

General ShopSite user discussion

Missing Links - Is this a clue?

Postby interwoven » Fri Jun 22, 2007 11:21 am

I’m trying to get links to “sub pages” to show up in a page for a catagory of products with a custom store page. At this point I am trying to do it using a single page template which will handle this and regular product listings when needed.
I went into the back office to build the new sub pages through shopsite by assigning items as PAGES which I want to link to from a main product category page (Lamps and Lighting). When I checked the site after publishing the changes, no links to the new pages appeared in the main category page.
The template previously used only hard-coded navigation so I tried adding the Loop Links section to this custom store page template. I also added the Define Links to Page tags at the top of my store page template.
Still no links showing up on the page. The 13 sub pages generated by Shopsite, which it named page32.html through page45.html, all seem to be using the right template: (storepage_template3.html). I verified that by viewing the source and looking at the 3rd line as Jim suggested.
The page I created sub pages for in the back office (lamps.html) is also showing the the storepage_template3.html template. This, of course, is the page that should list links to the sub pages. What could be keeping the assigned pages from showing up as links in the lamps.html page? I didnt think I should try to hard-code links from the store page template to those new Shopsite-generated sub pages, since I figured Shopsite was going to do that its own way. Maybe I need a second page template (which would be nice to avoid if possible). Maybe the Link Override template needs modification. Maybe I blew a circuit in my easily over-taxed brain!

But I did notice something interesting in the shopsite-generated source of the lamps.html page....Youll see it near the bottom of the code below. its the <!-- Empty field [Text1] --> followed by a column of 13 <br> tags enclosed in a pair of <p> tags. If this is a clue to the solution, I am at a loss as to what to do from here. Can anyone help?

Heres that output from shopsite:

<html>
<head>
<meta name="generator" content="ShopSite Pro 8.1.2 (data - storepage_template3.html)">

<title>Lamps & Lighting</title>
<link href="2col-fixed.css" rel="stylesheet" type="text/css">

<SCRIPT LANGUAGE="JavaScript">
<!-- Boilerplate1 Preload Script Begins -->

<!--

function newImage(arg) {
if (document.images) {
rslt = new Image();
rslt.src = arg;
return rslt;
}
}

function changeImages() {
if (document.images && (preloadFlag == true)) {
for (var i=0; i<changeImages.arguments.length; i+=2) {
document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
}
}
}

var preloadFlag = false;
function preloadImages() {
if (document.images) {
home_ImageMap_home_over = newImage("media/images/home-ImageMap_home_over.gif");
home_ImageMap_account_over = newImage("media/images/home-ImageMap_account_over.gif");
home_ImageMap_about_down = newImage("media/images/home-ImageMap_about_down.gif");
home_ImageMap_home_down = newImage("media/images/home-ImageMap_home_down.gif");
youraccount_ImageMap_account_over = newImage("media/images/youraccount-ImageMap_accoun.gif");
youraccount_ImageMap_account_down = newImage("media/images/youraccount-ImageMap_acc-11.gif");
youraccount_ImageMap_account_click = newImage("media/images/youraccount-ImageMap_acc-12.gif");
youraccount_ImageMap_contact_down = newImage("media/images/youraccount-ImageMap_contac.gif");
youraccount_ImageMap_about_down = newImage("media/images/youraccount-ImageMap_about_.gif");
youraccount_ImageMap_links_down = newImage("media/images/youraccount-ImageMap_links_.gif");
shoppingcart_ImageMap_cart_over = newImage("media/images/shoppingcart-ImageMap_cart_.gif");
shoppingcart_ImageMap_cart_down = newImage("media/images/shoppingcart-ImageMap_ca-18.gif");
shoppingcart_ImageMap_cart_click = newImage("media/images/shoppingcart-ImageMap_ca-19.gif");
shoppingcart_ImageMap_links_down = newImage("media/images/shoppingcart-ImageMap_links.gif");
logo_ImageMap_logo_over = newImage("media/images/logo-ImageMap_logo_over.gif");
logo_ImageMap_logo_down = newImage("media/images/logo-ImageMap_logo_down.gif");
aboutus_ImageMap_about_over = newImage("media/images/aboutus-ImageMap_about_over.gif");
aboutus_ImageMap_about_down = newImage("media/images/aboutus-ImageMap_about_down.gif");
contact_ImageMap_contact_over = newImage("media/images/contact-ImageMap_contact_ov.gif");
contact_ImageMap_contact_down = newImage("media/images/contact-ImageMap_contact_do.gif");
links_ImageMap_cart_down = newImage("media/images/links-ImageMap_cart_down.gif");
links_ImageMap_links_over = newImage("media/images/links-ImageMap_links_over.gif");
links_ImageMap_links_down = newImage("media/images/links-ImageMap_links_down.gif");
boilerplate1_12_ImageMap_cart_down = newImage("media/images/boilerplate1_12-ImageMap_ca.gif");
boilerplate1_13_ImageMap_contact_down = newImage("media/images/boilerplate1_13-ImageMap_co.gif");
boilerplate1_13_ImageMap_about_down = newImage("media/images/boilerplate1_13-ImageMap_ab.gif");
boilerplate1_13_ImageMap_links_down = newImage("media/images/boilerplate1_13-ImageMap_li.gif");
preloadFlag = true;
}
}

// -->
</SCRIPT>
<!-- Boilerplate1 Preload Script Ends -->





</HEAD>

<BODY BGCOLOR=#FFFFFF ONLOAD="preloadImages();">


<div align="center">


<table border="0">
<tr><td colspan=3>

<!-- ImageReady Slices (boilerplate1.psd) -->
<TABLE WIDTH=737 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD>
<IMG SRC="media/images/spacer.gif" WIDTH=57 HEIGHT=1></TD>
<TD>
<IMG SRC="media/images/spacer.gif" WIDTH=17 HEIGHT=1></TD>
<TD>
<IMG SRC="media/images/spacer.gif" WIDTH=55 HEIGHT=1></TD>
<TD>
<IMG SRC="media/images/spacer.gif" WIDTH=9 HEIGHT=1></TD>
<TD>
<IMG SRC="media/images/spacer.gif" WIDTH=35 HEIGHT=1></TD>
<TD>
<IMG SRC="media/images/spacer.gif" WIDTH=52 HEIGHT=1></TD>
<TD>
<IMG SRC="media/images/spacer.gif" WIDTH=135 HEIGHT=1></TD>
<TD>
<IMG SRC="media/images/spacer.gif" WIDTH=333 HEIGHT=1></TD>
<TD>
<IMG SRC="media/images/spacer.gif" WIDTH=44 HEIGHT=1></TD>
</TR>
<TR>
<TD COLSPAN=7>
<IMG SRC="media/images/boilerplate1_01.gif" WIDTH=360 HEIGHT=36 BORDER=0 USEMAP="#boilerplate1_01_Map"></TD>
<TD COLSPAN=2>
<IMG SRC="media/images/boilerplate1_02.gif" WIDTH=377 HEIGHT=36></TD>
</TR>
<TR>
<TD>

<!-- NOTE: The A HREF pointing to the non-store pages has an identical banner but different path. Non-site pages are not under "store/" they are under "...images" -->

<A HREF="http://www.apartswarehouse.com/index.html"
ONMOUSEOVER="window.status='A Parts Home'; changeImages('home', 'media/images/home.gif', 'youraccount', 'media/images/youraccount.gif', 'shoppingcart', 'media/images/shoppingcart.gif', 'logo', 'media/images/logo.gif', 'aboutus', 'media/images/aboutus.gif', 'contact', 'media/images/contact.gif', 'links', 'media/images/links.gif'); return true;"
ONMOUSEOUT="window.status=''; return true;">
<IMG NAME="home" SRC="media/images/home.gif" WIDTH=57 HEIGHT=17 BORDER=0 USEMAP="#home_Map"></A></TD>


<!-- "..account.html below is a temporary file and must changed probably to "account.html" when this feature is activated-->


<TD COLSPAN=3>
<A HREF="http://www.apartswarehouse.com/account.html"
ONMOUSEOVER="window.status='Your Account'; changeImages('home', 'media/images/home.gif', 'youraccount', 'media/images/youraccount.gif', 'shoppingcart', 'media/images/shoppingcart.gif', 'logo', 'media/images/logo.gif', 'aboutus', 'media/images/aboutus.gif', 'contact', 'media/images/contact.gif', 'links', 'media/images/links.gif'); return true;"
ONMOUSEOUT="window.status=''; return true;">
<IMG NAME="youraccount" SRC="media/images/youraccount.gif" WIDTH=81 HEIGHT=17 BORDER=0 USEMAP="#youraccount_Map"></A></TD>
<TD COLSPAN=2>
<A HREF="http://www.apartswarehouse.com/index.html"
ONMOUSEOVER="window.status='Your Shopping Cart'; changeImages('home', 'media/images/home.gif', 'youraccount', 'media/images/youraccount.gif', 'shoppingcart', 'media/images/shoppingcart.gif', 'logo', 'media/images/logo.gif', 'aboutus', 'media/images/aboutus.gif', 'contact', 'media/images/contact.gif', 'links', 'media/images/links.gif'); return true;"
ONMOUSEOUT="window.status=''; return true;">
<IMG NAME="shoppingcart" SRC="media/images/shoppingcart.gif" WIDTH=87 HEIGHT=17 BORDER=0 USEMAP="#shoppingcart_Map"></A></TD>
<TD ROWSPAN=2>
<IMG SRC="media/images/spacer.gif" WIDTH=135 HEIGHT=29></TD>
<TD ROWSPAN=2>



<!-- LOGO MAP BELOW -->

<A HREF="http://www.apartswarehouse.com/index.html"
ONMOUSEOVER="window.status='A Parts Home'; changeImages('home', 'media/images/home.gif', 'youraccount', 'media/images/youraccount.gif', 'shoppingcart', 'media/images/shoppingcart.gif', 'logo', 'media/images/logo.gif', 'aboutus', 'media/images/aboutus.gif', 'contact', 'media/images/contact.gif', 'links', 'media/images/links.gif'); return true;"
ONMOUSEOUT="window.status=''; return true;">
<IMG NAME="logo" SRC="media/images/logo.gif" WIDTH=333 HEIGHT=29 BORDER=0 USEMAP="#logo_Map"></A></TD>



<TD ROWSPAN=2>
<IMG SRC="media/images/spacer.gif" WIDTH=44 HEIGHT=29></TD>
</TR>
<TR>
<TD COLSPAN=2>
<A HREF="http://www.apartswarehouse.com/aboutus.html"
ONMOUSEOVER="window.status='About Us Page'; changeImages('home', 'media/images/home.gif', 'youraccount', 'media/images/youraccount.gif', 'shoppingcart', 'media/images/shoppingcart.gif', 'logo', 'media/images/logo.gif', 'aboutus', 'media/images/aboutus.gif', 'contact', 'media/images/contact.gif', 'links', 'media/images/links.gif'); return true;"
ONMOUSEOUT="window.status=''; return true;">
<IMG NAME="aboutus" SRC="media/images/aboutus.gif" WIDTH=74 HEIGHT=12 BORDER=0 USEMAP="#aboutus_Map"></A></TD>
<TD>
<A HREF="http://www.apartswarehouse.com/contact.html"
ONMOUSEOVER="window.status='Contacts Page'; changeImages('home', 'media/images/home.gif', 'youraccount', 'media/images/youraccount.gif', 'shoppingcart', 'media/images/shoppingcart.gif', 'logo', 'media/images/logo.gif', 'aboutus', 'media/images/aboutus.gif', 'contact', 'media/images/contact.gif', 'links', 'media/images/links.gif'); return true;"
ONMOUSEOUT="window.status=''; return true;">
<IMG NAME="contact" SRC="media/images/contact.gif" WIDTH=55 HEIGHT=12 BORDER=0 USEMAP="#contact_Map"></A></TD>
<TD COLSPAN=2>
<A HREF="http://www.apartswarehouse.com/links.html"
ONMOUSEOVER="window.status='Links Page'; changeImages('home', 'media/images/home.gif', 'youraccount', 'media/images/youraccount.gif', 'shoppingcart', 'media/images/shoppingcart.gif', 'logo', 'media/images/logo.gif', 'aboutus', 'media/images/aboutus.gif', 'contact', 'media/images/contact.gif', 'links', 'media/images/links.gif'); return true;"
ONMOUSEOUT="window.status=''; return true;">
<IMG NAME="links" SRC="media/images/links.gif" WIDTH=44 HEIGHT=12 BORDER=0 USEMAP="#links_Map"></A></TD>
<TD>
<IMG NAME="boilerplate1_12" SRC="media/images/boilerplate1_12.gif" WIDTH=52 HEIGHT=12></TD>
</TR>
<TR>
<TD COLSPAN=7>
<IMG NAME="boilerplate1_13" SRC="media/images/boilerplate1_13.gif" WIDTH=360 HEIGHT=41></TD>
<TD COLSPAN=2>
<IMG SRC="media/images/boilerplate1_14.gif" WIDTH=377 HEIGHT=41></TD>
</TR>
</TABLE>


<MAP NAME="boilerplate1_01_Map">
<AREA SHAPE="rect" ALT="Home Page" COORDS="316,6,318,7" HREF="http://www.apartswarehouse.com/index.html" TARGET="_self">
<AREA SHAPE="rect" ALT="Home Page" COORDS="304,9,309,10" HREF="http://www.apartswarehouse.com/index.html" TARGET="_self">
</MAP>
<MAP NAME="home_Map">
<AREA SHAPE="rect" ALT="Home" COORDS="17,2,50,15" HREF="http://www.apartswarehouse.com/index.html" TARGET="_self"
ONMOUSEOVER="changeImages('home', 'media/images/home-ImageMap_home_over.gif'); return true;"
ONMOUSEOUT="changeImages('home', 'media/images/home-ImageMap_account_over.gif', 'logo', 'media/images/logo.gif'); return true;"
ONMOUSEDOWN="changeImages('home', 'media/images/home-ImageMap_home_down.gif', 'logo', 'media/images/logo-ImageMap_logo_over.gif'); return true;"
ONMOUSEUP="changeImages('home', 'media/images/home-ImageMap_home_over.gif', 'logo', 'media/images/logo.gif'); return true;">
<AREA SHAPE="rect" ALT="" COORDS="0,0,57,17" HREF="http://www.apartswarehouse.com/index.html">
</MAP>
<MAP NAME="youraccount_Map">
<AREA SHAPE="rect" ALT="Your Account" COORDS="6,5,75,12" HREF="http://www.apartswarehouse.com/account.html" TARGET="_self"
ONMOUSEOVER="changeImages('home', 'media/images/home-ImageMap_account_over.gif', 'youraccount', 'media/images/youraccount-ImageMap_accoun.gif'); return true;"
ONMOUSEOUT="changeImages('youraccount', 'media/images/youraccount.gif'); return true;"
ONMOUSEDOWN="changeImages('youraccount', 'media/images/youraccount-ImageMap_acc-11.gif'); return true;"
ONMOUSEUP="changeImages('youraccount', 'media/images/youraccount-ImageMap_accoun.gif'); return true;"
ONCLICK="changeImages('youraccount', 'media/images/youraccount-ImageMap_acc-12.gif');">
<AREA SHAPE="rect" ALT="" COORDS="0,0,81,17" HREF="http://www.apartswarehouse.com/account.html">
</MAP>
<MAP NAME="shoppingcart_Map">
<AREA SHAPE="rect" ALT="StoreFront" COORDS="7,5,81,15" HREF="http://www.apartswarehouse.com/store/index.html" TARGET="_blank"
ONMOUSEOVER="changeImages('home', 'media/images/home-ImageMap_account_over.gif', 'shoppingcart', 'media/images/shoppingcart-ImageMap_cart_.gif'); return true;"
ONMOUSEOUT="changeImages('shoppingcart', 'media/images/shoppingcart.gif', 'links', 'media/images/links.gif', 'boilerplate1_12', 'media/images/boilerplate1_12.gif'); return true;"
ONMOUSEDOWN="changeImages('shoppingcart', 'media/images/shoppingcart-ImageMap_ca-18.gif', 'links', 'media/images/links-ImageMap_cart_down.gif', 'boilerplate1_12', 'media/images/boilerplate1_12-ImageMap_ca.gif'); return true;"
ONMOUSEUP="changeImages('shoppingcart', 'media/images/shoppingcart-ImageMap_cart_.gif', 'links', 'media/images/links.gif', 'boilerplate1_12', 'media/images/boilerplate1_12.gif'); return true;"
ONCLICK="changeImages('shoppingcart', 'media/images/shoppingcart-ImageMap_ca-19.gif');">
<AREA SHAPE="rect" ALT="" COORDS="0,0,87,17" HREF="index.html">
</MAP>



<MAP NAME="logo_Map">
<AREA SHAPE="rect" ALT="A Parts Home" COORDS="0,0,333,29" HREF="http://www.apartswarehouse.com/index.html" TARGET="_self"
ONMOUSEOVER="changeImages('home', 'media/images/home-ImageMap_account_over.gif', 'logo', 'media/images/logo-ImageMap_logo_over.gif'); return true;"
ONMOUSEOUT="changeImages('logo', 'media/images/logo.gif'); return true;"
ONMOUSEDOWN="changeImages('logo', 'media/images/logo-ImageMap_logo_down.gif'); return true;"
ONMOUSEUP="changeImages('logo', 'media/images/logo-ImageMap_logo_over.gif'); return true;">
<AREA SHAPE="rect" ALT="" COORDS="0,0,333,29" HREF="#">
<AREA SHAPE="rect" ALT="" COORDS="0,0,333,29" HREF="http://www.apartswarehouse.com/index.html">
</MAP>



<MAP NAME="aboutus_Map">
<AREA SHAPE="rect" ALT="About A Parts" COORDS="19,2,66,9" HREF="http://www.apartswarehouse.com/aboutus.html" TARGET="_self"
ONMOUSEOVER="changeImages('home', 'media/images/home-ImageMap_account_over.gif', 'aboutus', 'media/images/aboutus-ImageMap_about_over.gif'); return true;"
ONMOUSEOUT="changeImages('home', 'media/images/home-ImageMap_account_over.gif', 'youraccount', 'media/images/youraccount.gif', 'aboutus', 'media/images/aboutus.gif', 'boilerplate1_13', 'media/images/boilerplate1_13.gif'); return true;"
ONMOUSEDOWN="changeImages('home', 'media/images/home-ImageMap_about_down.gif', 'youraccount', 'media/images/youraccount-ImageMap_about_.gif', 'aboutus', 'media/images/aboutus-ImageMap_about_down.gif', 'boilerplate1_13', 'media/images/boilerplate1_13-ImageMap_ab.gif'); return true;"
ONMOUSEUP="changeImages('home', 'media/images/home-ImageMap_account_over.gif', 'youraccount', 'media/images/youraccount.gif', 'aboutus', 'media/images/aboutus-ImageMap_about_over.gif', 'boilerplate1_13', 'media/images/boilerplate1_13.gif'); return true;">
<AREA SHAPE="rect" ALT="" COORDS="0,0,74,12" HREF="http://www.apartswarehouse.com/aboutus.html">
</MAP>
<MAP NAME="contact_Map">
<AREA SHAPE="rect" ALT="Contact A Parts" COORDS="0,0,55,12" HREF="http://www.apartswarehouse.com/contact.html" TARGET="_self"
ONMOUSEOVER="changeImages('home', 'media/images/home-ImageMap_account_over.gif', 'contact', 'media/images/contact-ImageMap_contact_ov.gif'); return true;"
ONMOUSEOUT="changeImages('youraccount', 'media/images/youraccount.gif', 'contact', 'media/images/contact.gif', 'boilerplate1_13', 'media/images/boilerplate1_13.gif'); return true;"
ONMOUSEDOWN="changeImages('youraccount', 'media/images/youraccount-ImageMap_contac.gif', 'contact', 'media/images/contact-ImageMap_contact_do.gif', 'boilerplate1_13', 'media/images/boilerplate1_13-ImageMap_co.gif'); return true;"
ONMOUSEUP="changeImages('youraccount', 'media/images/youraccount.gif', 'contact', 'media/images/contact-ImageMap_contact_ov.gif', 'boilerplate1_13', 'media/images/boilerplate1_13.gif'); return true;">
<AREA SHAPE="rect" ALT="" COORDS="0,0,55,12" HREF="http://www.apartswarehouse.com/contact.html">
</MAP>
<MAP NAME="links_Map">
<AREA SHAPE="rect" ALT="Links" COORDS="10,2,36,9" HREF="http://www.apartswarehouse.com/links.html" TARGET="_blank"
ONMOUSEOVER="changeImages('home', 'media/images/home-ImageMap_account_over.gif', 'links', 'media/images/links-ImageMap_links_over.gif'); return true;"
ONMOUSEOUT="changeImages('youraccount', 'media/images/youraccount.gif', 'shoppingcart', 'media/images/shoppingcart.gif', 'links', 'media/images/links.gif', 'boilerplate1_13', 'media/images/boilerplate1_13.gif'); return true;"
ONMOUSEDOWN="changeImages('youraccount', 'media/images/youraccount-ImageMap_links_.gif', 'shoppingcart', 'media/images/shoppingcart-ImageMap_links.gif', 'links', 'media/images/links-ImageMap_links_down.gif', 'boilerplate1_13', 'media/images/boilerplate1_13-ImageMap_li.gif'); return true;"
ONMOUSEUP="changeImages('youraccount', 'media/images/youraccount.gif', 'shoppingcart', 'media/images/shoppingcart.gif', 'links', 'media/images/links-ImageMap_links_over.gif', 'boilerplate1_13', 'media/images/boilerplate1_13.gif'); return true;">
<AREA SHAPE="rect" ALT="" COORDS="0,0,44,12" HREF="http://www.apartswarehouse.com/links.html">
</MAP>
<!-- End ImageReady Slices -->
</td></tr>


<tr><td colspan=3> <!-- UNDER BOILERPLATE -->







</td></tr>

<!-- New Row -->
<tr><td colspan=2 align="left" height="15px"></td><td colspan="1"><script type="text/javascript" language="JavaScript">
function DisplayLogName(name) {
var cookies=document.cookie;
var start = cookies.indexOf(name + "=");
var name = "";
var start1;
var end1;
var tmp;
var signed_in = -1;

if (start != -1) {
start = cookies.indexOf("=", start) +1;
var end = cookies.indexOf("|", start);
if (end != -1) {
signed_in = cookies.indexOf("|yes", start);
name = unescape(cookies.substring(start,end-1));
document.write("<b>" + name + "</b>");
if (signed_in != -1) {
document.write("<br>");
document.write("•<a href=\"http://shopsite.bizland.com/ss8.1/sc/order.cgi?func=3&storeid=*22b671fa79227f151ab9d104b626853d4ecb26&html_reg=html\">View/Edit Account</a>");
document.write("<br>");
document.write("• <a href=\"http://shopsite.bizland.com/ss8.1/sc/order.cgi?func=4&storeid=*22b671fa79227f151ab9d104b626853d4ecb26&html_reg=html\">Sign Out</a>");
document.write("<br>");
}
else
{
document.write(" - You are no longer signed in<br>");
}
}
}
if (signed_in == -1) {
document.write("• New Customer? <a href=\"http://shopsite.bizland.com/ss8.1/sc/order.cgi?func=1&storeid=*22b671fa79227f151ab9d104b626853d4ecb26&html_reg=html\">Click here to Register</a>");
document.write("<br>");
document.write("• Returning Customer? <a href=\"http://shopsite.bizland.com/ss8.1/sc/order.cgi?func=2&storeid=*22b671fa79227f151ab9d104b626853d4ecb26&html_reg=html\">Click here to Sign In</a>");
document.write("<br>");
}
}
DisplayLogName("ss_reg_0001240252");
</SCRIPT>
</td></tr>


<tr><td align="center" valign="top" width="198" bgcolor="#ffffcc">
<!-- LEFT COLUMN > -->



<!-- Minicart Include file Tags here screwed up the page so I pasted the whole script here-->

<script language="javascript">
/**** Mini Cart Subtotal Display ****/

/**** REPLACE THE VALUES IN THESE LINES ****/
var serialnum="0000007011";
var cartURL="http://win2k/70/sc/order.cgi?storeid=*1a484557c5eb4b795d9463eed85a11&function=show";
var textColor="black";
var backgroundColor="transparent";
var showCart="yes"; // only "yes" or "no"
var cartColor="black"; // only "black" or "white"
var textAlign="left"; // only "left" "right" or "center"

/**** DON'T CHANGE ANYTHING BELOW HERE ****/

var linkColor=textColor;
var cookies=document.cookie; //read in all cookies
var start = cookies.indexOf("ss_cart_" + serialnum + "=");
var cartvalues = "";
var linecount = 0;
var start1;
var end1;
var tmp;

// Start Output
document.write("<div style=\"color:" + textColor + ";");
document.write("background-color:" + backgroundColor + ";");
document.write("text-align:" + textAlign + ";");
document.write("font-family: Verdana, Arial, Helvetica, sans-serif;");
document.write("font-size: 8pt;");
document.write("\">\n");
if (showCart == "yes")
{
document.write("<a href=\"");
document.write(cartURL + "\"");
document.write(">");
document.write("<img src=\"./media/themesmedia/cart-" + cartColor + ".gif\" border=\"0\" align=\"top\">");
document.write("</a> ");
}

if (start == -1) //No cart cookie
{
document.write("<a href=\"" + cartURL + "\" style=\"color:" + linkColor + "\">");
document.write("0 Items");
document.write("</a> ");
document.write("</div>\n");
}
else //cart cookie is present
{
start = cookies.indexOf("=", start) +1;
var end = cookies.indexOf(";", start);

if (end == -1)
{
end = cookies.length;
}

cartvalues = unescape(cookies.substring(start,end)); //read in just the cookie data

start = 0;
while ((start = cartvalues.indexOf("|", start)) != -1)
{
start++;
end = cartvalues.indexOf("|", start);
if (end != -1)
{
linecount++;

if (linecount == 2) // Total Quantity of Items
{
tmp = cartvalues.substring(start,end);
colon = tmp.indexOf(":", 0);
document.write("<a href=\"" + cartURL + "\" style=\"color:" + linkColor + "\">");
document.write(tmp.substring(colon+1,end - start));
if ((tmp.substring(colon+1,end - start)) == 1 )
{
document.write(" Item");
}
else
{
document.write(" Items");
}
document.write(": ");
}

if (linecount == 3) // Product Subtotal
{
tmp = cartvalues.substring(start,end);
colon = tmp.indexOf(":", 0);
document.write(tmp.substring(colon+1,end - start));
document.write("</a>");
}

start = end;
}
else
break;
}
} // end while loop

//close minicart HTML
document.write("</div>\n");
</script>




<!-- <h3>Store Departments</h3> -->


<!-- No Links Loop Needed below since links are just hypertext -->


<br><hr size="1" width="80%">
<a name="Accessories " id="accessories " href="accessories.html" target="_self" title="Accessories Storefront Page">
Accessories
</a><hr size="1" width="70%">


<a name="Brooms & Scrapers " id="brooms " href="brooms.html" target="_self" title="Brooms & Scrapers Storefront Page">
Brooms &amp; Scrapers
</a><br><hr size="1" width="90%">


<a name="Decals" id="decals " href="decals.html" target="_self" title="Decals Storefront Page">
Decals &amp; Signs
</a><hr size="1" width="90%">


<a name="electrical " id="electrical " href="electric.html" target="_self" title="Electrical Storefront Page">
Electrical
</a><hr size="1" width="90%">


<a name="Exhaust " id="exhaust " href="exhaust.html" target="_self" title="Exhaust Storefront Page">
Exhaust
</a><hr size="1" width="90%">


<a name="First Aid " id="firstaid " href="firstaid.html" target="_self" title="First Aid Storefront Page">
First Aid
</a><hr size="1" width="90%">


<a name="Flooring " id="Flooring " href="flooring.html" target="_self" title="Flooring Storefront Page">
Flooring
</a><hr size="1" width="90%">


<a name="Gloves " id="gloves " href="gloves.html" target="_self" title="Gloves Storefront Page">
Gloves
</a><hr size="1" width="90%">


<a name="Heater Parts " id="heater parts " href="heaters.html" target="_self" title="Heater Parts Storefront Page">
Heater Parts
</a><hr size="1" width="90%">


<a name="Lamps " id="lamps " href="lamps.html" target="_self" title="Lamps Storefront Page">
Lamps
</a><hr size="1" width="90%">


<a name="sealants" id="sealants " href="sealants.html" target="_self" title="Lubricants & Sealants Store Page">
Solvents, Lubricants, Paint &amp; Sealants
</a><hr size="1" width="90%">


<a name="mirrors" id="mirrors" href="mirrors.html" target="_self" title="Mirrors Store Page">
Mirrors
</a><hr size="1" width="90%">


<a name="Motors and Pumps" id="motors " href="motors_pumps.html" target="_self" title="Motors & Pumps Storefront Page">
Motors &amp; Pumps
</a><br><hr size="1" width="90%">


<a name="Radios and Cameras" id="radios " href="radios_cams.html" target="_self" title="Radios & Cameras Storefront Page">
Radios &amp; Cameras
</a><br><hr size="1" width="90%">


<a name="roofvents" id="roofvents" href="roofvents.html" target="_self" title="Roof Vents Store Page">
Roof Vents / Emergency Exits
</a><hr size="1" width="90%">


<a name="seating" id="seating" href="seating.html" target="_self" title="Seating Store Page">
Seating
</a><hr size="1" width="90%">


<a name="stoparms" id="stoparms" href="stop_arms.html" target="_self" title="Stop Arms Store Page">
Stop &amp; Crossing Arms
</a><hr size="1" width="90%">


<a name="specialneeds" id="specialneeds" href="specialneeds.html" target="_self" title="Special Needs Store Page">
Special Needs
</a><hr size="1" width="90%">


<a name="tools" id="tools" href="tools.html" target="_self" title="Tools Store Page">
Tools
</a><br><hr size="1" width="90%">

<a name="wipers" id="wipers" href="wipers.html" target="_self" title="Wipers Store Page">
Wipers
</a><br>
<br><br><br>




</td>


<!-- SPACER CELL -->
<td width="15"></td>


<td width="521" align="left" valign="top"><!-- CONTENT CELL -->
<div id="content">


<!-- Empty field [Text1] -->
<p>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</p>

<table border="1" bordercolordark="#ffffcc" bordercolorlight="#ffffff" cellpadding="1" cellspacing="2">
</table>
<!-- Empty field [Text2] -->

</div>

<!-- CONTENT CELL ENDS--></td></tr>

<!-- Footer Nav Begins-->

</table>
<table><tr><td width="700"><hr size="1"></td></tr></table>
<!-- Footer Nav Begins-->

<table border=0>
<tr><td width="519" align="center">
<div id="tabletext1">

<a name="A Parts Home" id="A Parts Home" href="http://www.apartswarehouse.com/links.html" title="Home Page">Home</a>
| <a name="Account" id="Account" href="http://www.apartswarehouse.com/account.html" title="User Account">Your Account</a>
| <a name="StoreFront" id="StoreFront" href="http://www.apartswarehouse.com/store/index.html" target="_blank" title="StoreFront">StoreFront</a>
| <a name="About Us" id="About Us" href="http://www.apartswarehouse.com/aboutus.html" title="About Us">About Us</a>
| <a name="Contact Us " id="Contact Us " href="http://www.apartswarehouse.com/contact.html" title="Contact">Contact Us</a>
| <a name="Links" id="Links" href="http://www.apartswarehouse.com/links.html" title="Links">Links</a>
</div></td></tr>

<tr><td width="519" align="center"><div id="tabletext2">Copyright 2006, A Parts Warehouse.</div></td></tr>
</table>

<!-- Empty field [Text3] -->
</body></div>
</html>
interwoven
 
Posts: 7
Joined: Fri Jun 08, 2007 9:11 pm

Postby Jim » Fri Jun 22, 2007 12:02 pm

Comments in the html source like <!-- Empty field [Text1] --> just means that you asked for the contents of a field to be displayed (in this case using the tag [-- page.text1 --] ) but there is no value for that field defined in the database for that page.

Please only quote relevant parts of the page or template when making a post. All the minicart code, hard coded menus, image maps etc just make it harder to find where pertinent information is.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Postby interwoven » Fri Jun 22, 2007 12:40 pm

Sorry about the unnessecary code, Ill leave that out next time. I think you helped me solve the issue though Jim. When I took out those spaces in the template's Define Links section and published, my links appeared for the sub pages. Why would that be-any ideas?

Thanks again for all your help.
interwoven
 
Posts: 7
Joined: Fri Jun 08, 2007 9:11 pm


Return to User Forum

Who is online

Users browsing this forum: No registered users and 44 guests