We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5703
    • 3 Posts
    Hey,

    New to MODx. I am currently taking www.whosurpaddy.com and making a Toronto version for them. I have all the files (images, swfs, etc) that I need and I have installed MODx on another server. However, I don’t get where I am supposed to get my index page that I copy and paste into the HTML box. I have all the files from the original site on my PC and have gone through them but to no avail. Please help? Where can I locate this file?

    Thanks in advance,

    Conor
      • 5703
      • 3 Posts
      Alright I got it figured out, turns out it was right under my eyes the whole time.

      My next problem is that the flash files won’t load: http://stmikesgfc.com/wup/ I can’t see why, unless I’m missing something in the code, but the flash files are in their proper folders so...

      My index page code is as follows:

      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
      "http://www.w3.org/TR/html4/loose.dtd">
      <html>
      <head>
      <title>Who's Ur Paddy, Toronto</title>
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
      <link href="assets/templates/wup/style/wup.css" rel="stylesheet" type="text/css">
      
      <script type="text/javascript" src="assets/templates/wup/js/swfobject.js"></script>
      
      </head>
      
      <body>
      <div id="header" style="background-image: url(assets/templates/wup/images/header_tor.jpg); ">
      <div id="login_home" style="background-image: url(assets/templates/wup/images/login_bg_home_tor.jpg); "><span style="font-size:14px; ">Sign In</span>
        <table width="100%"  border="0" cellspacing="0" cellpadding="2">
          <tr>
            <td width="25%">Username</td>
            <td width="75%" class="field"><input name="username" type="text" size="14" /></td>
          </tr>
          <tr>
            <td>Password</td>
            <td class="field"><input name="password" type="text" size="14" /></td>
          </tr>
          <tr>
            <td> </td>
            <td><img src="assets/templates/wup/images/button_login.gif" alt="" /></td>
          </tr>
        </table>
        <a href="#">Forget Your Password?</a><br>or<br> 
        <img src="assets/templates/wup/images/button_register.gif" alt="" />
      </div>
      <div id="flash_banner"></div>
        	<script type="text/javascript">
      		// <![CDATA[
      		var so = new SWFObject("assets/templates/wup/banner.swf", "banner", "325", "200", "8", "");
      		so.addParam("scale", "noscale");
      		so.addParam("quality", "high");
      		so.addParam("menu", "false");
      		so.addParam("salign", "t");
      		so.write("flash_banner");
      		// ]]>
      	</script>
      </div>
      
      
      <div id="main">
      <div id="flash_nav"></div>
      
        	<script type="text/javascript">
      		// <![CDATA[
      		var so = new SWFObject("assets/templates/wup/main_nav.swf", "menu", "310", "463", "8", "");
      		so.addVariable("city", 2);
      		so.addParam("scale", "noscale");
      		so.addParam("quality", "high");
      		so.addParam("menu", "false");
      		so.addParam("salign", "t");
      		so.write("flash_nav");
      		// ]]>
      	</script>
      
      <div id="dummy"></div>
      </div>
      </body>
      </html>
      
        • 5703
        • 3 Posts
        Bah, thanks man. Stupid error by me.

        Now it seems my div’s are messed up.

        www.stmikesgfc.com/wup/

        <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
        <html>
        <head>
        <title>Who's Ur Paddy, Toronto</title>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
        <link href="assets/templates/wup/style/general.css" rel="stylesheet" type="text/css">
        
        <script type="text/javascript" src="assets/templates/wup/js/swfobject.js"></script>
        
        </head>
        
        <body>
        <div id="header" style="background-image: url(assets/templates/wup/images/header_tor.jpg); ">
        <div id="login_home" style="background-image: url(assets/templates/wup/images/login_bg_home_tor.jpg); "><span style="font-size:14px; ">Sign In</span>
          <table width="100%"  border="0" cellspacing="0" cellpadding="2">
            <tr>
              <td width="25%">Username</td>
              <td width="75%" class="field"><input name="username" type="text" size="14" /></td>
            </tr>
            <tr>
              <td>Password</td>
              <td class="field"><input name="password" type="text" size="14" /></td>
            </tr>
            <tr>
              <td> </td>
              <td><img src="assets/templates/wup/images/button_login.gif" alt="" /></td>
            </tr>
          </table>
          <a href="#">Forget Your Password?</a><br>or<br> 
          <img src="assets/templates/wup/images/button_register.gif" alt="" />
        </div>
        <div id="flash_banner"></div>
          	<script type="text/javascript">
        		// <![CDATA[
        		var so = new SWFObject("assets/templates/wup/swf/bannerhome.swf", "banner", "325", "200", "8", "");
        		so.addParam("scale", "noscale");
        		so.addParam("quality", "high");
        		so.addParam("menu", "false");
        		so.addParam("salign", "t");
        		so.write("flash_banner");
        		// ]]>
        	</script>
        </div>
        
        
        <div id="main">
        <div id="flash_nav"></div>
        
          	<script type="text/javascript">
        		// <![CDATA[
        		var so = new SWFObject("assets/templates/wup/swf/main_nav.swf", "menu", "310", "463", "8", "");
        		so.addVariable("city", 2);
        		so.addParam("scale", "noscale");
        		so.addParam("quality", "high");
        		so.addParam("menu", "false");
        		so.addParam("salign", "t");
        		so.write("flash_nav");
        		// ]]>
        	</script>
        
        <div id="dummy"></div>
        </div>
        </body>
        </html>