Project

General

Profile

Actions

T3 V10 Best Practice » History » Revision 4

« Previous | Revision 4/16 (diff) | Next »
Enis Nuredini, 05.03.2023 16:25


T3 V10 Best Practice

Redirect BaseUrl to Home

Site Management > Redirects > Add redirect
Source Domain = webwork20a.math.uzh.ch
Source Path = /medtool/dev10/
Force SSL Redirect = Enabled
Status Code HTTP Header = 307

Forwarding (Page not Found/Not accessible)

Typo3 Site Configuration:

Site Management > Sites > Error Handling > [errorCode] = 403 / [errorHandler] = Page / [errorContentSource] = https://webwork20a.math.uzh.ch/medtool/dev10/login
Specific page must be given. Using BaseUrl doesnt work.

PDF emptyTemplate

The empty template setup content from T3 V9 and earlier doesn't work in 10 and higher anymore. Instead following setup can be used:

page = PAGE
page.typeNum = 0
page.includeCSS {
  10 = typo3conf/ext/qfq/Resources/Public/Css/qfq-letter.css
}

// Grant access to any logged in user or specific development IPs
[loginUser('*') or ip('127.0.0.1')] 
  page.10 < styles.content.get
[else]
  page.10 = TEXT
  page.10.value = access forbidden
[global]

Updated by Enis Nuredini about 1 year ago · 4 revisions