FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

patrickbroens/t3ext-replacecontent · GitHub

 
 

Repository files navigation

TYPO3 extension: replacecontent

Search and replace strings after page generation using regular expressions

Clone it

git clone https://github.com/MaxServ/t3ext-replacecontent.git replacecontent

Or install it using composer:

{
    "repositories": [
        {
            "type": "git",
            "url": "https://github.com/MaxServ/t3ext-replacecontent.git"
        }
    ],
    "require": {
        "maxserv/replacecontent": "*"
    }
}

##Example You must set the Search and Replace patterns via TypoScript. TypoScript setup usage:

config.tx_replacecontent {
  search {
    1 = #(src|href)=("|')(/?)(typo3temp|fileadmin|uploads)/#
    2 = lala
  }
  replace {
    1 = $1=$2{$config.tx_replacecontent.schema}{$config.tx_replacecontent.host}/$4/
    2 = Smörgåsbord
  }
}

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages


Back | FazBrowse Home | New Git URL