aries
Karma: 0
|
Re:search on keywords - 2008/09/22 10:12
Hello,
since i don't know much about php, i imagine that i must change this :
function getItemID ($component_string) { global $database; if (isset($GLOBALS['remosef_itemids'][$component_string])) return $GLOBALS['remosef_itemids'][$component_string]; $database->setQuery("SELECT id, (CASE menutype WHEN 'mainmenu' THEN 1 WHEN 'topmenu' THEN 2 WHEN 'othermenu' THEN 3 ELSE 99 END) menorder" ." FROM #__menu WHERE link = 'index.php?option=$component_string' AND published=1 ORDER BY menorder"); $GLOBALS['remosef_itemids'][$component_string] = $database->loadResult(); return $GLOBALS['remosef_itemids'][$component_string]; }
But where can i set the search to the keymords, since i can't even find the title or content. As i said i'm terrible in php.
Laurent
|