Vielleciht kann mir jemand aus der Patsche helfen. Ich stehe grad voll auf der leitung. Ich möchte gerne eine Artikelliste machen, die nur die Artikel zeigt, die bestimmtes Stichwort im Summary feld haben.
Dies hat mit diesem Suchmodul super funktioniert indem in die query daruf beschränkt habe. http://contenido.org/forum/viewtopic.php?t=4468
siehe letzte zeile hier:
Code: Alles auswählen
$sql = "SELECT
a.title AS title, a.idart AS idart, a.summary AS comment, a.idartlang AS idartlang,
b.idcat AS idcat,
c.parentid AS parentid,
d.value AS content
FROM
".$cfg["tab"]["art_lang"]." AS a,
".$cfg["tab"]["cat_art"]." AS b,
".$cfg["tab"]["cat"]." AS c,
".$cfg["tab"]["content"]." AS d
WHERE
a.idart = b.idart AND
a.idartlang = d.idartlang AND
b.idcat = c.idcat AND
c.idclient = '$client' AND
idlang = '$lang' AND
online='1' AND
(a.summary REGEXP '$suchregexp')";
Zum einen weiss ich nicht wo und wie ich ich das summary-feld in die query einfüge und wo ich die bedingung (begriff komm aus input bereich al zusätzliches feld) einfüge. Mein letztes sql-Projekt ist schon ein paar Jahre her

danke für jeden tipp
philippe