Return to Snippet

Revision: 26948
at June 27, 2010 08:31 by arnekolja


Updated Code
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
tt_content.stdWrap.innerWrap >

# change the body tag's id
page.bodyTag >
page.bodyTagCObject = HTML
page.bodyTagCObject.value.wrap = <body id="my-id">

# add <head> parts manually
page.headerData.999 = TEXT
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
plugin.tx_indexedsearch.templateFile = fileadmin/templates/searchresult.html

# 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
plugin.tt_news {
	templateFile = fileadmin/templates/tt_news.html
	singlePid = 77
	backPid = 32
	pid_list = 78
}

Revision: 26947
at June 21, 2010 21:36 by arnekolja


Updated Code
config {
  xmlprologue = none
  doctype = xhtml_trans
  # or
  doctype = <!DOCTYPE html>
  spamProtectEmailAddresses = 1
  language = de
  locale_all = de_DE
  # cleaning up
  disablePrefixComment = 1
  insertDmailerBoundaries = 0
}

# change ordering of label+checkbox for standard forms
tt_content.mailform.20.CHECK.layout = <div class="csc-mailform-field-checkbox">###FIELD### ###LABEL###</div>

# enable indexing, so indexed_search works
page.config.index_enable = 1

# remove csc-content div
tt_content.stdWrap.innerWrap >

# change the body tag's id
page.bodyTag >
page.bodyTagCObject = HTML
page.bodyTagCObject.value.wrap = <body id="my-id">

# add <head> parts manually
page.headerData.999 = TEXT
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
plugin.tx_indexedsearch.templateFile = fileadmin/templates/searchresult.html

# 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
plugin.tt_news {
	templateFile = fileadmin/templates/tt_news.html
	singlePid = 77
	backPid = 32
	pid_list = 78
}

Revision: 26946
at June 17, 2010 23:13 by arnekolja


Updated Code
config {
  xmlprologue = none
  doctype = xhtml_trans
  # or
  doctype = <!DOCTYPE html>
  spamProtectEmailAddresses = 1
  language = de
  locale_all = de_DE
  # cleaning up
  disablePrefixComment = 1
  insertDmailerBoundaries = 0
}

# change ordering of label+checkbox for standard forms
tt_content.mailform.20.CHECK.layout = <div class="csc-mailform-field-checkbox">###FIELD### ###LABEL###</div>

# enable indexing, so indexed_search works
page.config.index_enable = 1

# remove csc-content div
tt_content.stdWrap.innerWrap >

# change the body tag's id
page.bodyTag >
page.bodyTagCObject = HTML
page.bodyTagCObject.value.wrap = <body id="my-id">

# add <head> parts manually
page.headerData.999 = TEXT
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
plugin.tx_indexedsearch.templateFile = fileadmin/templates/searchresult.html

# 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]

Revision: 26945
at June 8, 2010 08:41 by arnekolja


Updated Code
config {
  xmlprologue = none
  doctype = xhtml_trans
  # or
  doctype = <!DOCTYPE html>
  spamProtectEmailAddresses = 1
  language = de
  locale_all = de_DE
  # cleaning up
  disablePrefixComment = 1
  insertDmailerBoundaries = 0
}

# change ordering of label+checkbox for standard forms
tt_content.mailform.20.CHECK.layout = <div class="csc-mailform-field-checkbox">###FIELD### ###LABEL###</div>

# enable indexing, so indexed_search works
page.config.index_enable = 1

# remove csc-content div
tt_content.stdWrap.innerWrap >

# change the body tag's id
page.bodyTag >
page.bodyTagCObject = HTML
page.bodyTagCObject.value.wrap = <body id="my-id">

# add <head> parts manually
page.headerData.999 = TEXT
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
plugin.tx_indexedsearch.templateFile = fileadmin/templates/searchresult.html

Revision: 26944
at May 17, 2010 10:57 by arnekolja


Initial Code
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
tt_content.stdWrap.innerWrap >

# change the body tag's id
page.bodyTag >
page.bodyTagCObject = HTML
page.bodyTagCObject.value.wrap = <body id="my-id">

# add <head> parts manually
page.headerData.999 = TEXT
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
plugin.tx_indexedsearch.templateFile = fileadmin/templates/searchresult.html

Initial URL

                                

Initial Description

                                

Initial Title
Some TS basics everyone needs in a layout

Initial Tags

                                

Initial Language
TYPO3