/ Published in: TYPO3
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
config { xmlprologue = none doctype = xhtml_trans # or doctype = <!DOCTYPE html> spamProtectEmailAddresses = 1 language = de locale_all = de_DE # cleaning up disablePrefixComment = 1 insertDmailerBoundaries = 0 } # enable indexing, so indexed_search works page.config.index_enable = 1 # remove csc-content div # change the body tag's id page.bodyTag > page.bodyTagCObject.value.wrap = <body id="my-id"> # add <head> parts manually page.headerData.999.value = <script type="text/javascript" src="fileadmin/templates/js/my-file.js"></script> <link rel="stylesheet" type="text/css" href="fileadmin/templates/css/my-file.css" media="screen" /> # every indexed search should rely on a custom template # as the given ones are absolutely evil # if condition: if page id == 1 then... [globalVar = TSFE:id=1] lib.subMenu.special = directory lib.subMenu.special.value = 70 lib.subMenu.entryLevel = 0 [end] # some tt_news basics templateFile = fileadmin/templates/tt_news.html singlePid = 77 backPid = 32 pid_list = 78 }