DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

Setup

Properties

Property Data type t3tsref:stdwrap Default
urlRegularExpressions.pattern1 t3tsref:data-type-string no empty
urlRegularExpressions.pattern1.replacement t3tsref:data-type-string no empty
urlRegularExpressions.pattern1.useWholeContent t3tsref:data-type-boolean no 0

Property Details

urlRegularExpressions

plugin.tx_scriptmerger.urlRegularExpressions = t3tsref:data-type-array

Custom regular expressions that process any links on the site. Can be used to change links to use a CDN or an special cookie-free asset domain. It’s possible to define multiple expressions.

urlRegularExpressions.pattern1

plugin.tx_scriptmerger.urlRegularExpressions.pattern1 = t3tsref:data-type-string

Regular expression (e.g. http://domain.tld((filadmin|typo3temp/).+))

urlRegularExpressions.pattern1.replacement

plugin.tx_scriptmerger.urlRegularExpressions.pattern1.replacement = t3tsref:data-type-string

Replacement expression (e.g. http://assets.domain.tld/$1)

urlRegularExpressions.pattern1.useWholeContent

plugin.tx_scriptmerger.urlRegularExpressions.pattern1.useWholeContent = t3tsref:data-type-boolean

Use the whole page content as the source for the regular expression instead of only URLs. In this case you must handle the quoting and modifier stuff yourself (e.g. /http://de./is)