PDA

View Full Version : New UCJ script can someone help me?


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&gt; head&gt; title&gt;Multiple Mains&lt;/title&gt;&lt;/head&gt;<br />&lt;!--#exec cmd="YOUR_REGULAR_PATH_FOR_YOUR_SSI_CODE/cgi-bin/ucj/ucjref.cgi"--&gt;<br /> frameset rows="0,*" frameborder=no border=0 framespacing=0 leftmargin=0&gt;<br /> frame src="blank.html"&gt;<br />&lt;!--#exec cmd="YOUR_REGULAR_PATH_FOR_YOUR_SSI_CODE/cgi-bin/ucj/ucjmult.cgi"--&gt;<br />/frameset&gt;<br />noframes&gt;<br /> body bgcolor=black text=white link=white vlink=white alink=white&gt;<br /> a href="main1.html"&gt;Click to Enter&lt;/a&gt;<br /> /body&gt;<br />/noframes&gt;<br />/html&gt; <br /><br />Make sure you put the correct path in the &lt;!--#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.

Tim
02-21-2002, 04:58 PM
Hit me up on ICQ for support. <img border="0" title="" alt="[Wink]" src="wink.gif" />