[TYPO3-UG Dutch] If/Else statement vraagje

Ronald Wopereis woepwoep at gmail.com
Wed Feb 8 11:57:21 CET 2012


ja, en dan kun je de [ELSE] statement dus weghalen
het gaat in de trant van [default] tenzij [iets anders]

fijn dat het werkt!
R

Op 8 februari 2012 11:30 schreef HocomAdvies [ Wiechert Hooghwinkel ] <
info at hocom-advies.nl> het volgende:

> Ronald,
>
> Bedankt het werkt nu wel, ik heb het nu zo staan:
>
> ##################### tx_browserpagetitle settings ########
> #############################################################
> #Including the class and calling the right function
> includeLibs.tx_browserpagetitle =
> typo3conf/ext/browser_page_title/class.tx_browserpagetitle.php
>
> [else]
> #do something else
> config.titleTagFunction = tx_browserpagetitle->getTitle
>
> plugin.browser_page_title {
>
> defaultTitle = {title} | Blaat Blaat Blaat Blaat een default test text here
>
>    currentTitle = {tx_browserpagetitle_browser_title}
>
> }
>
> [globalVar = TSFE:id = 32]
> #do something
> config.titleTagFunction = tx_browserpagetitle->getTitle
>
> plugin.browser_page_title {
>
> defaultTitle = {title}
>
>    currentTitle = {tx_browserpagetitle_browser_title}
>
> }
>
> [globalVar = TSFE:id = 1]
> #do something more
> config.titleTagFunction = tx_browserpagetitle->getTitle
>
> plugin.browser_page_title {
>
> defaultTitle = This is a different test text  | {title}
>
>    currentTitle = {tx_browserpagetitle_browser_title}
>
> }
>
> [end]
>
> ################# eind tx_browserpagetitle settings ######################
> ##########################################################################
>
> Met groet,
> HocomAdvies
>
> Wiechert Hooghwinkel
>
> Op 8 feb. 2012, om 11:16 heeft Ronald Wopereis het volgende geschreven:
>
> > de ELSE vooraf zetten
> > en dus tenzij page id = 12
> > gaat ELSE door
> > R
> >
> > Op 8 februari 2012 11:10 schreef HocomAdvies [ Wiechert Hooghwinkel ] <
> > info at hocom-advies.nl> het volgende:
> >
> >> Met de onderstaande TS en IF else krijg ik al deels wat ik wil. Nu wil
> ik
> >> nog een extra IF statement invoegen. Kan dat meteen na het eerste deel
> >> door nogmaals dit in te voegen?:
> >>
> >> [globalVar = TSFE:id = 12]
> >> #do something if page id =12
> >>
> >> en dan vervolgens weer het else deel?
> >> #do something else for all other page id
> >>
> >> Of moet dat heel anders?
> >>
> >> Het huidige werkende TS deel:
> >>
> >> ##################### tx_browserpagetitle settings ########
> >> #############################################################
> >> #Including the class and calling the right function
> >> includeLibs.tx_browserpagetitle =
> >> typo3conf/ext/browser_page_title/class.tx_browserpagetitle.php
> >>
> >> [globalVar = TSFE:id = 32]
> >> #do something if page id = 32
> >> config.titleTagFunction = tx_browserpagetitle->getTitle
> >>
> >> plugin.browser_page_title {
> >>
> >> defaultTitle = {title}
> >>
> >>   currentTitle = {tx_browserpagetitle_browser_title}
> >>
> >> }
> >>
> >> [else]
> >> #do something else
> >> config.titleTagFunction = tx_browserpagetitle->getTitle
> >>
> >> plugin.browser_page_title {
> >>
> >> defaultTitle = {title} | Blaat blaat blaat blaat text
> >>
> >>   currentTitle = {tx_browserpagetitle_browser_title}
> >>
> >> }
> >> [end]
> >>
> >> ################# eind tx_browserpagetitle settings
> ######################
> >>
> ##########################################################################
> >>
> >>
> >> Met vriendelijke groeten,
> >> HocomAdvies
> >>
> >> Wiechert Hooghwinkel
> >> www.hocomadvies.nl
> >>
> >>
> >> _______________________________________________
> >> TYPO3-UG-Dutch mailing list
> >> TYPO3-UG-Dutch at lists.typo3.org
> >> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-ug-dutch
> >>
> >
> >
> >
> > --
> > http://www.red-seadog.com
> > http://www.maakjegeenzorgen.nl
> > http://www.weforest.org
> > http://www.stichtingbeelddenken.nl
> > _______________________________________________
> > TYPO3-UG-Dutch mailing list
> > TYPO3-UG-Dutch at lists.typo3.org
> > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-ug-dutch
>
> _______________________________________________
> TYPO3-UG-Dutch mailing list
> TYPO3-UG-Dutch at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-ug-dutch
>



-- 
http://www.red-seadog.com
http://www.maakjegeenzorgen.nl
http://www.weforest.org
http://www.stichtingbeelddenken.nl


More information about the TYPO3-UG-Dutch mailing list