.. You may want to use the usual include line. Uncomment and adjust the path. .. include:: ../Includes.txt ==================== wt\_searchandreplace ==================== :Author: Kasper Skårhøj :Created: 2002-11-01T00:32:00 :Changed: 2007-11-20T13:28:36 :Classification: TYPO3 Extension: String ersetzen :Author: Alexander Kellner :Email: Alex@wunschtacho.de :Info 3: :Info 4: .. _wt-searchandreplace: wt\_searchandreplace ==================== Extension Key: **wt\_searchandreplace** Copyright 2005-2008, Alexander Kellner, This document is published under the Open Content License available from http://www.opencontent.org/opl.shtml The content of this document is related to TYPO3 \- a GNU/GPL CMS/Framework available from www.typo3.com .. _Table-of-Contents: Table of Contents ----------------- **wt\_searchandreplace 1** **Introduction 2** What does it do? 2 Screenshots 3 **Installation 5** **Example TypoScript 6** Constants: 6 **Additional Notes 7** Universal use 7 How to see “search” and “replace” string in the list 8 **Known problems 9** **Changelog 10** **Additional links (en) 11** .. _Introduction: Introduction ------------ .. _What-does-it-do: What does it do? ^^^^^^^^^^^^^^^^ It is a simple frontend-plugin to change any string of your content into another – e.g.: Change “[typo3]” to “TYPO3” - You can define as much as needed strings to replace - Records can be hided or defined by a start and stop time - Define your startpage - Define some pages, which should not use this plugin .. _Screenshots: Screenshots ^^^^^^^^^^^ .. _Frontend-Example-changing-Lorem-to-a-blue-Lor-and-a-black-em: Frontend (Example changing Lorem to a blue Lor and a black em): """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" .. _img-1: |img-1| """"""" .. _Backend-Example-changing-Lorem-to-a-blue-Lor-and-a-black-em: Backend (Example changing Lorem to a blue Lor and a black em): """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" .. _img-2: |img-2| """"""" .. _Backend-Example-create-a-new-record-SearchandReplace-String: Backend (Example create a new record “SearchandReplace String): """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |img-3| .. _img-4-Backend-Example-create-a-new-record: |img-4| Backend (Example create a new record): """""""""""""""""""""""""""""""""""""""""""""" .. _Installation: Installation ------------ - Import from online repository - Create a new site (e.g. A sysfolder) - Insert there a new record: SearchandReplace String - To activate this function see TypoScript below - Finish! .. _Example-TypoScript: Example TypoScript ------------------ .. _Constants: Constants: ^^^^^^^^^^ plugin.tx\_wtsearchandreplace\_pi1 { \# PID of startpage and subpages where replace should be used (empty if you want to use replace on every page) PID\_start = \# PID of some pages, which should not be replaced (e.g.: 2,3,4) PID\_exclude = \# PID of your sysfolder where your searchandreplace strings are safed PID\_replacestring = } .. _Additional-Notes: Additional Notes ---------------- .. _Universal-use: Universal use ^^^^^^^^^^^^^ Every TypoScript Object can be manipulated with this small extension (have a look into ext\_typoscript\_setup.txt in the folder where this extension is, to understand how this small ext works) – feel free to test it! .. _How-to-see-search-and-replace-string-in-the-list: How to see “search” and “replace” string in the list ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |img-5| 1. Use the “ **+ symbol** ”in the list view |img-6| 2. Hold CTRL key and choose “ **search** ” and “ **replace** ” |img-7| 3. Now you can see all search and replace entries and can choose the “ **- symbol** ” .. _Known-problems: Known problems -------------- The whole content (text, imagetags, forms, etc..) will be searched of each page, so try to use unique words to replace - like **[replaceme]** .. _Changelog: Changelog --------- .. _generated: ((generated)) ^^^^^^^^^^^^^ .. _First-Upload-on-Friday-23-02-2007: First Upload on Friday 23.02.2007 """"""""""""""""""""""""""""""""" .. _Update-on-Friday-04-05-2007: **Update on Friday 04.05.2007** """"""""""""""""""""""""""""""" Small changes in the manual .. _Update-on-Wednesday-31-10-2007: **Update on Wednesday 31.10.2007** """""""""""""""""""""""""""""""""" - Improved searchandreplace string to prevent to replace words in images or other tags - You can enter a startpage - You can exclude some pages - You can use this plugin more than one time in a TYPO3 installation .. _Update-on-Thursday-15-11-2007-verison-1-1-0: **Update on Thursday 15.11.2007 verison 1.1.0** """"""""""""""""""""""""""""""""""""""""""""""" Problems with searchwords in images .. _Update-on-Tuesday-20-11-2007-verison-1-1-1: **Update on Tuesday 20.11.2007 verison 1.1.1** """""""""""""""""""""""""""""""""""""""""""""" Bugfix: Only the first replacement string was used .. _Additional-links-en: Additional links (en) --------------------- **You can use one of the following links, to get more informations about this plugin:** - Authors homepage 1: `http://www.einpraegsam.net `_ - Tuning parts for your car: `http://www.wunschtacho.de `_ - Stuff for snowboarder and skier: `http://www.justpowder.de `_ Do you need help with this plugin: `http://www.typo3.net `_ |img-8| wt\_searchandreplace - 11 .. ######CUTTER_MARK_IMAGES###### .. |img-1| image:: img-1.png .. :align: left .. :border: 0 .. :height: 352 .. :id: Grafik1 .. :name: Grafik1 .. :width: 454 .. |img-2| image:: img-2.png .. :align: left .. :border: 0 .. :height: 62 .. :id: Grafik7 .. :name: Grafik7 .. :width: 534 .. |img-3| image:: img-3.png .. :align: left .. :border: 0 .. :height: 233 .. :id: Grafik2 .. :name: Grafik2 .. :width: 301 .. |img-4| image:: img-4.png .. :align: left .. :border: 0 .. :height: 258 .. :id: Grafik8 .. :name: Grafik8 .. :width: 467 .. |img-5| image:: img-5.png .. :align: left .. :border: 0 .. :height: 277 .. :id: Grafik3 .. :name: Grafik3 .. :width: 216 .. |img-6| image:: img-6.png .. :align: left .. :border: 0 .. :height: 251 .. :id: Grafik4 .. :name: Grafik4 .. :width: 206 .. |img-7| image:: img-7.png .. :align: left .. :border: 0 .. :height: 229 .. :id: Grafik5 .. :name: Grafik5 .. :width: 617 .. |img-8| image:: img-8.png .. :align: left .. :border: 0 .. :height: 32 .. :id: Graphic1 .. :name: Graphic1 .. :width: 102