<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>ProductCart Shopping Cart Software Forums : Different Headers /entrancepage</title>
  <link>https://forum.productcart.com/</link>
  <description><![CDATA[This is an XML content feed of; ProductCart Shopping Cart Software Forums : Customizing ProductCart : Different Headers /entrancepage]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 10 Apr 2026 17:33:03 +0000</pubDate>
  <lastBuildDate>Mon, 09 Jul 2007 10:54:53 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forum.productcart.com/RSS_post_feed.asp?TID=943</WebWizForums:feedURL>
  <image>
   <title><![CDATA[ProductCart Shopping Cart Software Forums]]></title>
   <url>https://forum.productcart.com/forum_images/pc_logo_50.png</url>
   <link>https://forum.productcart.com/</link>
  </image>
  <item>
   <title><![CDATA[Different Headers /entrancepage :  I&amp;#039;ve not tried it but how...]]></title>
   <link>https://forum.productcart.com/different-headers-entrancepage_topic943_post2732.html#2732</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=574">GavinB</a><br /><strong>Subject:</strong> 943<br /><strong>Posted:</strong> 09-July-2007 at 10:54am<br /><br />I've not tried it but how about this...<br><br>Since every page includes the header.asp and footer.asp you need to be making that the page to decide what to show.<br>I would maybe change my header.asp to have this logic at the top to include the correct header file...<br>&lt;%<br>If session("entrancepage")="type1" then<br>%&gt;<br>&lt;!--#include file="header1.asp"--&gt;<br>&lt;%Else%&gt;<br>&lt;!--#include file="header2.asp"--&gt;<br>&lt;% End if%&gt;<br><br>header1.asp and header2.asp would be the actual template pages and header.asp would just become a switch for choosing which one to show. You would do the same for footer.asp too.<br><br>You will also need some code to set the session("entrancepage") variable initially.<br><br>(make sure you back up any files before you go changing them)<br><span style="font-size:10px"><br /><br />Edited by GavinB - 09-July-2007 at 10:55am</span>]]>
   </description>
   <pubDate>Mon, 09 Jul 2007 10:54:53 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/different-headers-entrancepage_topic943_post2732.html#2732</guid>
  </item> 
  <item>
   <title><![CDATA[Different Headers /entrancepage : Hi! I want to make two different...]]></title>
   <link>https://forum.productcart.com/different-headers-entrancepage_topic943_post2727.html#2727</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=597">@nna</a><br /><strong>Subject:</strong> 943<br /><strong>Posted:</strong> 09-July-2007 at 7:29am<br /><br /><P>Hi!</P><P>I want to make two different graphical interfaces but use the same database for both of them (same products, same inventory, same customers etc). This can be done by using different header and footer -pages and load different depending what entrancepage the customer uses. I got the tip&nbsp;to set a session variable and use it to determine which files to load. </P><P>Has anyone done this, and in that case - how did you do this? Any else suggestions?</P><P>Thanks, </P><P>Anna / Sweden <IMG src="https://forum.productcart.com/smileys/smiley4.gif" border="0">&nbsp;</P>]]>
   </description>
   <pubDate>Mon, 09 Jul 2007 07:29:26 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/different-headers-entrancepage_topic943_post2727.html#2727</guid>
  </item> 
 </channel>
</rss>