[TYPO3] HMENU and TMENU help please

Bryan support at chillifactory.co.za
Fri Aug 18 14:26:20 CEST 2006


These things are sent to test us.....

Thanks a mil

Wondering if you could help with my little endeavour. I'm trying to put
a table into 3 cells of a table for my menu. ie. first 3 menu items

Basically I have 3 menu items and I want each to be placed exactly in my
table on my template, so this is what I tried to do.

temp.navi.1.NO {
  allWrap = <table border="0" cellspacing="0" cellpadding="0"
valign="top"><tr><td width="128"> | </td></tr></table>
  linkWrap (
  <table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td
width="10%" align="right" style="padding-right:5px;"><img
src="images/blue-arrow.gif" width="6" height="11"></td><td width="90%"
class="topmenu">|test</td></tr></table>
)
}


# Start of allWrap statement
<table border="0" cellspacing="0" cellpadding="0" valign="top"><tr><td
width="128">
# Start of linkWrap statement
<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td
width="10%" align="right" style="padding-right:5px;"><img
src="images/blue-arrow.gif" width="6" height="11"></td><td width="90%"
class="topmenu"><a href="index.php?id=37"
onfocus="blurLink(this);">Products</a>test</td></tr></table>
# End of linkWrap statement

# Start of allWrap statement agian but mustn't included this
*------>   </td></tr></table>   <------*

# Start of linkWrap statement
<table border="0" cellspacing="0" cellpadding="0" valign="top"><tr><td
width="128">  <table width="100%" border="0" cellspacing="0"
cellpadding="0"><tr><td width="10%" align="right"
style="padding-right:5px;"><img src="images/blue-arrow.gif" width="6"
height="11"></td><td width="90%" class="topmenu"><a
href="index.php?id=86"
onfocus="blurLink(this);">Services</a>test</td></tr></table>
</td></tr></table>
		

Cate & Peter wrote:
> Hi Bryan
> 
> I think you will find the problem is in your allWrap comman - the w is
> capitalised.
> 
> Problem: Its not using the allwrap and I don't know why, lost in the
> dark here. Thanks again
> 
> # Menu Navigation cObject
> temp.navi = HMENU
>   # First level menu-object, textual
> temp.navi.1 = TMENU
> temp.navi.maxItems = 3
> temp.navi.entryLevel = 0
> temp.navi.begin = 6
> temp.navi.1.NO {
>   allwrap (
>   <table border="0" cellspacing="0" cellpadding="0" valign="top"><tr><td
> width="128">|</td></tr></table>
>   )......*snip* 
> 
> Regards
> Cate
> 
> 



More information about the TYPO3-english mailing list