search module
search module
my search module is working fine but i am using long names for the title of pages for seo and have used the menu title smarty tag for page names http://www.e-commercecentre.co.uk/ my question is can i do something to the search module so i can display the results has the menu title and not the tilte any help please
Re: search module
I think you would need to edit the core files.
I haven't tried, but I believe you should open the file modules/search/action.dosearch.php and replace all
with
or so...
I haven't tried, but I believe you should open the file modules/search/action.dosearch.php and replace all
Code: Select all
$col->AddItem($content->Name(), $content->GetURL(), $content->Name(), $result->fields['total_weight']);
Code: Select all
$col->AddItem($content->MenuText(), $content->GetURL(), $content->MenuText(), $result->fields['total_weight']);