Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 4 of 4

Thread: Can't get content on store page, but other pages work fine

  1. #1
    joecalardo is offline Member
    Join Date
    May 2011
    Posts
    61

    Default Can't get content on store page, but other pages work fine

    Hello everyone, having a problem, im trying to get my google translator amongst other buttons and information on my right column ...My buttons and translator show up on product pages, but when it comes to the actual store front page, they do not show up. I modified the template file in both store folder and the skins folder, nothing.

    Here is an example :

    http://www.farralane.com/store/p-116...neodymium.aspx

    As you can see, you can see the translator and the Rental Sheet button .... and also the facebook twitter and credit buttons at the bottom of the page


    But on the store front page - there is nothing there on the right column or bottom footer


    http://www.farralane.com/store/


    Anyone know if im editing the wrong file, or if there is another issue?

  2. #2
    AspDotNetStorefront Staff - Tammy is offline Super Moderator
    Join Date
    Aug 2010
    Posts
    167

    Default

    It looks like they appear on every page in the store EXCEPT the home page (http://www.farralane.com/store), which means you need to make those additions to the hometemplate.master file as well.

  3. #3
    joecalardo is offline Member
    Join Date
    May 2011
    Posts
    61

    Default

    I made the changes in the hometemplate file as well...Idk if it's a master file ? (On V7)

    Here is the code for hometemplate.ascx in the skins folder :

    Code:
    <%@ Control Language="c#" AutoEventWireup="false" Inherits="AspDotNetStorefront.TemplateBase" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
    <%@ Register TagPrefix="ComponentArt" Namespace="ComponentArt.Web.UI" Assembly="ComponentArt.Web.UI" %>
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>(!METATITLE!)</title>
    (!CURRENCY_LOCALE_ROBOTS_TAG!)
    <meta name="description" content="(!METADESCRIPTION!)">
    <meta name="keywords" content="(!METAKEYWORDS!)">
    <link rel="stylesheet" href="style.css" type="text/css">
    <script type="text/javascript" src="jscripts/formValidate.js"></script>
    <script type="text/javascript" src="jscripts/swfobject.js"></script>
    <script type="text/javascript" src="includes/applesearch.js"></script>
    <link rel="stylesheet" type="text/css" href="includes/default.css" id="default"  />
    <!-- dummy stylesheet - href to be swapped -->
    <link rel="stylesheet" type="text/css" href="includes/dummy.css" id="dummy_css"  />
    
    
    <style type="text/css">
    a {
    		text-decoration: underline;
    		color: #000000;
    		}
    		
    a:hover {
    		color: #333333; 
    		}
    .maincontentOutline {
    	background-attachment: scroll;
    	background-repeat: repeat-y;
    	background-image: url(skins/Skin_(!SKINID!)/images/headers/contentoutlineRepeat.jpg);
    }
    #flashcontent {
    	width: 979px;
    	height: 40px;
    	float: left;
    	}
    .submenu {
    	font-family: Verdana, Arial, Helvetica, sans-serif;
    	font-size: 11px;
    	color: #FFFFFF;
    }
    .submenu a {
    	color: #c7c7c7;
    	text-decoration: none;
    		}
    		
    .submenu a:hover {
    	color: #FFFFFF;
    	text-decoration: none;
    		}
    .sidecart {
    	font-family: Verdana, Arial, Helvetica, sans-serif;
    	font-size: 10px;
    	color: #333333;
    	margin-left: 7px;
    	padding-left: 7px;
    }
    .leftmenu {
    	background-attachment: scroll;
    	background-image: url(skins/Skin_(!SKINID!)/images/headers/browsebggrad.jpg);
    	background-repeat: no-repeat;
    	background-position: left top;
    }
    </style>
    </head>
    
    <body>
    (!XmlPackage Name="skin.adminalert.xml.config"!)
    (!PAGEINFO!)
    <table width="979" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="979"><table width="980" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="979">&nbsp;</td>
          </tr>
          <tr>
            <td><div id="flashcontent"><a href="#"><img src="skins/Skin_(!SKINID!)/images/home.jpg" alt="Home" width="144" height="40" border="0" /></a><a href="#"><img src="skins/Skin_(!SKINID!)/images/onlinecatalog(dark).jpg" alt="Online Catalog" width="138" height="40" border="0" /></a><a href="#"><img src="skins/Skin_(!SKINID!)/images/corporate.jpg" alt="Corporate" width="138" height="40" border="0" /></a><a href="#"><img src="skins/Skin_(!SKINID!)/images/rentals.jpg" alt="Rentals" width="138" height="40" border="0" /></a><a href="#"><img src="skins/Skin_(!SKINID!)/images/production.jpg" alt="Production" width="138" height="40" border="0" /></a><a href="#"><img src="skins/Skin_(!SKINID!)/images/repairs.jpg" alt="Repairs" width="138" height="40" border="0" /></a><a href="#"></a><img src="skins/Skin_(!SKINID!)/images/contact.jpg" width="145" height="40" /></div>
            <script type="text/javascript">
    		// <![CDATA[
    		
    		var so = new SWFObject("skins/Skin_(!SKINID!)/farralanemenu.swf", "sotester", "979", "40", "8", "#FFFFFF");
    		so.addVariable("flashVarText", "Online Catalog"); // this line is optional, but this example uses the variable and displays this text inside the flash movie
    		so.write("flashcontent");
    		
    		// ]]>
    	</script></td>
          </tr>
          <tr>
            <td><table width="979" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="14"><img src="skins/Skin_(!SKINID!)/images/headers/subnavcorner.jpg" width="14" height="28" /></td>
                <td width="951" background="skins/Skin_(!SKINID!)/images/headers/spacerbg.jpg" class="submenu"><a href="#">Lighting</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="#">Audio</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="#">Video</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="specialeffects">Special Effects</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="#">Rigging</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="trusscases">Truss Cases</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="#">Racks</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="#">Expendibles</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="#">Accessories</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="#">Programming</a> </td>
                <td width="14"><img src="skins/Skin_(!SKINID!)/images/headers/subnavcorner(right).jpg" width="14" height="28" /></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td><img src="skins/Skin_(!SKINID!)/images/spacers/1pxspacer.gif" width="1" height="1" /></td>
          </tr>
          <tr>
            <td><table width="979" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="187" height="920" valign="top"><table width="187" " border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td><form action="http://farralane.com.mytempweb.com/store/search.aspx" method="post" name="AdvSearchForm" id="AdvSearchForm">
    		 <fieldset>
    		  <label for="SearchTerm">Search</label>
    		  <input name="SearchTerm" type="text" id="SearchTerm" value="" maxlength="70" />
    		  <input type="submit" name="submitquery" id="submitquery" value="Go" /> 
    		 </fieldset>
    		</form></td>
                  </tr>
                  <tr>
                    <td><table width="187" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td width="376"><img src="skins/Skin_(!SKINID!)/images/headers/browse.jpg" width="187" height="44" /></td>
                      </tr>
                      <tr>
                        <td class="leftmenu"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td>(!XmlPackage Name="rev.categories.xml.config"!)</td>
                          </tr>
                          <tr>
                            <td>&nbsp;</td>
                          </tr>
                        </table>
                          <p>&nbsp;</p>
                          <p>&nbsp;</p>
                          <p>&nbsp;</p>
                          <p>&nbsp;</p>
                          <p>&nbsp;</p>
                          <p>&nbsp;</p>
                          <p>&nbsp;</p>
                          <p>&nbsp;</p>
                          <p>&nbsp;</p>
                          <p>&nbsp;</p>                      <p>&nbsp;</p></td>
                      </tr>
                    </table></td>
                  </tr>
                  
                  
                </table></td>
                <td valign="top" width="688"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td colspan="3"><img src="skins/Skin_(!SKINID!)/images/spacers/1pxspacer.gif" width="1" height="1"></td>
                    </tr>
                  <tr>
                    <td rowspan="2"><img src="skins/Skin_(!SKINID!)/images/spacers/1pxspacer.gif" width="4" height="1"></td>
                    <td><img src="skins/Skin_(!SKINID!)/images/ads/adcomp.jpg" width="616" height="314"></td>
                    <td rowspan="2"><img src="skins/Skin_(!SKINID!)/images/spacers/1pxspacer.gif" width="4" height="1"></td>
                  </tr>
                  <tr>
                    <td><img src="skins/Skin_(!SKINID!)/images/spacers/1pxspacer.gif" width="1" height="4"></td>
                    </tr>
                  <tr>
                    <td>&nbsp;</td>
                    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td><img src="skins/Skin_(!SKINID!)/images/headers/products.jpg" width="616" height="45"></td>
                      </tr>
                      <tr>
                        <td class="maincontentOutline">
    					<div id="content">
                    <!-- CONTENTS START -->
                    <asp:PlaceHolder ID="PageContent" runat="server"></asp:PlaceHolder>
                    <!-- CONTENTS END -->
                </div>
    					</td>
                      </tr>
                      <tr>
                        <td><img src="skins/Skin_(!SKINID!)/images/headers/contentoutlineBottom.jpg" width="616" height="10"></td>
                      </tr>
                    </table></td>
                    <td>&nbsp;</td>
                  </tr>
                  <tr>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                  </tr>
                  <tr>
                    <td>&nbsp;</td>
                    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td>&nbsp;</td>
                      </tr>
                      <tr>
                        <td class="maincontentOutline"><p>(!XmlPackage Name="page.recentadditions.xml.config"!)</p>
                            <p>&nbsp;</p>
                          <p>&nbsp;</p>
                          <p>&nbsp;</p>
                          <p>&nbsp;</p>
                          <p>&nbsp;</p>
                          <p>&nbsp;</p></td>
                      </tr>
                      <tr>
                        <td><img src="skins/Skin_(!SKINID!)/images/headers/contentoutlineBottom.jpg" width="616" height="10"></td>
                      </tr>
                    </table></td>
                    <td>&nbsp;</td>
                  </tr>
                </table></td>
                <td valign="top" width="139"><table width="169" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td><img src="skins/Skin_(!SKINID!)/images/headers/shoppingcartbg(top).jpg" width="169" height="8" /></td>
                  </tr>
                  <tr>
                    <td background="skins/Skin_(!SKINID!)/images/headers/shoppingcart(inbetween).jpg"><table width="169" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td width="169"><img src="skins/Skin_(!SKINID!)/images/headers/shoppingcart.jpg" width="169" height="18" /></td>
                        </tr>
                      <tr>
                        <td height="18" class="sidecart">(!NUM_CART_ITEMS!) items in your cart </td>
                        </tr>
                      <tr>
                        <td height="17" class="sidecart"><!-- Cart Number: '(!NUM_CART_ITEMS!)' -->
                          <a href="shoppingcart.aspx">View Cart</a></td>
                        </tr>
                      
                    </table></td>
                  </tr>
                  <tr>
                    <td><img src="skins/Skin_(!SKINID!)/images/headers/shoppingcart(bottom).jpg" width="169" height="20" /></td>
                  </tr>
                  <tr>
                    <td><img src="skins/Skin_(!SKINID!)/images/spacers/1pxspacer.gif" width="1" height="1"></td>
                  </tr>
                  <tr>
                    <td><img src="skins/Skin_(!SKINID!)/images/spacers/1pxspacer.gif" width="1" height="1"></td>
                  </tr>
                  <tr>
                    <td><img src="skins/Skin_(!SKINID!)/images/ads/farravip.jpg" width="169" height="118"></td>
                  </tr>
                  <tr>
                    <td><img src="skins/Skin_(!SKINID!)/images/spacers/1pxspacer.gif" width="1" height="1"></td>
                  </tr>
                  <tr>
                    <td><img src="skins/Skin_(!SKINID!)/images/ads/priceMatch.jpg" width="169" height="113"></td>
                  </tr>
                  <tr>
                    <td><img src="skins/Skin_(!SKINID!)/images/spacers/1pxspacer.gif" width="1" height="1"></td>
                  </tr>
                  <tr>
                    <td><a href="http://www.farralane.com/RentalPrices.pdf" target="_blank"><img src="skins/Skin_(!SKINID!)/images/ads/access.jpg" width="169" height="90" border="0"></a></td>
                  </tr>
                  <tr>
                    <td><div id="google_translate_element"></div><script>
    function googleTranslateElementInit() {
      new google.translate.TranslateElement({
        pageLanguage: 'en'
      }, 'google_translate_element');
    }
    </script><script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script></td>
                  </tr>
                  <tr>
                    <td>&nbsp;</td>
                  </tr>
                </table></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
    </table>
    </body>
    </html>
    Is there another hometemplate im not seeing somewhere ? As you can see I added the code where it should be displaying (at least the right column )

    but where is the footer information ???? Now that I just noticed there is no footer information in the hometemplate

  4. #4
    joecalardo is offline Member
    Join Date
    May 2011
    Posts
    61

    Default

    NEvermind solved, looked in my appconfig - the template being called was a different name than the default hometemplate, just edited that file, viola! We're good - thanks for the help guys.

    You guys can close now