TYPO3.CMS 7.6 Extensions: Unterschied zwischen den Versionen

Aus Vosp.info
Wechseln zu:Navigation, Suche
Zeile 13: Zeile 13:
 
* extension installieren
 
* extension installieren
 
** über den Extensionmanger im Backend
 
** über den Extensionmanger im Backend
 +
 +
== realurl ==
 +
key: realurl
 +
* Einstellungen der in Extension:
 +
<source lang=bash>
 +
basic.configFile:  typo3conf/realurl_conf.php
 +
basic.enableAutoConf: checked
 +
</source>
 +
 +
Hauptseite Template:
 +
<source lang=typoscript>
 +
    prefixLocalAnchors = all
 +
  absRefPrefix = https://sub.domain.tld/
 +
  absRelPath = /
 +
  tx_realurl_enable = 1
 +
</source>
 +
 +
.htaccess
 +
<source lang=bash>
 +
#RewriteEngine On
 +
RewriteBase /
 +
RewriteRule ^(typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|showpic\.php)/ - [L]
 +
RewriteRule ^typo3$ typo3/index_re.php [L]
 +
RewriteCond %{REQUEST_FILENAME} !-f
 +
RewriteCond %{REQUEST_FILENAME} !-d
 +
RewriteCond %{REQUEST_FILENAME} !-l
 +
RewriteRule .* /index.php [L]
 +
</source>

Version vom 17. Dezember 2015, 15:01 Uhr



tt_news

  • code holen
cd typo3conf/ext/
git clone https://github.com/rupertgermann/tt_news
  • extension installieren
    • über den Extensionmanger im Backend

realurl

key: realurl 
  • Einstellungen der in Extension:
basic.configFile:  typo3conf/realurl_conf.php
basic.enableAutoConf: checked
Hauptseite Template:
    prefixLocalAnchors = all
  absRefPrefix = https://sub.domain.tld/
  absRelPath = /
  tx_realurl_enable = 1
.htaccess
#RewriteEngine On
RewriteBase /
RewriteRule ^(typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|showpic\.php)/ - [L]
RewriteRule ^typo3$ typo3/index_re.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* /index.php [L]