1
Wonderfish1
Re: News module - Recent News block not showing

OK, finally fixed it.

I used the instructions that were available here. The reason I couldn't get the blocks to appear in the right place was because I couldn't find the right place to insert the code in theme.html

Ultimately it went here:

<div id="content">
          <{
$xoops_contents}>
HERE
        
</div>


so it then looks like this:

<div id="content">
          <{
$xoops_contents}>
 
            <!-- 
Start center bottom blocks loop -->
            <{if 
$xoBlocks.page_bottomleft or $xoBlocks.page_bottomright or $xoBlocks.page_bottomcenter}>
                <
table cellspacing="0">
                    <{if 
$xoBlocks.page_bottomcenter}>
                        <
tr>
                            <
td id="bottomCcolumn" colspan="2">
                            <{foreach 
from=$xoBlocks.page_bottomcenter item=block}>
                                <{include 
file="$theme_name/theme_blockcenter_c.html"}>
                            <{/foreach}>
                            </
td>
                        </
tr>
                    <{/if}>

                    <{if 
$xoBlocks.page_bottomleft or $xoBlocks.page_bottomright}>
                        <
tr>
                            <
td id="bottomLcolumn">
                            <{foreach 
from=$xoBlocks.page_bottomleft item=block}>
                                <{include 
file="$theme_name/theme_blockcenter_l.html"}>
                            <{/foreach}>
                            </
td>

                            <
td id="bottomRcolumn">
                            <{foreach 
from=$xoBlocks.page_bottomright item=block}>
                                <{include 
file="$theme_name/theme_blockcenter_r.html"}>
                            <{/foreach}>
                            </
td>
                        </
tr>
                    <{/if}>
                </
table>
            <{/if}>
            <!-- 
End center bottom blocks loop -->


        </
div>



And now it works.



2
Wonderfish1
Changing the destination of the News link in Main Menu

Hi guys,

I just want to change the News link in the main menu so it goes to the same place as the Topics Directory link of the News Module.

TIA for any help,
Tim



3
Wonderfish1
Re: News module - Recent News block not showing

Well that didn't work.

The problem is not with the module but with the theme - the bottom blocks are not installed and despite good help I cannot make installing them work so that the block appears at the bottom of the centre column. I have given up and will put up with no Recent News block. Thanks to those that helped.


Tim



4
Wonderfish1
Re: News module - Recent News block not showing

Many thanks Rod - best service anywhere

I have sent the files you requested. Thanks for being so helpful and making the community so much stronger as a result.


Cheers,
Tim



5
Wonderfish1
Re: Adding items to main menu

Thanks again to Rod, ghia and anyone else who helped. Well done.


Thanks,
Tim



6
Wonderfish1
Re: News module - Recent News block not showing

Hi all,

I added the code for the bottom blocks to theme.html See <!-- Start center bottom blocks loop -->


<!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="<{$xoops_langcode}>" lang="<{$xoops_langcode}>">
<
head>
<
meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" />
<
meta http-equiv="content-language" content="<{$xoops_langcode}>" />
<
meta name="robots" content="<{$xoops_meta_robots}>" />
<
meta name="keywords" content="<{$xoops_meta_keywords}>" />
<
meta name="description" content="<{$xoops_meta_description}>" />
<
meta name="rating" content="<{$xoops_meta_rating}>" />
<
meta name="author" content="<{$xoops_meta_author}>" />
<
meta name="copyright" content="<{$xoops_meta_copyright}>" />
<
meta name="generator" content="Microsoft FrontPage 6.0" />
<
title><{$xoops_sitename}> - <{$xoops_pagetitle}></title>
<
link href="<{$xoops_url}>/favicon.ico" rel="SHORTCUT ICON" />
<
link rel="stylesheet" type="text/css" media="all" href="<{$xoops_url}>/xoops.css" />
<
link rel="stylesheet" type="text/css" media="all" href="<{$xoops_themecss}>" />

</
head><body>
<{
$xoops_module_header}> 
<
script type="text/javascript">
<!--
<{
$xoops_js}>
//-->
</script>

<
table width="100%" border="0" cellspacing="0" cellpadding="0" height="96" background="<{$xoops_imageurl}>headermiddle.gif">
  <
tr>
    <
td width="300" align="left" style="vertical-align:middle"><img src="<{$xoops_imageurl}>logo5.gif" width="297" height="60"></td>
    <
td>&nbsp;</td>
    <
td width="300" align="left" valign="top"></td>
  </
tr>
</
table>
<
table width="100%" border="0" cellspacing="0" cellpadding="0" height="26">
  <
tr
    <
th width="180" background="<{$xoops_imageurl}>middleheadertop.gif" align="center"><font color="#999999">
      <
script type="text/javascript" language="">

var 
monthNames = new Array( "January","February","March","April","May","June","July","August","September","October","November","December");
var 
now = new Date();
thisYear now.getYear();
if(
thisYear 1900) {thisYear += 1900}; 
document.write(now.getDate() + " " monthNames[now.getMonth()] + ", " thisYear);

      </
script>
    </
font></th>
    <
th background="<{$xoops_imageurl}>middleheadertop.gif" align="center"> <font color="#CCCCCC"><{$xoops_slogan}></font></font></th>
    <
th width="180" background="<{$xoops_imageurl}>middleheadertop.gif">&nbsp;</th>
  </
tr>
</
table>

<
div align="center"></div>
<
table cellspacing="0">
    <
tr>
      
    <
td id="leftcolumn" height="143"
      
      <{foreach 
item=block from=$xoops_lblocks}> <{include file="montisblue/theme_blockleft.html"}> 
      <{/foreach}> 
     
    </
td>

      
    <
td height="143" align="center" valign="top" id="centercolumn"
    
 

           <{if 
$xoops_showcblock == 1}> <{$xoops_banner}><br>
      <
table cellspacing="0">
          <
tr>
            
          <
td id="centerCcolumn" colspan="2"
           
            <{foreach 
item=block from=$xoops_ccblocks}> <{include file="montisblue/theme_blockcenter_c.html"}> 
            <{/foreach}> 
            
          </
td>
          </
tr>
          <
tr>
            
          <
td id="centerLcolumn"
            
            <{foreach 
item=block from=$xoops_clblocks}> <{include file="montisblue/theme_blockcenter_l.html"}> 
            <{/foreach}> 
           
          </
td>
          <
td id="centerRcolumn"
            
            <{foreach 
item=block from=$xoops_crblocks}> <{include file="montisblue/theme_blockcenter_r.html"}> 
            <{/foreach}> 
           
          </
td>
          </
tr>
      </
table>



        <{/if}>
  

        <
div id="content">
          <{
$xoops_contents}>
        </
div>
      </
td>

      <{if 
$xoops_showrblock == 1}>

      
    <
td id="rightcolumn" height="143"
      
      <{foreach 
item=block from=$xoops_rblocks}> <{include file="montisblue/theme_blockright.html"}> 
      <{/foreach}> 
      
    </
td>

      <{/if}>

    </
tr>



      
        
        
            <!-- 
Start center bottom blocks loop -->
            <{if 
$xoBlocks.page_bottomleft or $xoBlocks.page_bottomright or $xoBlocks.page_bottomcenter}>
                <
table cellspacing="0">
                    <{if 
$xoBlocks.page_bottomcenter}>
                        <
tr>
                            <
td id="bottomCcolumn" colspan="2">
                            <{foreach 
from=$xoBlocks.page_bottomcenter item=block}>
                                <{include 
file="$theme_name/theme_blockcenter_c.html"}>
                            <{/foreach}>
                            </
td>
                        </
tr>
                    <{/if}>

                    <{if 
$xoBlocks.page_bottomleft or $xoBlocks.page_bottomright}>
                        <
tr>
                            <
td id="bottomLcolumn">
                            <{foreach 
from=$xoBlocks.page_bottomleft item=block}>
                                <{include 
file="$theme_name/theme_blockcenter_l.html"}>
                            <{/foreach}>
                            </
td>

                            <
td id="bottomRcolumn">
                            <{foreach 
from=$xoBlocks.page_bottomright item=block}>
                                <{include 
file="$theme_name/theme_blockcenter_r.html"}>
                            <{/foreach}>
                            </
td>
                        </
tr>
                    <{/if}>
                </
table>
            <{/if}>
            <!-- 
End center bottom blocks loop -->
        
        
        
       





  
<
table border="0" width="100%" cellspacing="0" cellpadding="0"
style="border: 1px solid rgb(0,0,0)">
  <
tr
    <
td width="100%" bgcolor="#FEE9E4"></td>
    <
td width="19" bgcolor="#FEE9E4"></td>
  </
tr>
  <
tr
    <
td width="33%" bgcolor="#C0C0C0" height="1"></td>
    <
td width="19" bgcolor="#C0C0C0" height="1"></td>
  </
tr>
</
table>
</
body>
</
html>


and added code to the style.css to reference those bits (see from td#bottomCcolumn )


body {colorWhitebackground#000000; margin: 0; padding: 0;}

table {width100%; margin5padding5font-sizesmall}
table td {padding0border-width0vertical-aligntopfont-familyArial;}

{color#FFCC00; text-decoration: underline; font-weight: normal; background-color: transparent;}
a:hover {colorwhite;}

h1 {background-colortransparentcolorWhitevertical-align middlefont-familyVerdanaArialHelveticasans-seriffont-size12px;}
h2 {}
h3 {}
h4 {}
h5 {}
ul margin2pxpadding2px; list-styledecimal insidetext-alignleft;}
li margin-left2px; list-stylesquare insidecolor#FFCC00}

input.formButton {}

.
item {bordernone;}
.
itemHead {padding3pxbackground-colortransparentcolor#646C85;}
.itemInfo {text-alignrightpadding3pxbackground-color#2E4166}
.itemTitle a {font-size130%; font-weightboldfont-variantsmall-capscolor#CCCCCC; font-size: 13px; background-color: transparent;}
.itemPoster {font-size90%; font-style:italic;}
.
itemPostDate {font-size90%; font-style:italic;}
.
itemStats {font-size90%; font-style:italic;}
.
itemBody {padding-left5px;}
.
itemText {margin-top5pxmargin-bottom5pxline-height1.5em;}
.
itemText:first-letter {font-size133%; font-weightbold;}
.
itemFoot {text-alignrightpadding3pxbackground-color#646C85;}
.itemAdminLink {font-size90%;}
.
itemPermaLink {font-size90%;}

th {background-color#4682B4; color: White; padding : 2px; vertical-align : middle; font-family: Verdana, Arial, Helvetica, sans-serif;}

td#headerbanner {width: 100%; background-color: #000040; vertical-align: middle; text-align:center;}
td#headerbar {border-bottom: 0px solid #dddddd; background-image: url(hbar.gif);}

td#leftcolumn a {color: #040824;}
td#leftcolumn a:hover {color: #FFFFFF;}
td#leftcolumn a.highlight {background-color: #FFCCCC; }
td#leftcolumn {width: 180px; font-size: 11px;}
td#leftcolumn th {background-color: #2163AF; color: #CCCCCC; vertical-align: middle;}
td#leftcolumn div.blockTitle {padding: 3px; background-color: transparent; color: #FFFFFF; font-size: 12px; font-weight: bold;}
td#leftcolumn div.blockContent {background-color:#0b8bf7; padding: 3px;line-height: 120%; line-height: 120%; horizontal-align: center;}


td#centercolumn {font-size: 12px;}

td#centercolumn th {background-color: transparent; color: #637293; vertical-align: middle;}
td#centerCcolumn {padding: 0px 3px 1px 3px;}
td#centerCcolumn legend.blockTitle {padding: 3px; color: #2163AF; font-weight: bold; margin-top: 0px; margin-right: 0px;  margin-left: 0px;}
td#centerCcolumn div.blockContent {border-left: 0px solid #4682B4; border-right: 0px solid #4682B4; border-bottom: 0px solid #4682B4; padding: 3px; margin-right: 0px;  margin-left: 0px; margin-bottom: 2px; line-height: 120%;}

td#centerLcolumn {width: 50%; padding: 3px 3px3px 3px;}
td#centerLcolumn legend.blockTitle {padding: 3px; color: #2163AF; font-weight: bold; margin-top: 0px;}
td#centerLcolumn div.blockContent {border-left: 0px solid #2163AF; border-right: 0px solid #2163AF; border-bottom: 0px solid #2163AF; padding: 3px; margin-left: 3px; margin-right: 2px; margin-bottom: 2px; line-height: 120%;}

td#centerRcolumn {width: 50%; padding: 0px 3px 0px 0px;}
td#centerRcolumn legend.blockTitle {padding: 3px; color: #2163AF; font-weight: bold; margin-top: 0px;}
td#centerRcolumn div.blockContent {border-left: 0px solid #00BFFF; border-right: 0px solid #00BFFF; border-bottom: 0px solid #00BFFF; padding: 3px; margin-left: 2px; margin-right: 3px; margin-bottom: 2px; line-height: 120%;}

div#content {text-align: left; padding: 8px;}

td#rightcolumn {width: 180px; font-size: 11px;}
td#rightcolumn th {background-color: #8F95A7; color: #000000; vertical-align: middle;}
td#rightcolumn div.blockTitle {padding: 3px; background-color: #transparent; color: #FFFFFF; font-size: 12px; font-weight: bold;}
td#rightcolumn div.blockContent {background-color:transparent; padding: 3px; line-height: 120%;}





td#bottomCcolumn {width: 100%; padding: 0px 3px 0px 0px;}
td#bottomCcolumn legend.blockTitle {padding: 3px; color: #2163AF; font-weight: bold; margin-top: 0px;}
td#bottomCcolumn div.blockContent {border-left: 0px solid #00BFFF; border-right: 0px solid #00BFFF; border-bottom: 0px solid #00BFFF; padding: 3px; margin-left: 2px; margin-right: 3px; margin-bottom: 2px; line-height: 120%;}


td#bottomLcolumn {width: 50%; padding: 0px 3px 0px 0px;}
td#bottomLcolumn legend.blockTitle {padding: 3px; color: #2163AF; font-weight: bold; margin-top: 0px;}
td#bottomLcolumn div.blockContent {border-left: 0px solid #00BFFF; border-right: 0px solid #00BFFF; border-bottom: 0px solid #00BFFF; padding: 3px; margin-left: 2px; margin-right: 3px; margin-bottom: 2px; line-height: 120%;}

td#bottomRcolumn {width: 50%; padding: 0px 3px 0px 0px;}
td#bottomRcolumn legend.blockTitle {padding: 3px; color: #2163AF; font-weight: bold; margin-top: 0px;}
td#bottomRcolumn div.blockContent {border-left: 0px solid #00BFFF; border-right: 0px solid #00BFFF; border-bottom: 0px solid #00BFFF; padding: 3px; margin-left: 2px; margin-right: 3px; margin-bottom: 2px; line-height: 120%;}








tr#footerbar {text-align:center; font-size: 10px;}

#mainmenu a {background-color: #2E4166; display: block; margin: 4px; padding: 3px;;}
#mainmenu a.menuTop {padding-left: 3px; color: #A5A464}
#mainmenu a:hover {color: #FFFFFF;}
#mainmenu a.menuMain {padding-left: 3px; color: #A5A464}
#mainmenu a.menuSub {padding-left: 15px; color: #CCCCCC}

#usermenu a {background-color: #2E4166; color: #A5A464; display: block; margin: 4px; padding: 3px;}
#usermenu a:hover {color: #FFFFFF;}
#usermenu a.highlight {background-color: #FFCCCC; }



.outer {border2px #8F95A7;}
.head {background-color#36486A; padding: 5px; font-weight: bold;}
.even {background-color#80879B; padding: 8px;}
.odd {background-color#646C85; padding: 5px;}
.foot {background-color#8F95A7; padding: 5px; font-weight: bold;}
tr.even td {background-color#80879B; padding: 5px;}
tr.odd td {background-color#646C85; padding: 5px;}

div.errorMsg background-color#FFCCCC; text-align: center; border-top: 1px solid #DDDDFF; border-left: 1px solid #DDDDFF; border-right: 1px solid #AAAAAA; border-bottom: 1px solid #AAAAAA; font-weight: bold; padding: 10px;}
div.confirmMsg background-color#DDFFDF; color: #136C99; text-align: center; border-top: 1px solid #DDDDFF; border-left: 1px solid #DDDDFF; border-right: 1px solid #AAAAAA; border-bottom: 1px solid #AAAAAA; font-weight: bold; padding: 10px;}
div.resultMsg background-color #8F95A7; color: #333333; text-align: center; border-top: 1px solid silver; border-left: 1px solid silver; font-weight: bold; border-right: 1px solid #666666; border-bottom: 1px solid #666666; padding: 10px;}

div.xoopsCode background#EEEEFF; border: 1px inset #2163AF; font-family: "Courier New",Courier,monospace; padding: 0px 6px 6px 6px;}
div.xoopsQuote background#2E4166; border: 1px inset #5F9EA0; font-family: "Courier New",Courier,monospace; padding: 0px 6px 6px 6px;}


.comTitle {font-weightboldmargin-bottom2px;}
.
comText {padding2px;}
.
comUserStat {font-size10pxcolor#FFCC00; font-weight:bold; border: 1px solid silver; background-color: White; margin: 2px; padding: 2px;}
.comUserStatCaption {font-weightnormal;}
.
comUserStatus {margin-left2pxmargin-top10pxcolor#FFCC00; font-weight:bold; font-size: 10px;}
.comUserRank {margin2px;}
.
comUserRankText {font-size10px;font-weight:bold;}
.
comUserRankImg {border0;}
.
comUserName {}
.
comUserImg {margin2px;}
.
comDate {font-weightnormalfont-styleitalicfont-sizesmaller}
.
comDateCaption {font-weightboldfont-stylenormal;}



I also do not know what the "td" bits are at the start of the lines but it seems to work for all other instances.

Frustratingly, it works fine with the default template - I have left the theme selector available so you can see this here.

I really hope you can see what is wrong,
Tim



7
Wonderfish1
Re: Adding items to main menu

W00t!!!

OK it is working - but for a weird reason, I think.

The default template set was set to Defaultclone - a clone of default that I had created early in the process - and the menu items do not appear. When the default template set is set to default, it works.

I don't know why this would be, but I am happy that it now works.

Whew.

Many thanks Rod and ghia for your help.



Tim



8
Wonderfish1
Re: Adding items to main menu

Hi and thanks again,

I am using Xoops 2.4.5

Check for modified templates is set to yes

It doesn't work either in default or the modified template. I have left the theme selector up so you can see that if you wish.

There is no /themes/yourtheme/modules/system/ directory - it is all in the root of the theme directory (i.e. /themes/montisblue/)






9
Wonderfish1
Re: News module - Recent News block not showing

Hi guys and thanx,

I have tried to fix themes.html in my theme and it doesn't want to play - it now loos like this:

<!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="<{$xoops_langcode}>" lang="<{$xoops_langcode}>">
<
head>
<
meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" />
<
meta http-equiv="content-language" content="<{$xoops_langcode}>" />
<
meta name="robots" content="<{$xoops_meta_robots}>" />
<
meta name="keywords" content="<{$xoops_meta_keywords}>" />
<
meta name="description" content="<{$xoops_meta_description}>" />
<
meta name="rating" content="<{$xoops_meta_rating}>" />
<
meta name="author" content="<{$xoops_meta_author}>" />
<
meta name="copyright" content="<{$xoops_meta_copyright}>" />
<
meta name="generator" content="Microsoft FrontPage 6.0" />
<
title><{$xoops_sitename}> - <{$xoops_pagetitle}></title>
<
link href="<{$xoops_url}>/favicon.ico" rel="SHORTCUT ICON" />
<
link rel="stylesheet" type="text/css" media="all" href="<{$xoops_url}>/xoops.css" />
<
link rel="stylesheet" type="text/css" media="all" href="<{$xoops_themecss}>" />

</
head><body>
<{
$xoops_module_header}> 
<
script type="text/javascript">
<!--
<{
$xoops_js}>
//-->
</script>

<
table width="100%" border="0" cellspacing="0" cellpadding="0" height="96" background="<{$xoops_imageurl}>headermiddle.gif">
  <
tr>
    <
td width="300" align="left" style="vertical-align:middle"><img src="<{$xoops_imageurl}>logo5.gif" width="297" height="60"></td>
    <
td>&nbsp;</td>
    <
td width="300" align="left" valign="top"></td>
  </
tr>
</
table>
<
table width="100%" border="0" cellspacing="0" cellpadding="0" height="26">
  <
tr
    <
th width="180" background="<{$xoops_imageurl}>middleheadertop.gif" align="center"><font color="#999999">
      <
script type="text/javascript" language="">

var 
monthNames = new Array( "January","February","March","April","May","June","July","August","September","October","November","December");
var 
now = new Date();
thisYear now.getYear();
if(
thisYear 1900) {thisYear += 1900}; 
document.write(now.getDate() + " " monthNames[now.getMonth()] + ", " thisYear);

      </
script>
    </
font></th>
    <
th background="<{$xoops_imageurl}>middleheadertop.gif" align="center"> <font color="#CCCCCC"><{$xoops_slogan}></font></font></th>
    <
th width="180" background="<{$xoops_imageurl}>middleheadertop.gif">&nbsp;</th>
  </
tr>
</
table>

<
div align="center"></div>
<
table cellspacing="0">
    <
tr>
      
    <
td id="leftcolumn" height="143"
      
      <{foreach 
item=block from=$xoops_lblocks}> <{include file="montisblue/theme_blockleft.html"}> 
      <{/foreach}> 
     
    </
td>

      
    <
td height="143" align="center" valign="top" id="centercolumn"
    
 

           <{if 
$xoops_showcblock == 1}> <{$xoops_banner}><br>
      <
table cellspacing="0">
          <
tr>
            
          <
td id="centerCcolumn" colspan="2"
           
            <{foreach 
item=block from=$xoops_ccblocks}> <{include file="montisblue/theme_blockcenter_c.html"}> 
            <{/foreach}> 
            
          </
td>
          </
tr>
          <
tr>
            
          <
td id="centerLcolumn"
            
            <{foreach 
item=block from=$xoops_clblocks}> <{include file="montisblue/theme_blockcenter_l.html"}> 
            <{/foreach}> 
           
          </
td>
          <
td id="centerRcolumn"
            
            <{foreach 
item=block from=$xoops_crblocks}> <{include file="montisblue/theme_blockcenter_r.html"}> 
            <{/foreach}> 
           
          </
td>
          </
tr>
      </
table>
       <{/if}>
  
        <
div id="content">
          <{
$xoops_contents}>
        </
div>
      </
td>

      <{if 
$xoops_showrblock == 1}>
     
    <
td id="rightcolumn" height="143"
      
      <{foreach 
item=block from=$xoops_rblocks}> <{include file="montisblue/theme_blockright.html"}> 
      <{/foreach}> 
      
    </
td>

      <{/if}>

    </
tr>

        
            <!-- 
Start center bottom blocks loop -->
            <{if 
$xoBlocks.page_bottomleft or $xoBlocks.page_bottomright or $xoBlocks.page_bottomcenter}>
                <
table cellspacing="0">
                    <{if 
$xoBlocks.page_bottomcenter}>
                        <
tr>
                            <
td id="bottomCcolumn" colspan="2">
                            <{foreach 
from=$xoBlocks.page_bottomcenter item=block}>
                                <{include 
file="$theme_name/theme_blockcenter_c.html"}>
                            <{/foreach}>
                            </
td>
                        </
tr>
                    <{/if}>

                    <{if 
$xoBlocks.page_bottomleft or $xoBlocks.page_bottomright}>
                        <
tr>
                            <
td id="bottomLcolumn">
                            <{foreach 
from=$xoBlocks.page_bottomleft item=block}>
                                <{include 
file="$theme_name/theme_blockcenter_l.html"}>
                            <{/foreach}>
                            </
td>

                            <
td id="bottomRcolumn">
                            <{foreach 
from=$xoBlocks.page_bottomright item=block}>
                                <{include 
file="$theme_name/theme_blockcenter_r.html"}>
                            <{/foreach}>
                            </
td>
                        </
tr>
                    <{/if}>
                </
table>
            <{/if}>
            <!-- 
End center bottom blocks loop -->
 
<
table border="0" width="100%" cellspacing="0" cellpadding="0"
style="border: 1px solid rgb(0,0,0)">
  <
tr
    <
td width="100%" bgcolor="#FEE9E4"></td>
    <
td width="19" bgcolor="#FEE9E4"></td>
  </
tr>
  <
tr
    <
td width="33%" bgcolor="#C0C0C0" height="1"></td>
    <
td width="19" bgcolor="#C0C0C0" height="1"></td>
  </
tr>
</
table>
</
body>
</
html>



I agree with ghia that there is a </table> missing somewhere but when I tried to fix it I broke the page horribly. If anyone can see what is wrong I would hugely appreciate it.

Thanks
Tim




10
Wonderfish1
Re: Adding items to main menu

I have gone back to the div style

It now looks like this:

<div id="mainmenu">
    <
class="menuTop <{if !$block.nothome}>maincurrent<{/if}>" href="<{xoAppUrl }>" title="<{$block.lang_home}>"><{$block.lang_home}></a>
 <!-- 
start module menu loop -->
    <{foreach 
item=module from=$block.modules}>
        <
class="menuMain <{if $module.highlight}>maincurrent<{/if}>" href="<{$xoops_url}>/modules/<{$module.directory}>/" title="<{$module.name}>"><{$module.name}></a>
        <{foreach 
item=sublink from=$module.sublinks}>
            <
class="menuSub" href="<{$sublink.url}>" title="<{$sublink.name}>"><{$sublink.name}></a>
        <{/foreach}>
    <{/foreach}>
    
    <
p>Test Entry</p>


<
class="menuMain">Test Entry</p>
    
            <
class="menuMain" href="http://aqualina.com.au/modules/news/index.php?storytopic=6">T8 lighting</a>
            <
class="menuMain" href="http://aqualina.com.au/modules/news/index.php?storytopic=7">T5 lighting</a>
            <
class="menuMain" href="http://aqualina.com.au/modules/news/index.php?storytopic=8">Power Compact</a>
            <
class="menuMain" href="http://aqualina.com.au/modules/news/index.php?storytopic=10">Moonlights</a>
            <
class="menuMain" href="http://aqualina.com.au/modules/news/index.php?storytopic=5">Reptile lighting</a>
            <
class="menuMain" href="http://aqualina.com.au/modules/news/index.php?storytopic=11">Hi-output</a>
            <
class="menuMain" href="http://aqualina.com.au/modules/news/index.php?storytopic=3">Plasma lighting</a>
    
    <!-- 
end module menu loop -->
</
div>


It is only giving me the standard menu - it is like it is not even looking at it




TopTop
(1) 2 3 4 ... 14 »



Login

Who's Online

238 user(s) are online (172 user(s) are browsing Support Forums)


Members: 0


Guests: 238


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits