PhpLayers - Submenus not showing.

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
djkirstyjay
Forum Members
Forum Members
Posts: 206
Joined: Tue Oct 25, 2005 4:50 pm

PhpLayers - Submenus not showing.

Post by djkirstyjay »

I have created my own template and inserted the phplayers module, however now my submenus won't show. I have looked through the code and as far as I can see it should work... I could do with a fresh pair of eyes to give it the once over!

Here is the code for the content :

Code: Select all


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >

<head>
<title>Canarian Mum - {title}</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
{stylesheet}

<link rel="shortcut icon" href="favicon.ico" >

</head>

</__body bgcolor="#FFFFFF" background="http://www.canarianmum.com/images/bg.gif" leftmargin="0" topmargin="0" marginwidth="0" marginheight="10">
<div align="center">
  <table width="95%" border="1" cellpadding="0" cellspacing="0" bordercolor="#FFCC00" bgcolor="#FFFFFF">
    <tr> 
      <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="5">
          <tr> 
            <td align="left" valign="top"><a href="http://www.canarianmum.com"><img src="http://www.canarianmum.com/images/title.gif" width="299" height="50" border="0"></a></td>
            <td width="350" align="right" valign="top">
			
			 <__iframe src="http://www.canarianmum.com/ads/image.php?size_id=4" width="350"  height="50"  scrolling="no" frameborder="0" marginheight="0"  marginwidth="0" vspace="0" hspace="0"><br><font size=-1></__iframe> 
			
			</td>
          </tr>
        </table></td>
    </tr>
    <tr> 
      <td valign="top"> <table width="100%" border="0" cellpadding="0" cellspacing="0" bordercolor="#FFCC00" background="http://www.canarianmum.com/images/bg_kidspics.gif" bgcolor="#FFCC00">
          <tr> 
            <td><div align="center"><img src="http://www.canarianmum.com/images/kids1.jpg" width="100" height="100"></div></td>
            <td><div align="center"><img src="http://www.canarianmum.com/images/kids2.jpg" width="100" height="100"></div></td>
            <td><div align="center"><img src="http://www.canarianmum.com/images/kids3.jpg" width="100" height="100"></div></td>
            <td><div align="center"><img src="http://www.canarianmum.com/images/kids4.jpg" width="100" height="100"></div></td>
            <td><div align="center"><img src="http://www.canarianmum.com/images/kids5.jpg" width="100" height="100"></div></td>
            <td><div align="center"><img src="http://www.canarianmum.com/images/kids6.jpg" width="100" height="100"></div></td>
            <td><div align="center"><img src="http://www.canarianmum.com/images/kids7.jpg" width="100" height="100"></div></td>
          </tr>
        </table>
        
      </td>
    </tr>
    <tr>
      <td valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr valign="top"> 
            <td width="150" align="left" bgcolor="#FFCC00"><table width="100%" border="0" cellspacing="0" cellpadding="10">
                <tr>
                  <td>
				  
				  {cms_module module='phplayers'}				  
				  
				  </td>
                </tr>
              </table> </td>
            <td><table width="100%" border="0" cellspacing="0" cellpadding="10">
                <tr>
                  <td align="left" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td align="left" valign="top"><strong>{title}</strong></td>
                        <td align="right" valign="top">{print showbutton="true"}</td>
                      </tr>
                    </table> 
                    {breadcrumbs}

                  <p>{content}</p>
                  
				  
				  
				  </td>
                </tr>
              </table></td>
            <td width="170" align="right"><table width="100%" border="0" cellspacing="0" cellpadding="10">
                <tr> 
                  <td align="right" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr> 
                        <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr> 
                              <td width="10" background="http://www.canarianmum.com/images/bg_corner_left.gif"></td>
                              <td bgcolor="#FFCC00"><table width="100%" border="0" cellspacing="0" cellpadding="5">
                                  <tr> 
                                    <td><div align="center"><strong><font color="#FFFFFF">MESSAGE 
                                        BOARD</font></strong></div></td>
                                  </tr>
                                </table></td>
                              <td width="10" background="http://www.canarianmum.com/images/bg_corner_right.gif"></td>
                            </tr>
                          </table>
                          <table width="100%" border="1" cellpadding="5" cellspacing="0" bordercolor="#FFCC00">
                            <tr> 
                              <td height="157" align="center" valign="top"> <form action="http://www.canarianmum.com/forum/index.php?action=login2" method="post">
                                  <table border="0" cellspacing="1" cellpadding="0">
                                    <tr> 
                                      <td align="right"><label for="user">Username:</label> 
                                         </td>
                                      <td><input type="text" id="user" name="user" size="9" value="" /></td>
                                    </tr>
                                    <tr> 
                                      <td align="right"><label for="passwrd">Password:</label> 
                                         </td>
                                      <td><input type="password" name="passwrd" id="passwrd" size="9" /></td>
                                    </tr>
                                    <tr> 
                                      <td><input type="hidden" name="cookielength" value="-1" /></td>
                                      <td><input type="submit" value="Login" /></td>
                                    </tr>
                                  </table>
                                </form>
                                If you do not have an account, please <a href="http://www.canarianmum.com/forum/index.php?action=register">register</a> 
                                now.</td>
                            </tr>
                          </table></td>
                      </tr>
                    </table></td>
                </tr>
                <tr> 
                  <td align="right" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr> 
                        <td height="61" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr> 
                              <td width="10" background="http://www.canarianmum.com/images/bg_corner_left.gif"></td>
                              <td bgcolor="#FFCC00"><table width="100%" border="0" cellspacing="0" cellpadding="5">
                                  <tr> 
                                    <td><div align="center"><strong><font color="#FFFFFF">QUICK 
                                        LINKS </font></strong></div></td>
                                  </tr>
                                </table></td>
                              <td width="10" background="http://www.canarianmum.com/images/bg_corner_right.gif"></td>
                            </tr>
                          </table>
                          <table width="100%" border="1" cellpadding="5" cellspacing="0" bordercolor="#FFCC00">
                            <tr> 
                              <td height="30" align="left" valign="top">!!!LINKS!!!</td>
                            </tr>
                          </table></td>
                      </tr>
                    </table></td>
                </tr>
                <tr>
                  <td align="right" valign="top">!!!AD CODE!!!</td>
                </tr>
              </table> </td>
          </tr>
        </table> 
        <table width="100%" border="0" cellspacing="0" cellpadding="5">
          <tr>
            <td align="center" valign="bottom"><font size="1"><strong>Site 
              Design : <a href="http://www.kirstyjay.com" target="_blank">www.kirstyjay.com</a></strong></font></td>
          </tr>
        </table></td>
    </tr>
  </table>
</div>
<__body>
</__html>


and here is the code for the stylesheet :

Code: Select all


body { color: #990000;
       background-color: #FFFFFF;
       font-size: small;
       font-family: Arial, Helvetica, sans-serif;
       margin: 10; }

a:link {
	font-family: Arial, Helvetica, sans-serif;
	color: #FF0000;
	text-decoration: none;
	font-size: small;
	font-weight: normal;
}
a:visited {
	font-family: Arial, Helvetica, sans-serif;
	color: #FF9900;
	text-decoration: none;
	font-size: small;
	font-weight: normal;
}
a:hover {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bolder;
	color: #FF0000;
	text-decoration: underline overline;
	font-size: small;
}
a:active {
	font-family: Arial, Helvetica, sans-serif;
	color: #FF0000;
	text-decoration: none;
	font-size: small;
	font-weight: normal;
}

font {
	font-family: Arial, Helvetica, sans-serif;
	font-size: small;
	text-decoration: none;
	color: #990000;
}

.breadcrumbs {
    font-size: x-small; 
    margin: 0; 
    padding: 2px 0 2px 9px;  
    text-transform: uppercase;
}
.breadcrumbs a { 
    font-size: x-small; 
    text-transform: uppercase; 
}


I have also attached a text file containing this code, as it seems to go off the page on the right and here is a link to the test page : http://www.canarianmum.com/content/inde ... uccessful-


Thanks in advance for any help!

Kirsty

[attachment deleted by admin]
Last edited by djkirstyjay on Wed Oct 26, 2005 10:26 am, edited 1 time in total.
djkirstyjay
Forum Members
Forum Members
Posts: 206
Joined: Tue Oct 25, 2005 4:50 pm

Re: PhpLayers - Submenus not showing.

Post by djkirstyjay »

Scratch that... I found my solution here : http://forum.cmsmadesimple.org/index.ph ... l#msg10421

CSS Menu module. Works a treat. :)
Post Reply

Return to “CMSMS Core”