Monday, October 13, 2008

Typoscript code

## Menu [Begin]
lib.mainMenu = HMENU
lib.mainMenu.entryLevel = 0
lib.mainMenu.language =fr
lib.mainMenu.wrap =
    |

lib.mainMenu.1 = TMENU
lib.mainMenu.1.NO {
allWrap =
  • |
  • }

    lib.mainMenu.1.ACT = 1
    lib.mainMenu.1.ACT {
    allWrap =
  • |
  • }
    ## Menu [End]

    lib.subMenu = HMENU
    lib.subMenu.entryLevel = 1
    lib.subMenu.wrap =
      |

    lib.subMenu.1 = TMENU
    lib.subMenu.1.NO {
    allWrap =
  • |
  • }

    lib.subMenu.1.ACT = 1
    lib.subMenu.1.ACT {
    allWrap =
  • |
  • }



    config.spamProtectEmailAddresses = 1

    page = PAGE
    page.typeNum = 0
    page.10 = USER
    page.10.userFunc = tx_templavoila_pi1->main_page
    }




    Localization:

    config{
    linkVars = L
    sys_language_mode = content_fallback
    sys_language_overlay = hideNonTranslated


    }
    config.sys_language_uid = 0


    config.language = en

    [globalVar = GP:L=20]

    config{
    sys_language_uid = 15
    language = fr
    locale_all = fr_FR




    }
    page.10{
    styles.content.get = CONTENT
    styles.content.get {
    table = tt_content
    select.orderBy = sorting
    select.where = colPos=0
    select.languageField = sys_language_uid


    }


    [global]

    No comments: