Speedy26
02-21-2002, 01:55 PM
Hello <img border="0" title="" alt="[Smile]" src="smile.gif" /> <br /><br />i just purchased the new UCJ script and im confused about using multiple main pages. <br /><br />my main pages are ....<br />main.shtml. index.shtml and free/main.shtml but dont really understand the Multiple Main Pages help section. my last script i just pasted the SSI to each page i wanted to track. sounds like i need to make one page with just the SSI code, then use the code in an iframe and stick the iframe on all pages, does that sound right?<br /><br />MULTIPLE MAIN PAGES HELP<br />Create the Pages main1.html, main2.html, main3.html etc however DO NOT put your SSI code on those pages.<br /><br />Put the following on a test page such as testm.shtml so that you can test the multiple main feature before you put it live.<br /><br />html> head> title>Multiple Mains</title></head><br /><!--#exec cmd="YOUR_REGULAR_PATH_FOR_YOUR_SSI_CODE/cgi-bin/ucj/ucjref.cgi"--><br /> frameset rows="0,*" frameborder=no border=0 framespacing=0 leftmargin=0><br /> frame src="blank.html"><br /><!--#exec cmd="YOUR_REGULAR_PATH_FOR_YOUR_SSI_CODE/cgi-bin/ucj/ucjmult.cgi"--><br />/frameset><br />noframes><br /> body bgcolor=black text=white link=white vlink=white alink=white><br /> a href="main1.html">Click to Enter</a><br /> /body><br />/noframes><br />/html> <br /><br />Make sure you put the correct path in the <!--#exec cmd statement that you replace "YOUR_REGULAR_PATH_FOR_YOUR_SSI_CODE" with your actual path you use.<br /><br />The zero sized blank.html frame is for compatibility with older versions of Netscape.<br /><br />Also in the ucjadmin.cgi in the settings make sure you set the number of main pages you've created.<br /><br />Now test the pages .. if they work then rename testm.shtml to index.shtml and then you're away.