hallo,
habe eine extension gebaut (http://sk-hd.de/index.php?id=549) und will
dort die Datenbankabfrage nach Suchfiltern möglich machen. Macht das
mit Mode1, Mode 2 Sinn? oder muss ich dafür jeweils ein neues Plugin
anlegen?
habe es so probiert, funkt aber nicht:
function listView($content,$conf) {
....
....
if ($this->piVars['mode']=1){
// Get number of records:
$res =
$this->pi_exec_query('tx_rfvereine_vereinsdaten',1,'AND
stadt_land LIKE "%Stadt%"','','','');
list($this->internal['res_count']) =
$GLOBALS['TYPO3_DB']-
>sql_fetch_row($res);
// Make listing query, pass query to SQL
database:
// additional where clauses
$res =
$this->pi_exec_query('tx_rfvereine_vereinsdaten',0,'AND
stadt_land LIKE "%Stadt%"','','','');
$this->internal['currentTable'] =
'tx_rfvereine_vereinsdaten';
}
if ($this->piVars['mode']=2){
..das ganze mit %Land%....
}
Besten Dank für einen Tipp
Grüße
Ralph
_______________________________________________
TYPO3-german mailing list
[email protected]
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-german