Copied unchanged from public/typo3conf/ext/ of EP/website at 9593cc8631354f8a363d6609de8b7433f669a9a0 (Git-tracked files only). History stays in the old repository. Only composer.json files are added so the extensions install as path packages. Co-Authored-By: Claude Opus 5.5 <[email protected]>
136 lines
3.5 KiB
Plaintext
136 lines
3.5 KiB
Plaintext
lib.tue_sitemapcsv = COA_INT
|
|
lib.tue_sitemapcsv {
|
|
5 = TEXT
|
|
5 {
|
|
value (
|
|
"URL";"Latest change";"Doktype";"Title";"Nav Title";"Description"
|
|
)
|
|
}
|
|
10 = COA
|
|
10 {
|
|
10 = TEXT
|
|
10 {
|
|
typolink {
|
|
forceAbsoluteUrl = 1
|
|
parameter.field = uid
|
|
returnLast = url
|
|
}
|
|
wrap = "|";
|
|
replacement.10 {
|
|
search = "
|
|
replace = ""
|
|
}
|
|
}
|
|
20 = CONTENT
|
|
20 {
|
|
table = tt_content
|
|
select {
|
|
pidInList.field = uid
|
|
orderBy = tstamp DESC
|
|
languageField = sys_language_uid
|
|
max = 1
|
|
}
|
|
renderObj = COA
|
|
renderObj {
|
|
10 = TEXT
|
|
10 {
|
|
field = tstamp
|
|
date = c
|
|
postCObject = TEXT
|
|
postCObject {
|
|
field = tstamp
|
|
age = " Minutes| Hours| Days| Years| Minute| Hour| Day| Year"
|
|
noTrimWrap = | (vor |)|
|
|
}
|
|
if {
|
|
value.field = tstamp
|
|
isLessThan.data = DB:pages:{field:uid}:tstamp
|
|
isLessThan.data.insertData = 1
|
|
}
|
|
}
|
|
}
|
|
stdWrap {
|
|
ifEmpty.cObject < lib.tue_sitemapcsv.10.20.renderObj.10
|
|
ifEmpty.cObject.if >
|
|
replacement < lib.tue_sitemapcsv.10.10.replacement
|
|
wrap < lib.tue_sitemapcsv.10.10.wrap
|
|
}
|
|
}
|
|
30 = CASE
|
|
30 {
|
|
key.field = doktype
|
|
1 = TEXT
|
|
1.value = Standard
|
|
3 = TEXT
|
|
3.value = External URL
|
|
4 = TEXT
|
|
4.value = Shortcut
|
|
6 = TEXT
|
|
6.value = Backend User Section
|
|
stdWrap {
|
|
replacement < lib.tue_sitemapcsv.10.10.replacement
|
|
wrap < lib.tue_sitemapcsv.10.10.wrap
|
|
}
|
|
}
|
|
40 = TEXT
|
|
40 {
|
|
field = title
|
|
replacement < lib.tue_sitemapcsv.10.10.replacement
|
|
wrap < lib.tue_sitemapcsv.10.10.wrap
|
|
}
|
|
50 = TEXT
|
|
50 {
|
|
field = nav_title
|
|
replacement < lib.tue_sitemapcsv.10.10.replacement
|
|
wrap < lib.tue_sitemapcsv.10.10.wrap
|
|
}
|
|
60 = TEXT
|
|
60 {
|
|
field = description
|
|
replacement < lib.tue_sitemapcsv.10.10.replacement
|
|
wrap < lib.tue_sitemapcsv.10.10.wrap
|
|
}
|
|
100 = TEXT
|
|
100 {
|
|
value (
|
|
|
|
|
|
)
|
|
}
|
|
}
|
|
20 = HMENU
|
|
20 {
|
|
includeNotInMenu = 1
|
|
1 = TMENU
|
|
1 {
|
|
noBlur = 1
|
|
expAll = 1
|
|
NO {
|
|
doNotShowLink = 1
|
|
allStdWrap.cObject < lib.tue_sitemapcsv.10
|
|
}
|
|
}
|
|
2 < .1
|
|
3 < .1
|
|
4 < .1
|
|
5 < .1
|
|
6 < .1
|
|
}
|
|
}
|
|
|
|
[backend.user.isLoggedIn]
|
|
sitemapcsv = PAGE
|
|
sitemapcsv {
|
|
typeNum = 888
|
|
config {
|
|
disableAllHeaderCode = 1
|
|
xhtml_cleaning = 0
|
|
admPanel = 0
|
|
debug = 0
|
|
additionalHeaders = Content-type:text/csv;charset=utf-8|Content-Disposition:attachment; filename="sitemap.csv"
|
|
}
|
|
10 < lib.tue_sitemapcsv
|
|
}
|
|
[END]
|
|
|