[TYPO3-german] T3Blog - locallang Werte lassen sich nicht überschreiben
David Bruchmann
david at bruchmann-web.de
Tue Sep 28 12:05:42 CEST 2010
> Wenn dir das hilft, schreib mir doch bitte mal wie du via TV T3Blog
> eingebunden hast. Also ob du ein extra template benutzt und ob die widgets
> per TS eingebunden werden. Da gibts manchmal probleme und ich versuch das
> immo noch einzukreisen... Danke.
>
>
Hi Felix,
hab den Blog zwar nicht in TV eingebunden, währe hiermit jedoch möglich:
plugin.tx_t3blog_pi1.blogList.singleNavigation >
plugin.tx_t3blog_pi1 {
#archive {}
blogList {
#single {}
#Navigation in singleview (previous, back, next)
singleNavigation = COA
singleNavigation {
wrap = <div id="singleNavigation">|</div>
10 = TEXT
10 {
wrap = <div class="backtolist">|</div>
field = backText
typolink {
parameter.field = backId
}
}
20 = TEXT
20 {
wrap = <div class="previous">| </div>
field = previous
}
30 = TEXT
30 {
wrap = <div class="next">| </div>
field = next
}
}
}
#blogrollList {}
#calendar {}
#categories {}
latestCommentsNav {
_LOCAL_LANG {
de {
latestCommentsTitle = Die neusten Kommentare
}
}
}
latestPostNav {
_LOCAL_LANG {
de {
latestPostsTitle = Die neusten Artikel
}
}
}
rss {
_LOCAL_LANG {
# default.rss_click_here = No click here!
de {
rss_click_post = Artikel
rss_click_comment = Kommentare
rss_click_here = Links für Ihren RSS-Reader
}
}
}
#searchBox {}
#socialBookmarks {}
#tagCloud {}
views {
_LOCAL_LANG {
de {
viewsTitle = Die meist gelesenen Artikel
widgetSelector.description = Widget für meist gelesene
Artikel
}
}
}
}
[globalVar = GP:L = 0]
plugin.tx_t3blog_pi1.views.listItem.20.wrap = <dd>| Mal angesehen</dd>
[GLOBAL]
lib.tx_t3blog_pi1.widgets = COA
lib.tx_t3blog_pi1.widgets {
archive = USER
archive {
userFunc = tx_t3blog_pi1->main
widget.archive < plugin.tx_t3blog_pi1.archive
# widget.archive.globalWrap.wrap = <div class="sidebarItem
archive">|</div>
template = TEXT
template.field = archive
}
blogList = USER
blogList {
userFunc = tx_t3blog_pi1->main
widget.blogList < plugin.tx_t3blog_pi1.blogList
# widget.blogList.list.10.wrap = <div class="sidebarItem
blogList">|</div>
template = COA
template.30 = COA
template.30 {
stdWrap {
wrap = <div id="col2" class="content">|</div>
required = 1
}
10 = TEXT
10 {
field = blogList
}
30 = COA
30 {
stdWrap {
prepend = TEXT
prepend {
//value = navigation
wrap = <hr class="hidden" /><h2
id="mainContentLabel" class="hidden">|</h2>
}
wrap = <div id ="mainContent" class="content">|</div>
}
20 < styles.content.get
20.select.andWhere = irre_parenttable = '' AND
irre_parentid = 0
}
}
}
blogrollList = USER
blogrollList {
userFunc = tx_t3blog_pi1->main
widget.blogrollList < plugin.tx_t3blog_pi1.blogrollList
# widget.blogrollList.list.wrap = <div class="sidebarItem
blogrollList">|</div>
template = TEXT
template.field = blogrollList
}
calendar = USER
calendar {
userFunc = tx_t3blog_pi1->main
widget.calendar < plugin.tx_t3blog_pi1.calendar
# widget.calendar.calendaroutput.10.wrap = <div
class="sidebarItem" id="calendar">|</div>
template = TEXT
template.field = calendar
}
categories = USER
categories {
userFunc = tx_t3blog_pi1->main
widget.categories < plugin.tx_t3blog_pi1.categories
# widget.categories.categories.wrap = <div class="sidebarItem
categories">|</div>
template = TEXT
template.field = categories
}
latestCommentsNav = USER
latestCommentsNav {
userFunc = tx_t3blog_pi1->main
widget.latestCommentsNav < plugin.tx_t3blog_pi1.latestCommentsNav
# widget.latestCommentsNav.list.wrap = <div class="sidebarItem
latestCommentsNav">|</div>
template = TEXT
template.field = latestCommentsNav
}
latestPostNav = USER
latestPostNav {
userFunc = tx_t3blog_pi1->main
widget.latestPostNav < plugin.tx_t3blog_pi1.latestPostNav
# widget.latestPostNav.list.wrap = <div class="sidebarItem
latestPostNav">|</div>
template = TEXT
template.field = latestPostNav
}
rss = USER
rss {
userFunc = tx_t3blog_pi1->main
widget.rss < plugin.tx_t3blog_pi1.rss
# widget.rss.list.wrap = <div class="sidebarItem rss">|</div>
template = TEXT
template.field = rss
}
searchBox = USER
searchBox {
userFunc = tx_t3blog_pi1->main
widget.searchBox < plugin.tx_t3blog_pi1.searchBox
# widget.searchBox.form.wrap = <div class="sidebarItem"
id="searchBox">|</div>
template = TEXT
template.field = searchBox
}
socialBookmarks = USER
socialBookmarks {
userFunc = tx_t3blog_pi1->main
widget.socialBookmarks < plugin.tx_t3blog_pi1.socialBookmarks
# widget.socialBookmarks.globalWrap.wrap = <div
class="sidebarItem socialBookmarks">|</div>
template = TEXT
template.field = socialBookmarks
}
tagCloud = USER
tagCloud {
userFunc = tx_t3blog_pi1->main
widget.tagCloud < plugin.tx_t3blog_pi1.tagCloud
widget.tagCloud {
# globalWrap.wrap = <div class="sidebarItem tagCloud">|</div>
minColor = #666
maxColor = #fff
minFontSize = 11
maxFontSize = 20
maxTagsToShow = 20
# options : lin, log
renderingAlgorithm = lin
# options: em,ex,cm,in,pt,px,mm,pc,%
unit = px
# options: count, tag
sortBy = count
# wrap:
# list. ... see TypoScript-Object-Browser
# wrap:
# item. ... see TypoScript-Object-Browser
}
template = TEXT
template.field = tagCloud
/*
template = COA
template {
20 = COA
20 {
# stdWrap = |
required = 1
10 = TEXT
10 {
field = tagCloud
}
}
}
*/
}
views = USER
views {
userFunc = tx_t3blog_pi1->main
widget.views < plugin.tx_t3blog_pi1.views
# widget.views.list.wrap = <div class="sidebarItem views">|</div>
template = TEXT
template.field = views
}
}
lib.tx_t3blog_pi1.sideBar = COA
lib.tx_t3blog_pi1.sideBar {
wrap = <div class="t3blog-sidebar">|</div>
5 =< lib.tx_t3blog_pi1.widgets.tagCloud
5.widget.tagCloud.globalWrap.wrap = <div class="sidebarItem
tagCloud">|</div>
10 =< lib.tx_t3blog_pi1.widgets.searchBox
10.widget.searchBox.form.wrap = <div class="sidebarItem"
id="searchBox">|</div>
20 =< lib.tx_t3blog_pi1.widgets.calendar
20.widget.calendar.calendaroutput.10.wrap = <div
class="sidebarItem" id="calendar">|</div>
30 =< lib.tx_t3blog_pi1.widgets.latestPostNav
30.widget.latestPostNav.list.wrap = <div class="sidebarItem
latestPostNav">|</div>
# default: %d.%m.%Y %R
30.widget.latestPostNav.listItem.20.strftime = %d.%m.%Y
40 =< lib.tx_t3blog_pi1.widgets.latestCommentsNav
40.widget.latestCommentsNav.list.wrap = <div class="sidebarItem
latestCommentsNav">|</div>
50 =< lib.tx_t3blog_pi1.widgets.categories
50.widget.categories.categories.wrap = <div class="sidebarItem
categories">|</div>
60 =< lib.tx_t3blog_pi1.widgets.blogrollList
60.widget.blogrollList.list.wrap = <div class="sidebarItem
blogrollList">|</div>
70 =< lib.tx_t3blog_pi1.widgets.archive
70.widget.archive.globalWrap.wrap = <div class="sidebarItem
archive">|</div>
80 =< lib.tx_t3blog_pi1.widgets.rss
80.widget.rss.list.wrap = <div class="sidebarItem rss">|</div>
90 =< lib.tx_t3blog_pi1.widgets.socialBookmarks
90.widget.socialBookmarks.globalWrap.wrap = <div class="sidebarItem
socialBookmarks">|</div>
100 =< lib.tx_t3blog_pi1.widgets.views
100.widget.views.list.wrap = <div class="sidebarItem views">|</div>
}
lib.tx_t3blog_pi1.sideBarLeft =< lib.tx_t3blog_pi1.sideBar
lib.tx_t3blog_pi1.sideBarLeft.wrap = <div class="t3blog-sidebar
t3blog-sidebarLeft">|</div>
lib.tx_t3blog_pi1.sideBarRight =< lib.tx_t3blog_pi1.sideBar
lib.tx_t3blog_pi1.sideBarRight.wrap = <div class="t3blog-sidebar
t3blog-sidebarRight">|</div>
xmlnews = PAGE
xmlnews {
typeNum = 100
config {
disableAllHeaderCode = 1
additionalHeaders = Content-type:text/xml
linkVars = L
no_cache = 1
xhtml_cleaning = 0
admPanel = 0
}
10 = USER
10 {
# Call the user function
userFunc = tx_t3blog_pi1->main
widget.rss < plugin.tx_t3blog_pi1.rss
widget.rss.feedImage = /typo3conf/ext/t3blog/icons/rss.png
# Load "design" of the RSS-stuff
# Attention! This will only work, when you are
# using the static template "T3BLOG Layout".
# The static template has included the full design of
# a blog (position of widgets and much more)
template = TEXT
template.field = rss
}
}
[globalVar = GP:L = 0]
xmlnews.10.widget.rss.feedLanguage = de-de
xmlnews.10.widget.rss.feedDescription =
xmlnews.10.widget.rss.feedTimeLocale = de_DE.utf8
xmlnews.10.widget.rss.feedStrftime = %a, %d %b %Y %H:%M:%S +0200
[globalVar = GP:L = 30]
xmlnews.10.widget.rss.feedLanguage = en-en
xmlnews.10.widget.rss.feedDescription =
xmlnews.10.widget.rss.feedTimeLocale = en_US.utf8
xmlnews.10.widget.rss.feedStrftime = %a, %d %b %Y %H:%M:%S +0200
[GLOBAL]
More information about the TYPO3-german
mailing list