[Typo3] Problem with template and IE display

Amir Mualem amir219 at sbcglobal.net
Mon Oct 10 18:37:59 CEST 2005


Dennis Shewmaker wrote:
> Amir,
> 
> 
>>Can one of you aid me in finding out what is making my design looked
>>screwed up?  The only thing I altered was the top nav.  I made a data
>>structure and all that using Tv, fixed the tempalte to make a TMENU.
>>And now the whole page is screwed up.
> 
> 
> You have this rendering:
> <div class="right"></div>
> 
> When you need this:
> <div class="right">
> 	<ul>
> 		<li><h2><a href="">Home</a></h2></li>
> 		<li><h2><a href="">Civilization 4</a></h2></li>
> 		<li><h2><a href="">Age of Empires 3</a></h2></li>
> 		<li><h2><a href="">Rome Total War</a></h2></li>
> 	</ul>
> </div>
> 
> It looks like it is replacing the menu, but with nothing.  I would have to
> see what you did in the Typoscript.  It looks like your TMENU is not dumping
> to the correct object or marker.
> 
>  

I am not sure if that is the problem..

The right menu has nothing and shouldn't have anything in it for now, 
and it works fine in the original template with nothing in it.

Here is my typoscript:

# Default PAGE object:
page = PAGE
page.typeNum = 0
page.10 = USER
page.10.userFunc = tx_templavoila_pi1->main_page

#------------------------------#

# Top Strip Navigation
lib.topnav = HMENU

# First level menu-object, textual
lib.topnav.special = directory
lib.topnav.special.value = 56
lib.topnav.1 = TMENU
lib.topnav.1 {

# Normal state properties
wrap = <UL> | </UL>
NO.allWrap =  <li>  |  </li>
NO.stdWrap.htmlSpecialChars = 1
}

#------------------------------#

# Game Section Navigation
lib.sect_nav = HMENU

# First level menu-object, textual
lib.sect_nav.special = directory
lib.sect_nav.special.value = 9
lib.sect_nav.1 = TMENU
lib.sect_nav.1 {

# Normal state properties
wrap = <UL> | </UL>
NO.allWrap =  <li>  |  </li>
NO.stdWrap.htmlSpecialChars = 1
}

#------------------------------#

# Game Sub-Section Navigation

# Menu 1 cObject
lib.subnav = HMENU

# First level menu-object, textual
lib.subnav.1 = TMENU
lib.subnav.1 {

# Normal state properties
wrap = <UL> | </UL>
NO.allWrap =  <li>  |  </li>
NO.stdWrap.htmlSpecialChars = 1

# Enable active state and set properties:
ACT = 1
ACT.stdWrap.htmlSpecialChars = 1
ACT.allWrap = <li><b> | </b></li>
}

//---------------------------- Left Navigation 
--------------------------------------//

# Menu 1 cObject
lib.left_nav = HMENU


# First level menu-object, textual
lib.left_nav.1 = TMENU
lib.left_nav.1 {

# Normal state properties
NO.allWrap = <div class="menu_title"><h3> | </h3></div>

}



# Second level menu-object, textual
lib.left_nav.2 = TMENU
lib.left_nav.2 {
target = page
# Normal state properties
wrap = <li> | </li>

# Enable active state and set properties:
ACT = 1
ACT.stdWrap.htmlSpecialChars = 1
ACT.allWrap = <li class="level_two"><div class="active"> | </div></li>
}



More information about the TYPO3-english mailing list