[Typo3] Problem with conditionals

RLB nveid at comcast.net
Sun Aug 28 02:01:46 CEST 2005


I'm having problems with conditional. For some reason its reading my
conditionals as if its a regular object.
I'm using Typo3 3.7.1

here's the snippest in question i'm have the problem with

--This is what it looks like with without the template analyzer--

subparts.TOPNAV = HMENU
subparts.TOPNAV {
  entryLevel = 1
  1 = TMENU_LAYERS
  1 {
      wrap = <table><tr>|</tr></table>
      expAll=1
      lockPosition = x
[browser=Microsoft Internet Explorer]
      xPosOffset = -25
[else]
      xPosOffset = -30
[end]
      topOffset = 30
      NO.allWrap = |*| <td><span class="topnav">&nbsp;&nbsp;|</span></td>
|*|
      ACT = 1
      ACT.allWrap = |*| <td><span class="topnav">&nbsp;&nbsp;|</span></td>
|*|
      relativeToTriggerItem = 1
      hideMenuWhenNotOver = 5
  }


This is what it looks like with template analyzer

# Top Navigation

subparts.TOPNAV = HMENU
subparts.TOPNAV {
  entryLevel = 1
  1 = TMENU_LAYERS
  1 {
      wrap = <table><tr>|</tr></table>
      expAll=1
      lockPosition = x
[browser=Microsoft Internet Explorer] - ERROR: Line 1894: Object Name
String, "[browser" contains invalid character "[". Must be alphanumeric or
one of: "_-."
      xPosOffset = -25
[else] - ERROR: Line 1896: Object Name String, "[else]" contains invalid
character "[". Must be alphanumeric or one of: "_-."
      xPosOffset = -30
[end] - ERROR: Line 1898: Object Name String, "[end]" contains invalid
character "[". Must be alphanumeric or one of: "_-."
      topOffset = 30
      NO.allWrap = |*| <td><span class="topnav">&nbsp;&nbsp;|</span></td>
|*|
      ACT = 1
      ACT.allWrap = |*| <td><span class="topnav">&nbsp;&nbsp;|</span></td>
|*|
      relativeToTriggerItem = 1
      hideMenuWhenNotOver = 5
  }




More information about the TYPO3-english mailing list