[Typo3-german] entryLevel 3 rechts

Stefan Reiser stefan.reiser at cegedim.fr
Thu Sep 1 11:06:54 CEST 2005


Hi Tobias				

schau dir den kompletten Code an er steht ausserhalb der Klammern aber leider ohne Erfolg

seite = PAGE

temp.tipafriend = USER



temp.tipafriend {
userFunc = tx_tipafriend->main_tipafriend
code = TIPLINK
templateFile = {$plugin.tipafriend.file.templateFile}
typolink.parameter = 67 # uid of page where Tip-a-Friend plugin is inserted

} 

#################################################
# Searchbox and Forwarding up Indexed Search
#################################################

config.language = de

plugin.tx_macinasearchbox_pi1.pidSearchpage = 51
plugin.tx_macinasearchbox_pi1.templateFile = fileadmin/medimed/templates/suchbox/search_template.htm

page.config.index_enable = 1
page.config.index_externals = 1

plugin.tx_indexedsearch.show.rules=0
plugin.tx_indexedsearch._CSS_DEFAULT_STYLE =
plugin.tx_indexedsearch.blind.media=1
plugin.tx_indexedsearch.blind.lang=1
plugin.tx_indexedsearch.blind.sections=1
plugin.tx_indexedsearch.blind.order=1
plugin.tx_indexedsearch.blind.desc=1
plugin.tx_indexedsearch.blind.group=1

seite{	
 headerData.999 < plugin.meta	
 headerData.999.flags.DC = 0       
 typeNum = 0          		
 includeLibs.gmenu_layers = media/scripts/gmenu_layers.php   
 includeLibs.tmenu_layers = media/scripts/tmenu_layers.php   
 stylesheet = fileadmin/medimed/templates/main/main2.css    

 10 = TEMPLATE						 
 10{						         
  template = FILE						 
  template.file = fileadmin/medimed/templates/main/index3.html   
  workOnSubpart = EINE_SEITE	

 marks {				 
   INHALT = CONTENT					 
   INHALT.table = tt_content
   INHALT < styles.content.get

   SEARCH >
   SEARCH < plugin.tx_macinasearchbox_pi1

   TIP = TEXT
   TIP < temp.tipafriend
   
   RECHTS = CONTENT
   RECHTS < styles.content.getRight
   RECHTS.stdWrap.wrap = <TABLE width="167" class="bodytext" cellspacing="4"><TR><TD width="157" class="bodytext"> | </TD></TR></TABLE> 


   PRINT = COA
   PRINT {
     #wrap = <a href="index.php?id=|&amp;type=98" target="_blank"><img alt="Seite drucken" src="fileadmin/medimed/templates/main/images/print.gif" width="25" height="28" border="0" /></a>
     wrap = <a href="#" onClick="window.open('index.php?|&type=98','drucken','width=520,height=400,resizable=no,scrollbars=yes');"><img alt="Seite drucken" src="fileadmin/medimed/templates/main/images/print.gif" width="25" height="28" border="0" /></a>
     1 = TEXT
     1.field = uid
   }
   
   TITLE = TEXT
   TITLE.field = page.10

   SUBTITLE = TEXT
   SUBTITLE.field = title

   MENU_UNTEN = HMENU	
   MENU_UNTEN{
   special = directory
   special.value = 52	
   
   1 = TMENU
    1{
         		 
         NO{
             ATagParams = class="link10"
             linkWrap = &nbsp;|&nbsp;<font color="white">&#124;</font> |*| &nbsp;|&nbsp;<font color="white">&#124;</font>  |*| &nbsp; |
          }
    }
   }
  
   KOPF_MENU=HMENU	
    					 
    KOPF_MENU{		
    special = directory
    special.value = 53			 
    entryLevel = 0						 
    
    1 = GMENU_LAYERS					         
      1{							 
        #max=600						 
        #useLargestItemX=1
        useLargestItemY=1					 
        layerStyle = position:absolute; width:150px;VISIBILITY:hidden;   
        topOffset=22						 
        leftOffset=0						 
        #xPosOffset =-16					 
        lockPosition = x					 
        expAll=1						
        relativeToParentLayer=1					 
        relativeToTriggerItem=1					 
        hideMenuWhenNotOver=1					 

         NO{							 
           backColor=|*| #00639C || #00639C |*|			 
           wrap=<td>|</td>					 
	   XY = [10.w]+32, [10.h]+10				
	   10 = TEXT										
	      10{						 
                align = center					 
		fontFile = fileadmin/fonts/arial.ttf	 	 
		fontSize = 9					 
		fontColor = #ffffff				 
		text.field=title			 	 
		offset=0,14					 
	      }
            }

         RO < .NO						 
         RO=1							
           RO{							 
             backColor=#549CC6				 
             10.fontColor=#ffffff
           }

        ACT < .NO						 
        ACT=1							 
          ACT{							 
	    backColor=#549CC6
            10.fontColor=#ffffff
          }
        }

    2 = TMENU_LAYERS						 
      2{							 
        layerStyle = position:absolute;width:150px;VISIBILITY:hidden;
        topOffset=0
        leftOffset=60
        #xPosOffset =-50
        lockPosition = x
        expAll=1
        relativeToParentLayer=1
        relativeToTriggerItem=1
        hideMenuWhenNotOver=1
        wrap=<DIV ID="js-menu">|</DIV>				 
          NO{
           linkWrap = |<BR>
          }
        ACT=1
         ACT{
          linkWrap=<STRONG>|</STRONG><BR>
         }
       }

    3 = TMENU_LAYERS						
      3{							 
        layerStyle = position:absolute;width:150px;VISIBILITY:hidden;
        topOffset=0
        leftOffset=60
        #xPosOffset =-50
        lockPosition = x
        expAll=1

        relativeToParentLayer=1
        relativeToTriggerItem=1
        hideMenuWhenNotOver=1
        wrap=<DIV ID="js-menu">|</DIV>
          NO{
             linkWrap = |<BR>
          }
        ACT=1
          ACT{
              linkWrap=<STRONG>|</STRONG><BR>
          }
       }

    4 = TMENU							 
      4{
        wrap=<DIV ID="js-menu">|</DIV>
          NO{
             linkWrap = |<BR>
          }
        ACT=1
           ACT{
               linkWrap=<STRONG>|</STRONG><BR>
           }
        }
     }
  
 SUBMENU=HMENU						 
  SUBMENU{						 
      wrap=<DIV ID="submenu" width=120>|</DIV>
      entryLevel = 2				 
      expAll = 0
      1 = TMENU
        1{
         NO{
            linkWrap = | <BR>
         }
         ACT=1							 
           ACT{							 
               linkWrap=<STRONG>|</STRONG><BR>			 
           }
         }
       } 
     } 
   }
}
SUBMENU.entryLevel=2
[treeLevel=3]
SUBMENU.entryLevel=3
[global]
config.stat_apache = 1
config.stat_apache_logfile = {$logFile}


- Stefan Reiser (stefansvw)

-----------------------
This thread is located in the archive at this URL:
http://typo3.org/documentation/mailing-lists/german-user-list-archive/thread/110136843/
					
> Hallo Stefan,
> 
> also das mit der condition müsste funktionieren, hast du achtgegeben
> dass die condition auserhalb der geschweiften klammern ist?
> beispiel
> 
> so nicht:
> page=PAGE
> page{
> 10=COA
> [treeLevel=3]
> 10.1=TEXT
> ...
> [global]
> }
> 
> sondern so:
> 
> 
> page=PAGE
> page{
> 10=COA
> }
> [treeLevel=3]
> page.10.1=TEXT
> ...
> [global]
> 
> mit freundlichen grüßen
> 
> tobias erlacher
> www.typo3wizard.com
> 
> Stefan Reiser wrote:
> > Hi Tobias
> >
> > danke im vorab für Deine Hilfe :-)
> >
> > Genau das habe ich auch schon probiert oder  entryLevel =2 | 3
> > aber es klappt nicht so wie ich es will.
> >
> > Ich will also das es so ausschaut
> >
> > +Level2
> >   +Level3
> > +Level2
> > +Level2
> >
> > usw.
> >
> > habe es auch schon mit
> >
> > special = directory
> > special.range = 2 | 3
> >
> > versucht aber auch ohne erfolg :-(
> >
> > - Stefan Reiser (stefansvw)
> >
> > -----------------------
> > This thread is located in the archive at this URL:
> >
> http://typo3.org/documentation/mailing-lists/german-user-list-archive/thread/110136754/
> >
> >
> >>Hallo Stefan,
> >>
> >>Wenn ich dich richtig verstanden habe möchtest du, dass dein SUBMENU bei
> >>menülevel 2  entryLevel=2 hat und bei menülevel 3  entryLevel=3.
> >>das kannst du mit einer condition erledignen, z.b.
> >>SUBMENU.entryLevel=2
> >>[treeLevel=3]
> >>SUBMENU.entryLevel=3
> >>[global]
> >>
> >>Have fun
> >>
> >>tobi
> >>www.typo3wizard.com
> _______________________________________________
> Typo3-german mailing list
> Typo3-german at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-german
> 



More information about the TYPO3-german mailing list