Zum Inhalt springen

Suchfunktion über Cooluri ansprechen

Erstellt am 17. Juni 2011 · 14 Antworten · letzte Antwort am 22. Juli 2011

Tags: URLs & Routing, Frage

flotisso ·

Hallo Community,

ich suche mittlerweile verzweifelt seit mindestens 3 Stunden nach einer Lösung für folgendes Problem.

Ich habe nun auf meinem Webserver Cooluri fertig konfiguriert und bastle jetzt an der integrierten Suchfunktion von tt_products in Verbindung mit dieser.

Eine normale Suche ohne Cooluri würde folgendermaßen aussehen:

http://www.meineurl.com/index.php?id=17

Eine normale Suche mit Cooluri so:

http://www.meineurl.com/suche/

so sieht sie auch aus, nur dass bei der Funktion mit Cooluri keine Suche ausgegeben wird.
Ich habe hier mal ein paar Codeschnipsel vorbereite und hoffe verbittert um eure Hilfe!

CoolUriConf.xml

<?xml version="1.0" encoding="utf-8"?> 
<cooluri> 
   <cooluris>1</cooluris> 
 
   <cache> 
     <usecache>1</usecache> 
     <params2cool> 
       <checkforchangeevery>1</checkforchangeevery> 
     </params2cool> 
     <cool2params> 
       <translateifnotfound>0</translateifnotfound> 
       <oldlinksvalidfor>365</oldlinksvalidfor> 
     </cool2params> 
     <cacheparams>0</cacheparams> 
 
     <pagenotfound> 
       <status>HTTP/1.0 404 Not Found</status> 
       <behavior type="message"><![CDATA[ <h1>Page not found!</h1> 
]]></behavior> 
     </pagenotfound> 
   </cache> 
 
   <pagepath> 
     <title>tx_realurl_pathsegment,alias,subtitle,title</title> 
     <saveto>id</saveto> 
     <default>0</default> 
     <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=</to> 
         <translatetoif> 
           <match>^[0-9]+$</match> 
         </translatetoif> 
         <t3conv>1</t3conv> 
       </lookindb> 
     </part> 
     <part> 
       <parameter>tt_products[product]</parameter> 
       <lookindb> 
         <to>SELECT title FROM tt_products WHERE uid=</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=</to> 
         <translatetoif> 
           <match>^[0-9]+$</match> 
         </translatetoif> 
         <t3conv>1</t3conv> 
       </lookindb> 
     </part> 
   </uriparts> 
 
   <predefinedparts> 
     <part> 
       <parameter>tx_ttnews[backPid]</parameter> 
     </part> 
     <part> 
       <parameter>cHash</parameter> 
     </part> 
     <part> 
       <parameter>tx_eeblog[pointer]</parameter> 
     </part> 
     <part> 
       <parameter>tx_eeblog[backPID]</parameter> 
     </part> 
     <part> 
       <parameter>tx_ttproducts_pi1[backPID]</parameter> 
     </part> 
     <part> 
       <parameter>no_cache</parameter> 
     </part> 
   </predefinedparts> 
 
   <valuemaps> 
     <valuemap> 
       <parameter>L</parameter> 
       <value key="">0</value> 
       <value key="en">1</value> 
     </valuemap> 
   </valuemaps> 
 
   <paramorder> 
     <param>L</param> 
   </paramorder> 
 
</cooluri>

Typoscript Auszug tt_products:

# Seiten ID für Suche
plugin.tt_products.PIDsearch = {$id_shopsuche}

Suchfeld Definition HTML Template:

      <div id="item_search"><form method="post" action="index.php?id=17"><input class="search" size="18" maxlength="100" type="text" name="sword" value="Suche" onfocus="if(this.value==this.defaultValue) this.value='';" onblur="if(this.value=='') this.value=this.defaultValue;" /> <input class="inputimage" type="image" src="img/lupe.gif" alt="suchen"></form></div>
      <div id="kopfnav">[KOPFNAV]</div>

Suchfeld Definiton CSS:

#item_search {

    float: right;

    width: 160px;

    height: 20px;

    font-size: 12px;

#    padding-left: 10px;

    border: 0;

}



#item_search .inputimage { vertical-align:middle; border: none; border-width: 0px; border-color:#FFFFFF; /*!important*/ }

#item_search input{ border-style: solid; border-width: 1px;  font-size:12px;}

#item_search form { margin-top: 0; }
aimcom ·

Ich kenn mich mit der Produktsuche konkret nicht aus, verwende aber auch CoolURI z. B. in Kombination mit der indexed_search. Jetzt mal ganz blöd gefragt, aber löst CoolURI denn die URL "/suche/" korrekt auf in "index.php?id=17"?

flotisso ·

hab mir soeben die redirects angekuckt und dass dürfte so eigentlich passen. ich weiß nur nicht warum die suche dann mit einer zahl zusätzlich nochmal verknüpft ist!

produkte/artikelsuche/	id=17	2011-06-29 10:53:30	2011-07-12 13:13:45	NO	      
produkte/artikelsuche/1265/	cHash=6cc248fb3dccde9bb98e66253066f40b&id=17&tt_products[product]=1265&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1266/	cHash=6e6c89b6f1df4f4ac1c703bf8a73a81e&id=17&tt_products[product]=1266&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1267/	cHash=e56bb54ccfe0f5afbc438d1f679958de&id=17&tt_products[product]=1267&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1269/	cHash=1bea8106b405a7a59ccdfaefa169e1d0&id=17&tt_products[product]=1269&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1270/	cHash=f5f20fa93cc0eedb823919dda78fbbea&id=17&tt_products[product]=1270&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1271/	cHash=173dfdeac621f0be7a634cb297ef6445&id=17&tt_products[product]=1271&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1272/	cHash=225dc0b33ddd02acfa54ae75d63e09b4&id=17&tt_products[product]=1272&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1273/	cHash=ae0d6e2124ffdc1061e6165de6f41fdf&id=17&tt_products[product]=1273&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1274/	cHash=d28a635184a1971dc00f90269a14a627&id=17&tt_products[product]=1274&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1275/	cHash=28eeb7c544b6b940cb36b68c903ce1b5&id=17&tt_products[product]=1275&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1408/	cHash=0e897f14a4d33294db02e3de3fc2768f&id=17&tt_products[product]=1408&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1409/	cHash=f46be2e065a1903f220c08a1dfb15506&id=17&tt_products[product]=1409&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1410/	cHash=4d77ba025bf8e10adfe081ee938ec32a&id=17&tt_products[product]=1410&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1499/	cHash=d3c426c03322dad0af326639c8a0e53b&id=17&tt_products[product]=1499&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1500/	cHash=060416ae5622144deb0f0d4ee5634c11&id=17&tt_products[product]=1500&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1501/	cHash=35947696657a1bcd1d7163329c2f1939&id=17&tt_products[product]=1501&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1502/	cHash=039da2cf11cf7745a21b60ff828237d8&id=17&tt_products[product]=1502&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1503/	cHash=d55f63ff1841e364adc1a22efb33604a&id=17&tt_products[product]=1503&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1504/	cHash=78e5457fcedaf90daa3aaf562ed266c7&id=17&tt_products[product]=1504&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1507/	cHash=d805483be31c4a5dfad0e4f790abc576&id=17&tt_products[product]=1507&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1508/	cHash=6808c470cf4a09dbb4105c39287c135f&id=17&tt_products[product]=1508&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1509/	cHash=ed869e22d0de044592d16cbc56f8f1b9&id=17&tt_products[product]=1509&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1510/	cHash=65fa669e994d778db239893e92ce191c&id=17&tt_products[product]=1510&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1511/	cHash=9e3d2aa4c60006a542d2d80089824358&id=17&tt_products[product]=1511&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1512/	cHash=8067c398ca4195ddb078433c7255b298&id=17&tt_products[product]=1512&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1513/	cHash=971500b7dd9e44fafeb4508fbdce2e46&id=17&tt_products[product]=1513&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1514/	cHash=90ecbe081820c0c7e4eb68aeb883ce66&id=17&tt_products[product]=1514&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1515/	cHash=f1a5916266b29fdd496296c58d47ab1b&id=17&tt_products[product]=1515&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1516/	cHash=ec9434045307b63a59ba29ea99805f4a&id=17&tt_products[product]=1516&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1517/	cHash=ad4c5a922e926a9d4936137c3e89afbf&id=17&tt_products[product]=1517&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1518/	cHash=53f0a28c53817154b829d4042427f82c&id=17&tt_products[product]=1518&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1519/	cHash=584bdbe10858ee5e896f38a867c815eb&id=17&tt_products[product]=1519&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1520/	cHash=7a4d15cf8c903f943529bafb8530b0f0&id=17&tt_products[product]=1520&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1521/	cHash=b7c66ad80e00df66e1568e563e024aaa&id=17&tt_products[product]=1521&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1522/	cHash=d5268c27d8601cc4c1c313b70258ead7&id=17&tt_products[product]=1522&tt_products[sword]=achse	2011-07-05 20:45:27	2011-07-05 20:45:27	NO	      
produkte/artikelsuche/1523/	cHash=1929a729785e951fe6d90a99a145bc26&id=17&tt_products[product]=1523&tt_products[sword]=achse	2011-07-05 20:45:27	2011-07-05 20:45:27	NO	      
produkte/artikelsuche/1524/	cHash=466a764ccd6c21821b80753aafb153a4&id=17&tt_products[product]=1524&tt_products[sword]=achse	2011-07-05 20:45:27	2011-07-05 20:45:27	NO	      
produkte/artikelsuche/1525/	cHash=82cb9827f4b8cdac189ef5e878d732ab&id=17&tt_products[product]=1525&tt_products[sword]=achse	2011-07-05 20:45:27	2011-07-05 20:45:27	NO	      
produkte/artikelsuche/1528/	cHash=24c1b3b450fadb52dc8856f5db1c688e&id=17&tt_products[product]=1528&tt_products[sword]=achse	2011-07-05 20:45:27	2011-07-05 20:45:27	NO	      
produkte/artikelsuche/1529/	cHash=8bed3baca47b763828244140f0a28f49&id=17&tt_products[product]=1529&tt_products[sword]=achse	2011-07-05 20:45:27	2011-07-05 20:45:27	NO	      
produkte/artikelsuche/1530/	cHash=36d23b3bd713623772148c3dd02867cc&id=17&tt_products[product]=1530&tt_products[sword]=achse	2011-07-05 20:45:27	2011-07-05 20:45:27	NO	      
produkte/artikelsuche/1531/	cHash=53ab2334bd34192fc0b4dcf877ac2cea&id=17&tt_products[product]=1531&tt_products[sword]=achse	2011-07-05 20:45:27	2011-07-05 20:45:27	NO	      
produkte/artikelsuche/1532/	cHash=e52be58264806969770bb10a060b3094&id=17&tt_products[product]=1532&tt_products[sword]=achse	2011-07-05 20:45:27	2011-07-05 20:45:27	NO	      
produkte/artikelsuche/1533/	cHash=cd64cac5fed24e86ac7d5027112957b7&id=17&tt_products[product]=1533&tt_products[sword]=achse	2011-07-05 20:45:27	2011-07-05 20:45:27	NO	      
produkte/artikelsuche/1534/	cHash=fcde83eb1ffdd178d404f7ba2fc7156e&id=17&tt_products[product]=1534&tt_products[sword]=achse	2011-07-05 20:45:27	2011-07-05 20:45:27	NO	      
produkte/artikelsuche/1535/	cHash=3d07b244e5adc55b6b917616c392792e&id=17&tt_products[product]=1535&tt_products[sword]=achse	2011-07-05 20:45:27	2011-07-05 20:45:27	NO	      
produkte/artikelsuche/1536/	cHash=568b8e0612a3dc26a07b2302b17c1af7&id=17&tt_products[product]=1536&tt_products[sword]=achse	2011-07-05 20:45:27	2011-07-05 20:45:27	NO	      
produkte/artikelsuche/1537/	cHash=6dc1a9c6f5ee918a3b31f760e8a304a3&id=17&tt_products[product]=1537&tt_products[sword]=achse	2011-07-05 20:45:27	2011-07-05 20:45:27	NO	      
produkte/artikelsuche/1538/	cHash=490a3d5cd01ca96fbc1cadb48b49df61&id=17&tt_products[product]=1538&tt_products[sword]=achse	2011-07-05 20:45:27	2011-07-05 20:45:27	NO	      
produkte/artikelsuche/1539/	cHash=acc08d10efd5061a3bdc5e3582e91d53&id=17&tt_products[product]=1539&tt_products[sword]=achse	2011-07-05 20:45:27	2011-07-05 20:45:27	NO	      
produkte/artikelsuche/1540/	cHash=90587fa37ac993b3663a00de931e0807&id=17&tt_products[product]=1540&tt_products[sword]=achse	2011-07-05 20:45:27	2011-07-05 20:45:27	NO	      
produkte/artikelsuche/1541/	cHash=43f01e6756565a6f6019e73cbac38e0f&id=17&tt_products[product]=1541&tt_products[sword]=achse	2011-07-05 20:45:27	2011-07-05 20:45:27	NO	      
produkte/artikelsuche/1542/	cHash=4b0dbea4d499f38229516f5bc07f59d8&id=17&tt_products[product]=1542&tt_products[sword]=achse	2011-07-05 20:45:27	2011-07-05 20:45:27	NO	      
produkte/artikelsuche/1543/	cHash=8498232e6adf83952e625822c1f7025f&id=17&tt_products[product]=1543&tt_products[sword]=achse	2011-07-05 20:45:27	2011-07-05 20:45:27	NO	      
produkte/artikelsuche/1544/	cHash=01fb01aba4550b8a9fa72a80b63ab376&id=17&tt_products[product]=1544&tt_products[sword]=achse	2011-07-05 20:45:27	2011-07-05 20:45:27	NO	      
produkte/artikelsuche/1545/	cHash=d3551dd66bb10eef16cd3825c6480c49&id=17&tt_products[product]=1545&tt_products[sword]=achse	2011-07-05 20:45:27	2011-07-05 20:45:27	NO	      
produkte/artikelsuche/1546/	cHash=b509dea2ccd8398825ba9b8850f378ea&id=17&tt_products[product]=1546&tt_products[sword]=achse	2011-07-05 20:45:27	2011-07-05 20:45:27	NO	      
produkte/artikelsuche/1550/	cHash=6455775d8ad34fd1e276ed18ef8ca4ff&id=17&tt_products[product]=1550&tt_products[sword]=achse	2011-07-05 20:45:27	2011-07-05 20:45:27	NO	      
produkte/artikelsuche/1551/	cHash=7c854c8791b2c6fb5e247576cb5ac132&id=17&tt_products[product]=1551&tt_products[sword]=achse	2011-07-05 20:45:27	2011-07-05 20:45:27	NO	      
produkte/artikelsuche/1552/	cHash=4bab8878ee22fb878fdc0f1b5676786e&id=17&tt_products[product]=1552&tt_products[sword]=achse	2011-07-05 20:45:27	2011-07-05 20:45:27	NO	      
produkte/artikelsuche/1553/	cHash=374da08f3ad420f421a546f879bdf442&id=17&tt_products[product]=1553&tt_products[sword]=achse	2011-07-05 20:45:27	2011-07-05 20:45:27	NO	      
produkte/artikelsuche/1554/	cHash=33de608514a796373b6798cdd78a7595&id=17&tt_products[product]=1554&tt_products[sword]=achse	2011-07-05 20:45:27	2011-07-05 20:45:27	NO	      
produkte/artikelsuche/1555/	cHash=e2502075a752425b6a2ae74defe22f1e&id=17&tt_products[product]=1555&tt_products[sword]=achse	2011-07-05 20:45:27	2011-07-05 20:45:27	NO	      
produkte/artikelsuche/1556/	cHash=e2321f06858af7c2851193a721b761de&id=17&tt_products[product]=1556&tt_products[sword]=achse	2011-07-05 20:45:27	2011-07-05 20:45:27	NO	      
produkte/artikelsuche/1557/	cHash=845e630c5c96e5df9bbe65ab7f08aa31&id=17&tt_products[product]=1557&tt_products[sword]=achse	2011-07-05 20:45:27	2011-07-05 20:45:27	NO	      
produkte/artikelsuche/1558/	cHash=7a184187131fa4f8c857aac52ad9a6a6&id=17&tt_products[product]=1558&tt_products[sword]=achse	2011-07-05 20:45:27	2011-07-05 20:45:27	NO	      
produkte/artikelsuche/1559/	cHash=a35121d6732ecc057f023ed648e17886&id=17&tt_products[product]=1559&tt_products[sword]=achse	2011-07-05 20:45:27	2011-07-05 20:45:27	NO	      
produkte/artikelsuche/1560/	cHash=abc6ed19e1c6e23ce1252f9241738a92&id=17&tt_products[product]=1560&tt_products[sword]=achse	2011-07-05 20:45:27	2011-07-05 20:45:27	NO	      
produkte/artikelsuche/1561/	cHash=1490ed132f593711407b7dc11962e82c&id=17&tt_products[product]=1561&tt_products[sword]=achse	2011-07-05 20:45:27	2011-07-05 20:45:27	NO	      
produkte/artikelsuche/1562/	cHash=155eb2355073cd66f445509ec874bbd6&id=17&tt_products[product]=1562&tt_products[sword]=achse	2011-07-05 20:45:27	2011-07-05 20:45:27	NO	      
produkte/artikelsuche/1563/	cHash=96a616d5dc6503314c019fa0c676a474&id=17&tt_products[product]=1563&tt_products[sword]=achse	2011-07-05 20:45:27	2011-07-05 20:45:27	NO	      
produkte/artikelsuche/1564/	cHash=5c01a1746546e96dc10e23de22af01ad&id=17&tt_products[product]=1564&tt_products[sword]=achse	2011-07-05 20:45:27	2011-07-05 20:45:27	NO	      
produkte/artikelsuche/1565/	cHash=9d01af156207e4a645e8433df6939280&id=17&tt_products[product]=1565&tt_products[sword]=achse	2011-07-05 20:45:28	2011-07-05 20:45:28	NO	      
produkte/artikelsuche/1566/	cHash=75462cc7e36afc7834814afd3461816b&id=17&tt_products[product]=1566&tt_products[sword]=achse	2011-07-05 20:45:28	2011-07-05 20:45:28	NO	      
produkte/artikelsuche/1567/	cHash=8b45e2d44f0c02ebdde8223dcf6812df&id=17&tt_products[product]=1567&tt_products[sword]=achse	2011-07-05 20:45:28	2011-07-05 20:45:28	NO	      
produkte/artikelsuche/1568/	cHash=bae1171113a756afabea03394d77ad73&id=17&tt_products[product]=1568&tt_products[sword]=achse	2011-07-05 20:45:28	2011-07-05 20:45:28	NO	      
produkte/artikelsuche/1570/	cHash=8f8a9e9dc254e9fa415cf8e28f2b2cd6&id=17&tt_products[product]=1570&tt_products[sword]=achse	2011-07-05 20:45:28	2011-07-05 20:45:28	NO	      
produkte/artikelsuche/1571/	cHash=f0dbfbb9a39c3353f37c00a2523e2c18&id=17&tt_products[product]=1571&tt_products[sword]=achse	2011-07-05 20:45:28	2011-07-05 20:45:28	NO	      
produkte/artikelsuche/1572/	cHash=66c8ded83c0716e353f34dd1f23c47f0&id=17&tt_products[product]=1572&tt_products[sword]=achse	2011-07-05 20:45:28	2011-07-05 20:45:28	NO	      
produkte/artikelsuche/1573/	cHash=a3b0a43563b95e19b8a042195f71ba79&id=17&tt_products[product]=1573&tt_products[sword]=achse	2011-07-05 20:45:28	2011-07-05 20:45:28	NO	      
produkte/artikelsuche/1574/	cHash=9b34b38692e0af56ac3607f1bb48ace0&id=17&tt_products[product]=1574&tt_products[sword]=achse	2011-07-05 20:45:28	2011-07-05 20:45:28	NO	      
produkte/artikelsuche/1575/	cHash=e2272ded0bccc678d2738fff2596278c&id=17&tt_products[product]=1575&tt_products[sword]=achse	2011-07-05 20:45:28	2011-07-05 20:45:28	NO	      
produkte/artikelsuche/1576/	cHash=682a7899fe9b4349a6c0b6fe30b9c5a6&id=17&tt_products[product]=1576&tt_products[sword]=achse	2011-07-05 20:45:28	2011-07-05 20:45:28	NO	      
produkte/artikelsuche/1577/	cHash=8e812b6825eb84b9305a6b2b7714f62e&id=17&tt_products[product]=1577&tt_products[sword]=achse	2011-07-05 20:45:28	2011-07-05 20:45:28	NO	      
produkte/artikelsuche/1639/	cHash=670831732d7edd76b3a6c9faf92ffdb9&id=17&tt_products[product]=1639&tt_products[sword]=achse	2011-07-05 20:45:25	2011-07-05 20:45:25	NO	      
produkte/artikelsuche/1640/	cHash=e99dee1a509e971681fa8b6331294ce3&id=17&tt_products[product]=1640&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1641/	cHash=1b48df8b40d9df8f419dc3f6670add73&id=17&tt_products[product]=1641&tt_products[sword]=achse	2011-07-05 20:45:25	2011-07-05 20:45:25	NO	      
produkte/artikelsuche/1642/	cHash=7659851a8ca701316ea68e8996734dcb&id=17&tt_products[product]=1642&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1643/	cHash=35a5560be3d289082bac8ff4a27dffe8&id=17&tt_products[product]=1643&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1645/	cHash=14de28d04288bc2230d03df709158c4b&id=17&tt_products[product]=1645&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1646/	cHash=ef1c97c5e3622496532fc3d1698164eb&id=17&tt_products[product]=1646&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1647/	cHash=8dda4b0e8530fbeeabec3019e31fc1fa&id=17&tt_products[product]=1647&tt_products[sword]=achse	2011-07-05 20:45:25	2011-07-05 20:45:25	NO	      
produkte/artikelsuche/1648/	cHash=1d5520e605f0249c1f57bad83e97cdeb&id=17&tt_products[product]=1648&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1649/	cHash=4c5145d7338c41275f7801f085585ca0&id=17&tt_products[product]=1649&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1650/	cHash=b41ae5a0c261e6036a1e8406f6b99a72&id=17&tt_products[product]=1650&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1651/	cHash=9b7191206f087593f0e75781dc4d1f0b&id=17&tt_products[product]=1651&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1652/	cHash=024de1b3138efab975264d50db1cf934&id=17&tt_products[product]=1652&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1653/	cHash=43bc2449507f8711484fdb0af8c2ecfc&id=17&tt_products[product]=1653&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1654/	cHash=a4a52b4f4ab3357c3c0241257c8d8f4a&id=17&tt_products[product]=1654&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1655/	cHash=3a46cda6d7e124d337105c982bc27bcc&id=17&tt_products[product]=1655&tt_products[sword]=achse	2011-07-05 20:45:26	2011-07-05 20:45:26	NO	      
produkte/artikelsuche/1924/	cHash=87147ab4cf7cfcf2ee2eb25a0e4c0ce3&id=17&tt_products[product]=1924&tt_products[sword]=320004	2011-06-29 10:53:31	2011-06-29 10:53:31	NO	      
produkte/artikelsuche/1925/	cHash=409152a2322573f405174c65a5c69022&id=17&tt_products[product]=1925&tt_products[sword]=320004	2011-06-29 10:53:31	2011-06-29 10:53:31	NO	      
produkte/artikelsuche/271/	cHash=46884befb8633774c7c1a7faa959f5c4&id=17&tt_products[product]=271&tt_products[sword]=320004	2011-06-29 10:53:31	2011-06-29 10:53:31	NO	      
produkte/artikelsuche/272/	cHash=4362ed66785dd7859d9d4183ca347ebd&id=17&tt_products[product]=272&tt_products[sword]=320004	2011-06-29 10:53:31	2011-06-29 10:53:31	NO	      
produkte/artikelsuche/273/	cHash=3215a8681d2a1be4b0b77384ad28d0ed&id=17&tt_products[product]=273&tt_products[sword]=320004	2011-06-29 10:53:31	2011-06-29 10:53:31	NO	      
produkte/artikelsuche/274/	cHash=38de47267cc61554835ef4ecec2eb7cc&id=17&tt_products[product]=274&tt_products[sword]=320004	2011-06-29 10:53:31	2011-06-29 10:53:31	NO	      
produkte/artikelsuche/518/	cHash=c4803ea5fc712ab6351145a6682f6171&id=17&tt_products[product]=518&tt_products[sword]=t%25FCrfeststeller	2011-06-30 13:40:08	2011-06-30 13:40:08	NO	      
produkte/artikelsuche/519/	cHash=4fe06f1d6cc5fdaeb7af55cd3f277d80&id=17&tt_products[product]=519&tt_products[sword]=t%25FCrfeststeller	2011-06-30 13:40:08	2011-06-30 13:40:08	NO	      
produkte/artikelsuche/520/	cHash=d6a4f3aff38909b0e462caee61a2d1ad&id=17&tt_products[product]=520&tt_products[sword]=t%25FCrfeststeller	2011-06-30 13:40:08	2011-06-30 13:40:08	NO	      
produkte/artikelsuche/521/	cHash=71abb9104345b066b266771ddc8f524f&id=17&tt_products[product]=521&tt_products[sword]=t%25FCrfeststeller	2011-06-30 13:40:08	2011-06-30 13:40:08	NO	      
produkte/artikelsuche/522/	cHash=8c177ee34e561cc623a46711d941eed6&id=17&tt_products[product]=522&tt_products[sword]=t%25FCrfeststeller	2011-06-30 13:40:08	2011-06-30 13:40:08	NO	      
produkte/artikelsuche/523/	cHash=197ad90a9cdbf25cbbb9f8e6cf29d0cc&id=17&tt_products[product]=523&tt_products[sword]=t%25FCrfeststeller	2011-06-30 13:40:08	2011-06-30 13:40:08	NO	      
produkte/artikelsuche/524/	cHash=7f5e342eed8a5c4f8b7c1ad8e3f8d1bb&id=17&tt_products[product]=524&tt_products[sword]=t%25FCrfeststeller	2011-06-30 13:40:08	2011-06-30 13:40:08	NO	      
produkte/artikelsuche/525/	cHash=d0215274adb85599a937ce508879e845&id=17&tt_products[product]=525&tt_products[sword]=t%25FCrfeststeller	2011-06-30 13:40:08	2011-06-30 13:40:08	NO	      
produkte/artikelsuche/526/	cHash=fc64a8bed40b9d90429ed95099a12648&id=17&tt_products[product]=526&tt_products[sword]=t%25FCrfeststeller	2011-06-30 13:40:08	2011-06-30 13:40:08	NO	      
produkte/artikelsuche/527/	cHash=f3a8ae4e759d068185c1693414792296&id=17&tt_products[product]=527&tt_products[sword]=t%25FCrfeststeller	2011-06-30 13:40:08	2011-06-30 13:40:08	NO	      
produkte/artikelsuche/528/	cHash=19fb60f5c61503f2a7230c88c7c7c895&id=17&tt_products[product]=528&tt_products[sword]=320004	2011-06-29 10:53:31	2011-06-29 10:53:31	NO	      
produkte/artikelsuche/529/	cHash=8306ee5691e63030b333fe94709a8db0&id=17&tt_products[product]=529&tt_products[sword]=320004	2011-06-29 10:53:31	2011-06-29 10:53:31	NO	      
produkte/artikelsuche/532/	cHash=346933cce7fd06db56f323ecde76dc17&id=17&tt_products[product]=532&tt_products[sword]=320004	2011-06-29 10:53:31	2011-06-29 10:53:31	NO	      
produkte/artikelsuche/589/	cHash=7422170242d272b69fbced5c4b066f52&id=17&tt_products[product]=589&tt_products[sword]=zungenschloss	2011-07-07 23:44:26	2011-07-07 23:44:26	NO	      
produkte/artikelsuche/590/	cHash=cd98d125dabb51ce423d265648c873d8&id=17&tt_products[product]=590&tt_products[sword]=zungenschloss	2011-07-07 23:44:26	2011-07-07 23:44:26	NO	      
produkte/artikelsuche/591/	cHash=2bb26853e492ade0e78d4e4ea2afd606&id=17&tt_products[product]=591&tt_products[sword]=zungenschloss	2011-07-07 23:44:26	2011-07-07 23:44:26	NO	      
produkte/artikelsuche/592/	cHash=103114879f8873028735b785d11bda69&id=17&tt_products[product]=592&tt_products[sword]=zungenschloss	2011-07-07 23:44:26	2011-07-07 23:44:26	NO	      
produkte/artikelsuche/593/	cHash=0c8794d36f16c3d3b39ed365eac3b7ba&id=17&tt_products[product]=593&tt_products[sword]=zungenschloss	2011-07-07 23:44:26	2011-07-07 23:44:26	NO	      
produkte/artikelsuche/594/	cHash=a57c41eb9f547628ab827e6f5d3cd2b7&id=17&tt_products[product]=594&tt_products[sword]=zungenschloss	2011-07-07 23:44:26	2011-07-07 23:44:26	NO	      
produkte/artikelsuche/627/	cHash=5219c02a5bb05f69f81f7943f2c7bc86&id=17&tt_products[product]=627&tt_products[sword]=320004	2011-06-29 10:53:31	2011-06-29 10:53:31	NO	      
produkte/artikelsuche/687/	cHash=40bc85c1d657729cd416518554af11bb&id=17&tt_products[product]=687&tt_products[sword]=P2G-%2520Verbinder	2011-06-30 12:00:00	2011-06-30 12:00:00	NO	      
produkte/artikelsuche/689/	cHash=78cf5e21f7c7d360e7e3ce410815e7f3&id=17&tt_products[product]=689&tt_products[sword]=P2G-%2520Verbinder	2011-06-30 12:00:00	2011-06-30 12:00:00	NO	      
produkte/artikelsuche/690/	cHash=10ae8c91fb528aeb4ccbd6631dcf393a&id=17&tt_products[product]=690&tt_products[sword]=P2G-%2520Verbinder	2011-06-30 12:00:00	2011-06-30 12:00:00	NO	      
produkte/artikelsuche/691/	cHash=5cb3bd5b4a97236663dcd01edf5a06c3&id=17&tt_products[product]=691&tt_products[sword]=P2G-%2520Verbinder	2011-06-30 12:00:00	2011-06-30 12:00:00	NO	      
produkte/artikelsuche/692/	cHash=05c68b0f7f1b4445e38088679e6c8ece&id=17&tt_products[product]=692&tt_products[sword]=P2G-%2520Verbinder	2011-06-30 12:00:00	2011-06-30 12:00:00	NO	      
produkte/artikelsuche/693/	cHash=cc1bc24447d0c4d43c4904d00730cd7c&id=17&tt_products[product]=693&tt_products[sword]=P2G-%2520Verbinder	2011-06-30 12:00:00	2011-06-30 12:00:00	NO	      
produkte/artikelsuche/694/	cHash=590ff736bbdb1c85ce520e6d7b1d2f77&id=17&tt_products[product]=694&tt_products[sword]=P2G-%2520Verbinder	2011-06-30 11:59:59	2011-06-30 11:59:59	NO	      
produkte/artikelsuche/695/	cHash=4c40562fd3c914e662ffcb25decca01d&id=17&tt_products[product]=695&tt_products[sword]=P2G-%2520Verbinder	2011-06-30 11:59:59	2011-06-30 11:59:59	NO	      
produkte/artikelsuche/696/	cHash=6a010d9399c90d2158647dbefaeb3f73&id=17&tt_products[product]=696&tt_products[sword]=P2G-%2520Verbinder	2011-06-30 11:59:59	2011-06-30 11:59:59	NO	      
produkte/artikelsuche/697/	cHash=a8d69ac9664ad4dd14630668f485b64d&id=17&tt_products[product]=697&tt_products[sword]=P2G-%2520Verbinder	2011-06-30 11:59:59	2011-06-30 11:59:59	NO	      
produkte/artikelsuche/698/	cHash=acd9af797046b46255ef8c36fd625e2e&id=17&tt_products[product]=698&tt_products[sword]=P2G-%2520Verbinder	2011-06-30 11:59:59	2011-06-30 11:59:59	NO	      
produkte/artikelsuche/699/	cHash=28e18e0e941f5c81b0b66413ca381d20&id=17&tt_products[product]=699&tt_products[sword]=P2G-%2520Verbinder	2011-06-30 11:59:59	2011-06-30 11:59:59	NO	      
produkte/artikelsuche/700/	cHash=7824ee7f56bbfad1e1b18462d92382a2&id=17&tt_products[product]=700&tt_products[sword]=P2G-%2520Verbinder	2011-06-30 11:59:59	2011-06-30 11:59:59	NO	      
produkte/artikelsuche/701/	cHash=8df3a89114caa9e40c8c1c29310531bb&id=17&tt_products[product]=701&tt_products[sword]=P2G-%2520Verbinder	2011-06-30 12:00:00	2011-06-30 12:00:00	NO	      
produkte/artikelsuche/702/	cHash=450de07d180c7f2f31c7fdfe23c82d24&id=17&tt_products[product]=702&tt_products[sword]=P2G-%2520Verbinder	2011-06-30 12:00:00	2011-06-30 12:00:00	NO	      
produkte/artikelsuche/703/	cHash=3e7c4d78ae29ec25cc0aacb77cf5731e&id=17&tt_products[product]=703&tt_products[sword]=P2G-%2520Verbinder	2011-06-30 12:00:00	2011-06-30 12:00:00	NO	      
produkte/artikelsuche/704/	cHash=b4c656cd661d33835b5ab998cefb8b46&id=17&tt_products[product]=704&tt_products[sword]=P2G-%2520Verbinder	2011-06-30 12:00:00	2011-06-30 12:00:00	NO	      
produkte/artikelsuche/705/	cHash=1b19d9b2f3044c5bc6cf6eaf0e12a2ac&id=17&tt_products[product]=705&tt_products[sword]=P2G-%2520Verbinder	2011-06-30 12:00:00	2011-06-30 12:00:00	NO	      
produkte/artikelsuche/706/	cHash=b425782d2f1aa82d0879e58acaeef37e&id=17&tt_products[product]=706&tt_products[sword]=P2G-%2520Verbinder	2011-06-30 12:00:00	2011-06-30 12:00:00	NO	      
produkte/artikelsuche/708/	cHash=330a0e0056309e482e7ae2af160a70ac&id=17&tt_products[product]=708&tt_products[sword]=P2G-%2520Verbinder	2011-06-30 12:00:00	2011-06-30 12:00:00	NO	      
produkte/artikelsuche/738/	cHash=ec8982654f4ebadb88523715e6094af3&id=17&tt_products[product]=738&tt_products[sword]=107291007	2011-06-30 15:38:09	2011-06-30 15:38:09	NO
aimcom ·

Das sieht für mich so aus, als würde die Suchanfrage nicht korrekt abgeschickt. In deinem "Suchfeld Definition HTML Template" hast du als Method-Attribut POST angegeben, die Parameter in CoolURI zeigen aber an, dass die Anfrage als GET abgeschickt wurde. Prüf doch bitte mal, ob der <form>-Tag in der Seite, die der Besucher deiner Website zu sehen bekommt, auch wirklich method="post" hat.

Außerdem brauchst du doch den "tt_products[product]"-Parameter gar nicht auf der Sucheseite, vermute ich. Den würd ich auch rausschmeißen aus dem Suche-Formular. Möglicherweise wird der im <form>-Tag als Parameter im Action-Attribut mitgeschleift?

Nachdem das "sword" immer per POST abgeschickt wird, würd ich die ganzen URLs mit dem "sword"-Parameter aus CoolURI löschen. Manchmal zickt das CoolURI auch rum, weil es sich an solchen Datenbank-Leichen verschluckt.

flotisso ·
aimcom schrieb

Das sieht für mich so aus, als würde die Suchanfrage nicht korrekt abgeschickt. In deinem "Suchfeld Definition HTML Template" hast du als Method-Attribut POST angegeben, die Parameter in CoolURI zeigen aber an, dass die Anfrage als GET abgeschickt wurde. Prüf doch bitte mal, ob der <form>-Tag in der Seite, die der Besucher deiner Website zu sehen bekommt, auch wirklich method="post" hat.

Außerdem brauchst du doch den "tt_products[product]"-Parameter gar nicht auf der Sucheseite, vermute ich. Den würd ich auch rausschmeißen aus dem Suche-Formular. Möglicherweise wird der im <form>-Tag als Parameter im Action-Attribut mitgeschleift?

Nachdem das "sword" immer per POST abgeschickt wird, würd ich die ganzen URLs mit dem "sword"-Parameter aus CoolURI löschen. Manchmal zickt das CoolURI auch rum, weil es sich an solchen Datenbank-Leichen verschluckt.

Also die method post passt soweit, siehe hier:

<div id="item_search"><form method="post" action="index.php?id=17"><input class="search" size="18" maxlength="100" type="text" name="sword" value="Suche" onfocus="if(this.value==this.defaultValue) this.value='';" onblur="if(this.value=='') this.value=this.defaultValue;" />&nbsp;<input class="inputimage" type="image" src="img/lupe.gif" alt="suchen"></form></div>

habe cooluri mit "delete and start over again" nun einige male festgestellt, dass nach der ersten suche sofort wieder all diese einträge auftauchen.
warum tt_products[product] weitergegeben wird kann ich mir nicht erklären. scheint wohl ein problem im sourcecode von tt_products zu sein, komme aber nicht dahinter.

flotisso ·

im typoscript denke ich ist es auch richtig definiert:

# Suchfelder definieren
plugin.tt_products.stdSearchFieldExt = title,subtitle,note,itemnumber
aimcom ·

Das ist merkwürdig, dass diese Einträge dann sofort wieder auftauchen. Kannst du feststellen, auf welcher Seite diese Links denn stehen? Evtl. ist für die Suche-Seite keine Produkt-Detailseite-ID festgelegt und daher werden die Treffer in der Suchliste fälschlicherweise mit der {$id_shopsuche} verlinkt. Das ist aber nur eine Vermutung, diese tt_products-Extension kenn ich nur vom Hörensagen.

flotisso ·
aimcom schrieb

Das sieht für mich so aus, als würde die Suchanfrage nicht korrekt abgeschickt. In deinem "Suchfeld Definition HTML Template" hast du als Method-Attribut POST angegeben, die Parameter in CoolURI zeigen aber an, dass die Anfrage als GET abgeschickt wurde. Prüf doch bitte mal, ob der <form>-Tag in der Seite, die der Besucher deiner Website zu sehen bekommt, auch wirklich method="post" hat.

Ja, es wird post weitergegeben, hier ein Auszug des Source im Frontend:

<div id="kopf"><!--###kopf### begin --> 
  <div id="graubox"><!--###graubox### begin --> 
      <div id="item_search"><form method="post" action="index.php?id=17"><input class="searchform" size="18" maxlength="100" type="text" name="sword" value="Artikelsuche" onfocus="if(this.value==this.defaultValue) this.value='';" onblur="if(this.value=='') this.value=this.defaultValue;" />&nbsp;<input class="inputimage" type="image" src="fileadmin/templates/img/lupe.gif" alt="suchen" /></form></div>
aimcom schrieb

Außerdem brauchst du doch den "tt_products[product]"-Parameter gar nicht auf der Sucheseite, vermute ich. Den würd ich auch rausschmeißen aus dem Suche-Formular. Möglicherweise wird der im <form>-Tag als Parameter im Action-Attribut mitgeschleift?

kann leider nicht feststellen wo dieser parameter herkommt. kann es mir leider nicht erklären.
kann weder im typoscript noch im template einen anhaltspunkt dazu finden.

aimcom schrieb

Nachdem das "sword" immer per POST abgeschickt wird, würd ich die ganzen URLs mit dem "sword"-Parameter aus CoolURI löschen. Manchmal zickt das CoolURI auch rum, weil es sich an solchen Datenbank-Leichen verschluckt.

nur kaum hab ich es rausgenommen und die erste suche wird getätigt, erscheinen diese wieder,....

bin echt verzweifelt 🙁

aimcom ·

Tut mir Leid, ich kann dir hier leider nicht mehr weiterhelfen. Ich kenn mich nur mit CoolURI gut aus, aber nicht mit tt_products und zu den CoolURI-Problemen ist soweit alles gesagt, denk ich. Vielleicht kennt jemand anders hier noch diese Extension und kann dir da weiterhelfen. Ansonsten hilft wohl nur, mal direkt im Code von tt_products zu wühlen und zu gucken, wo welches Problem verursacht wird.