[TYPO3-UG Spain] DUDA!

Informativo yumuritv at enet.cu
Tue Feb 14 16:45:12 CET 2006


Estoy estudiando la forma de crear un nuevo template, formado por 3 frames: top, left, page.
_________________________
| top                                     |
|________________________|
|       |                                   |
|   l   |                                  |
|   e  |                                   |
|   f   |            page               |
|   t   |                                   |
|       |                                   |
|____|____________________|


frameset = PAGE 
page = PAGE 
left = PAGE 
top = PAGE 
frameset.typeNum = 0 
page.typeNum = 1 
left.typeNum = 2 
top.typeNum = 3 

frameset.frameSet.rows = {$topFrameHeight},* 
frameset.frameSet.params = {$_stdFramesetParams} 
frameset.frameSet.1 = FRAME 
frameset.frameSet.1.obj = top 
frameset.frameSet.1.params = {$_stdFrameParams} scrolling="no" 
frameset.frameSet.2 = FRAMESET 
frameset.frameSet.2 { 
  params = {$_stdFramesetParams} 
  cols = {$leftFrameWidth},* 
  1 = FRAME 
  1.obj = left 
  1.params = {$_stdFrameParams} scrolling="no" 
  2 = FRAME 
  2.obj = page 
  2.params = {$_stdFrameParams} scrolling="auto" 
}


hasta aquí todo funciona bien. Lo anterior no es mas que el static frameset; top-left-page.
Cuando me dedico a realizar un menú que colocare en left, hago lo siguiente:

1446: temp.leftmenu = HMENU 
1447: temp.leftmenu.1 = TMENU 
1448: temp.leftmenu.1.target = page 
1449: temp.leftmenu.1 { 
1450:   expAll = 1 
1451:  wrap = <table width="300" etc.
1452:   NO.linkWrap = {$menu.L0.fontWrap} 
1453:   NO.doNotLinkIt = {$menu.L0.noLink} 
1454:   NO.allWrap = <tr><td><img src etc.
1455: } 
1456: temp.leftmenu.2 = TMENU 
1457: temp.leftmenu.2 { 
1458:   wrap = <tr><td nowrap="nowrap"> | </td></tr> 
1459:   target = page 
1460:   NO { 
1461:     beforeImg =  {$menu.file.bullet} 
1462:     beforeROImg = {$menu.file.bullet_RO} 
1463:     beforeImgTagParams = hspace="2" 
1464:     RO = 1 
1465:     after = <br /> 
1466:     ATagBeforeWrap = 1 
1467:     linkWrap= {$menu.L1.fontWrap} 
1468:   } 
1469: }

left.params = scrolling="AUTO" frameborder="yes"
left.100 < temp.leftmenu

algunas cosas quizas sean innecesarias para un menú basico, pero solo copie del static template; BUSINESS.

Duda: en la linea 1448 y 1459 digo que los links del menú tendran como blanco la pagina principal o de 
contenido (page). En el browser todo sale a la perfeccion hasta que doy clic en un vinculo del menú: no pasa nada. 
Las paginas tienen contenido, pero no se muestran. ¿Tengo que hacerle algo a cada pagina? ¿falta algo en este template?

Gracias de antemano


frodo



More information about the TYPO3-UG-spain mailing list