[TYPO3] Problem with only one Typo3 site
Rod Naugler
rnaugler at statikonline.com
Tue Jan 16 00:22:59 CET 2007
Hi all,
I have several Typo3 sites that are all using a very similar setup,
templates and all. ONE of them doesn't put any content in the main
content block. Here is the SETUP section of the template in question.
See anything?
#standard page type setup
page = PAGE
page.typeNum = 0
config.simulateStaticDocuments = 1
tt_content.text.20.parseFunc.tags.linkpop <
tt_content.text.20.parseFunc.tags.link
tt_content.text.20.parseFunc.tags.linkpop.typolink.userFunc =
tx_cctypolinkpopup_pi1->main
tt_content.text.20.parseFunc.tags.linkpop.typolink.link.wrap = |
tt_content.text.20.parseFunc.tags.linkpop.typolink.parameter.data =
parameters : allParams
config.setJS_openPic = 1
#Add a static style to show the tree type sitemap
tt_content.menu.20.2 < styles.sitemap.gs
plugin.tx_indexedsearch {
_CSS_DEFAULT_STYLE >
}
page.config.index_enable = 1
#Load the userfunctions file that has our <P> tag stripping function in
it
includeLibs.user_libraries = fileadmin/userfunctions.php
includeLibs.ts_cctypolinkpopup =
EXT:cc_typolinkpopup/pi1/class.tx_cctypolinkpopup_pi1.php
page.headerData.1 = HTML
page.headerData.1.value = <BASE href="http://www.weddingsingermany.com"
>
page.headerData.2 = HTML
page.headerData.2.value = <link rel="stylesheet"
href="fileadmin/template/css/global.css" type="text/css">
page.headerData.3 = HTML
page.headerData.3.value = <script language="JavaScript"
src="fileadmin/template/scripts/global.js"
type="text/JavaScript"></script>
page.meta.DESCRIPTION.field = description
page.meta.KEYWORDS.field = keywords
#page.headerData.4 = HTML
#page.headerData.4.value = <meta name="robots"
content="noindex,nofollow">
page.bodyTag = <body bgcolor="#e9f5e7">
#Left hand Menu creation
temp.menu_1 = HMENU
temp.menu_1.special = directory
temp.menu_1.special.value = 2
temp.menu_1.1 = GMENU
temp.menu_1.1.entrylevel = 1
temp.menu_1.1.NO {
wrap = |<br />
backColor = #DA6565
# XY = [10.w]+40,[10.h] + 6
XY = 215, [10.h] + 6
10 = TEXT
10.text.field = nav_title // title
# 10.text.case = upper
10.offset = 0+20,[10.h]+3
10.align = left
10.niceText = 0
10.fontColor = #ffffcc
10.fontSize = 14
10.fontFile = fileadmin/template/fonts/NWGTHC.TTF
10.properties.field = 1
10.iterations = 2
}
#temp.menu_1.1.RO < temp.menu_1.1.NO
#temp.menu_1.1.RO = 1
#temp.menu_1.1.RO {
# 10.fontColor = #000000
#}
#Right hand Page Title
temp.rightTemplate = IMAGE
temp.rightTemplate {
wrap = |
alttext = Destination Weddings in Germany
file = GIFBUILDER
file {
XY = [10.w]+90,[10.h] + 10
backColor = #BEE0BE
transparentBackground = 1
10 = TEXT
10.text = Weddings in Germany
10.offset = 0+20,[10.h]
10.align = center
10.niceText = 0
10.fontColor = #333333
10.fontSize = 20
10.fontFile = fileadmin/template/fonts/NWGTHC.TTF
10.iterations = 2
10.antiAlias = 1
}
}
page.10 = TEMPLATE
page.10 {
template = FILE
template.file = fileadmin/template/index.html
workOnSubpart = DOCUMENT_BODY
#The lefthand regions menu
subparts.leftMenu < temp.menu_1
#The main content area
subparts.CONTENT = USER
subparts.CONTENT.acontent < styles.content.get
subparts.CONTENT.dataWrap =
subparts.CONTENT.userFunc = user_functions->fixContent
#The page photo
subparts.PHOTO = USER
subparts.PHOTO.acontent < styles.content.getLeft
subparts.PHOTO.userFunc = user_functions->stripPhotoTable
#The page title
subparts.pageTitle < temp.rightTemplate
#The promo Area
subparts.PROMO = USER
subparts.PROMO.acontent < styles.content.getBorder
subparts.PROMO.userFunc = user_functions->protectPromo
#The image gallery
subparts.Gallery = USER
subparts.Gallery.acontent < styles.content.getRight
subparts.Gallery.userFunc = user_functions->stripPara
#Breadcrumbs
subparts.BREADCRUMBS < temp.breadcrumbs
}
tt_content.menu.20.2.1.NO.linkWrap = <span class=sitemap1>|</span>
tt_content.menu.20.2.2.NO.allWrap = |<br>
tt_content.menu.20.2.2.NO.linkWrap = <span class=sitemap2>|</span>
tt_content.menu.20.2.3.NO.allWrap = |<br>
tt_content.menu.20.2.3.NO.linkWrap = <span class=sitemap3>|</span>
tt_content.menu.20.2.4.NO.allWrap = |<br>
tt_content.menu.20.2.4.NO.linkWrap = <span class=sitemap4>|</span>
tt_content.menu.20.2.1.NO.allWrap = <span class=sitemap1>|</span><br>
tt_content.menu.20.2.1.NO.linkWrap =
tt_content.menu.20.2.1.NO.allWrap =
tt_content.menu.20.2.1.NO.ATagParams = class=sitemap1
tt_content.menu.20.2.1.NO.allWrap = |<br>
tt_content.menu.20.2.1.NO.ATagParams = class='sitemap1'
tt_content.menu.20.2.2.NO.linkWrap =
tt_content.menu.20.2.2.NO.ATagParams = class='sitemap2'
tt_content.menu.20.2.3.NO.linkWrap =
tt_content.menu.20.2.3.NO.ATagParams = class='sitemap3'
tt_content.menu.20.2.4.NO.linkWrap =
tt_content.menu.20.2.4.NO.ATagParams = class='sitemap4'
Or, is there more information you need?
Rod Naugler
More information about the TYPO3-english
mailing list