03.08.2011, 10:43
Seltsames Problem mit tt_news + CoolURI, Version 1.0.25.
Habe vor kurzem eine Seite online gestellt, Anfangs funktionierte alles wie gewollt, die URLs der tt_news wurden nach dem Muster
http://domain.de/aktuelles/titel-der-news/
umgeschrieben.
Seite heute funktioniert das plötzlich nicht mehr, die Urls sehen jetzt so aus.
http://domain.de/aktuelles/?tx_ttnews[tt_news]=7
Ich habe aber keinerlei Änderungen vorgenommen, weder an der CoolUriConf.xml noch sonst wo. Auch mehrmaliges Löschen des T3-Caches und des CoolURI-Caches hat nichts gebracht. Bei "normalen" Seiten werden die URLs umgeschrieben.
Jemand eine Idee, was da los sein könnte?
Hier noch meine aktuelle CoolUriConf.xml:
Habe vor kurzem eine Seite online gestellt, Anfangs funktionierte alles wie gewollt, die URLs der tt_news wurden nach dem Muster
http://domain.de/aktuelles/titel-der-news/
umgeschrieben.
Seite heute funktioniert das plötzlich nicht mehr, die Urls sehen jetzt so aus.
http://domain.de/aktuelles/?tx_ttnews[tt_news]=7
Ich habe aber keinerlei Änderungen vorgenommen, weder an der CoolUriConf.xml noch sonst wo. Auch mehrmaliges Löschen des T3-Caches und des CoolURI-Caches hat nichts gebracht. Bei "normalen" Seiten werden die URLs umgeschrieben.
Jemand eine Idee, was da los sein könnte?
Hier noch meine aktuelle CoolUriConf.xml:
XML Programming
- <?xml version="1.0" encoding="utf-8"?>
- <cooluri>
-
- <cache>
- <usecache>1</usecache><!-- READONLY -->
- <params2cool>
- <!-- how often (in days) should be links updated (Typo3 cache needs to be cleared) -->
- <checkforchangeevery>1</checkforchangeevery>
- </params2cool>
- <cool2params>
- <!-- how many days should old links (those that are redirected to existing) should be kept active -->
- <oldlinksvalidfor>365</oldlinksvalidfor>
- </cool2params>
-
- <pagenotfound>
- <!-- the status has to meet HTTP protocol header -->
- <status>HTTP/1.0 404 Not Found</status>
- <behavior type="redirect"><![CDATA[seite-nicht-gefunden/]]></behavior>
- <!-- possible @type values:
- page - will show a file (loaded using file_get_contents)
- redirect - will redirect to a certaing URL
- message - will output a message
- -->
- </pagenotfound>
- </cache>
-
- <pagepath>
- <!-- first non-empty value will be used -->
- <title>tx_realurl_pathsegment,alias,subtitle,title</title>
-
- <saveto>id</saveto><!-- READONLY -->
- <default>0</default><!-- READONLY -->
-
- <userfunc>tx_cooluri->getPageTitle</userfunc>
- <t3conv>1</t3conv>
- </pagepath>
-
- <uriparts>
- <part>
- <parameter>tx_ttnews[tt_news]</parameter>
- <lookindb>
- <to>SELECT title FROM tt_news WHERE uid=$1</to>
- <!-- if you have news items in different languages in one folder, use this sql -->
- <!-- to>SELECT title FROM tt_news WHERE (uid=$1 or l18n_parent=$1) AND sys_language_uid={L=0}</to -->
-
- <translatetoif>
- <match>^[0-9]+$</match>
- </translatetoif>
- <t3conv>1</t3conv>
- </lookindb>
- </part>
- <part>
- <parameter>tx_eeblog[showUid]</parameter>
- <lookindb>
- <to>SELECT subject FROM tx_eeblog_maintable WHERE uid=$1</to>
- <t3conv>1</t3conv>
- </lookindb>
- </part>
- <!-- you can move cHash to predefineparts to remove in from URL
- but first read the manual -->
-
- <!-- common patterns -->
-
- <!-- this will just add this parameter value to URL -->
- <part>
- <parameter>paramA</parameter>
- </part>
- <!-- this will look up parameter value in the database table "sometable" and if found
- the value will be transformed using Typo3 csconv into URL-like value.
- You can make all sorts of MySQL stuff here, such as add UID into the result:
- SELECT CONCAT(title,'-',uid) FROM ...
- -->
- <part>
- <parameter>paramB</parameter>
- <lookindb>
- <to>SELECT title FROM sometable WHERE uid=$1</to>
- <t3conv>1</t3conv>
- </lookindb>
- </part>
- </uriparts>
-
- <predefinedparts>
- <part>
- <parameter>no_cache</parameter>
- </part>
- <part>
- <parameter>cHash</parameter>
- </part>
-
-
- <!-- common patterns -->
-
- <!-- parts defined this way will be removed from URL -->
- <part>
- <parameter>paramC</parameter>
- </part>
- <!-- this will prefix a value with "prefix-". Cannot be localized.
- -->
- <part key="prefix-(.*)" regexp="1">
- <parameter>paramD</parameter>
- </part>
- <!-- if parameter matches value, key will be added to URL
- with mutliple values, use valuemaps
- -->
- <part key="thisWillAppearInUrl">
- <parameter>paramE</parameter>
- <value>ifParamEMatcesThisValue</value>
- </part>
- </predefinedparts>
-
- <valuemaps>
- <valuemap>
- <parameter>L</parameter>
- <!-- L is empty of 0, result is empty -->
- <value key="">0</value>
- <!-- L is 1, result is "en" -->
- <value key="en">1</value>
- </valuemap>
- </valuemaps>
-
- <!-- this will put L param to the first position
- for more magic see manual -->
- <paramorder>
- <param>L</param>
- </paramorder>
-
- <!-- READONLY START -->
- <cooluris>1</cooluris>
-
- </cooluri>