Home arrow Forum

Remository Forum

 


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
  | | Sorry, you do not currently have permission to write here.

      Topics Author Date
    thread link
search on keywords
aries 2008/09/17 15:29
    thread link
thread link Re:search on keywords
admin 2008/09/21 12:42
    thread link
thread linkthread link Re:search on keywords
aries 2008/09/22 10:12

Menu

Login Form

Username

Password

Remember me
Password Reminder
No account yet?
Create one

Who is Online

Remository welcomes guests and registered users.

We have 21 guest online