[TYPO3-UG Dutch] probleem met weergave pagina title
Kees Versteef
pleaser1977 at hotmail.com
Thu Mar 2 14:13:28 CET 2006
Hoi,
Ben vorige week begonnen met typo3, en phouuffff .. dat valt niet mee zeg.
Kost je alleen al een week om de documentatie een beetje door te lezen. Maar
met behulp van wat voorbeelden heb ik nu toch een site de lucht in. Ik
gebruik de zenlight template + TS van mediatech.net als basis. Is een
simpele basis, zonder gebruik van template parser of TV.
Wat ik nu wil toevoegen is de pagina title. Deze moet boven mijn content
marker komen te staan. Zoekend in oude posts kwam ik weing bruikbaars tegen
(terwijl dit me toch vrij simpel lijkt), anyhow het enige wat ik vond was
dit:
-----------------------------
To add automatically the page title to each page of your site add the
following to your template:
page.75 = TEXT
page.75.field = title
-----------------------------
wel nu, als ik dit in mijn setup van de template plaats gebeurd er niks. Dus
waar moet ik het precies plaatsen?, en moet ik geen ###title### marker + div
in mijn template zetten?
Ik zal mijn TS attachen. dank, Kees Versteef
---------------------------------
#Discard old CSS
#######################################
plugin.tt_news._CSS_DEFAULT_STYLE =
# Use CSS Styled Content!
#######################################
# Cache Control Headers (TYPO3 3.8.0)
#######################################
#config.sendCacheHeaders = 1
# XHTML DOCTYPE
#######################################
config.doctype = <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
config.htmlTag_setParams = xmlns="http://www.w3.org/1999/xhtml"
xml:lang="en-US"
# Externalize CSS and JS
#######################################
config.removeDefaultJS = external
config.inlineStyle2TempFile = 1
# Spam Protection for Email
#######################################
config {
spamProtectEmailAddresses = 2
spamProtectEmailAddresses_atSubst = (at)
}
# Send UTF-8 Notification Email Headers
#######################################
config.notification_email_charset = utf-8
config.notification_email_encoding = quoted-printable
config.notification_email_urlmode = all
# Simulate static pages (uncomment/comment to configure)
#######################################
config.simulateStaticDocuments = 0
config.simulateStaticDocuments_noTypeIfNoTitle = 1
# config.simulateStaticDocuments_addTitle = 30
# config.simulateStaticDocuments_pageTitleFirst = 1
# config.pageTitleFirst = 1
# config.simulateStaticDocuments_pEnc = base64
# config.simulateStaticDocuments_pEnc = md5
# config.simulateStaticDocuments_pEnc_onlyP =
cHash,L,print,L,fD[_FIELDLIST],fD[disable],fD[usergroup],tx_srfeuserregister_pi1[aC],
tx_srfeuserregister_pi1[cmd],tx_srfeuserregister_pi1[rU],tx_srfeuserregister_pi1[sFK],tx_ttnews[backPid],
tx_ttnews[tt_news], tx_ttnews[pS], tx_ttnews[pL], tx_ttnews[arc],
tx_ttnews[cat], tx_ttnews[pointer], tx_ttnews[swords]
# config.simulateStaticDocuments = PATH_INFO
# config.absRefPrefix = http:// www.mydomain.com/
# Setting up 'page' to be the default PAGE object (type=0)
#######################################
lib.stdheader.10.stdWrap.wrap =
tt_content.stdWrap.dataWrap = <A name="{field:uid}"></a>
page = PAGE
page.typeNum = 0
config.xhtml_cleaning = all
config.disablePrefixComment = 1
config.pageTitleFirst = 1
page.includeCSS {
file1 = fileadmin/css/style.css
file2 = fileadmin/css/tt_news_style.css
}
page.headerData.10 = TEXT
page.headerData.10.value (
<style type="text/css" media="all">
@import url(fileadmin/css/Menu.css);
</style>
<!--[if lte IE 6]>
<style type=text/css>
@import url(fileadmin/css/Menu4IE.css);
BODY {BEHAVIOR: url("fileadmin/css/ADxMenu.htc")}
</style>
<![endif]-->
)
page.bodyTag = <body>
page.1 = TEMPLATE
page.1.marks.PAGE_UID = TEXT
page.1.marks.PAGE_UID.field = uid
page.1 {
template = FILE
template.file = fileadmin/template.html
workOnSubpart = DOCUMENT_BODY
subparts.RNDIMG < temp.rndImageTop
subparts.CONTENT_LEFT < styles.content.getLeft
subparts.CONTENT_RIGHT < styles.content.getRight
subparts.CONTENT_BORDER < styles.content.getBorder
subparts.CONTENT < styles.content.get
subparts.prevnext < plugin.tx_gsipagenav_pi1
########################################
# TT News >> werkt nog niet, pakt nog steeds
typo3conf\ext\tt_news\static\ts_new\setup.txt
########################################
plugin.tt_news = USER
plugin.tt_news {
displayList {
date_strWrap.strftime = %d.%m.%Y
time_stdWrap.strftime = 250 | ... | 1
}
displayLatest {
date_strWrap.strftime = %d.%m.%Y
time_stdWrap.strftime =
subheader_stdWrap.crop =
}
}
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
More information about the TYPO3-UG-dutch
mailing list