Project

General

Profile

Bug #22655 » 0014392.txt

Administrator Admin, 2010-05-26 17:08

 
# redirecting to an accessible page if no logged in frontend user:
config.typolinkLinkAccessRestrictedPages = 2
config.typolinkLinkAccessRestrictedPages_addParams = &pageId=###PAGE_ID###

page >
page = PAGE
page {
dokType = 0
10 = COA
10 {
5 = TEXT
5.value = <h1>FORCED ABSOLUTE URL</h1>
10 = TEXT
10 {
typolink {
parameter.data = page:uid
forceAbsoluteUrl = 1
forceAbsoluteUrl.scheme = https
returnLast = url
}
wrap = <p>|</p>
}
20 < .10
20.typolink.parameter >
# access restricted page (only for logged in frontend user):
20.typolink.parameter = 211
30 < .10
30.typolink.parameter = /
40 < .20
40.typolink.parameter = /test12345/
50 < .20
50.typolink.parameter = fileadmin/files/ortsplan.pdf
60 < .20
60.typolink.parameter = http://www.google.de/test/
}

20 < .10
20.5.value = <h1>REGULAR</h1>
20.10.typolink.forceAbsoluteUrl >
20.20.typolink.forceAbsoluteUrl >
20.30.typolink.forceAbsoluteUrl >
20.40.typolink.forceAbsoluteUrl >
20.50.typolink.forceAbsoluteUrl >
20.60.typolink.forceAbsoluteUrl >
}​
(2-2/2)