1
abdala
How to Change Heading Names in the Search Engine
  • 2003/12/17 15:00

  • abdala

  • Just popping in

  • Posts: 42

  • Since: 2003/2/5 1


I am using the "My Links" module as the links to a list of projects. Now, when a user does a search, I would like him to get the results under the heading "Projects" instead of "My Links".

In the search.php file, this is the line that outputs the heading title:

echo "<h4>".$module->getVar('name')."</h4>";

However, I did not know how to track the 'name' to the origin.

I also changed the modules name in the modinfo.php file under modules/mylinks/language/english/modinfo.php but this did not help either.

Any ideas how to do that?

Thanks,
Abdala

2
DobePhat
Re: How to Change Heading Names in the Search Engine
  • 2003/12/17 15:03

  • DobePhat

  • Friend of XOOPS

  • Posts: 656

  • Since: 2003/4/15


hmmmm, yeah that would be nice....same with all modules really....

However...the search engines do associate it with your site....you could include more text in the index to tie it more to your site....and when ever you add a link for instance you can make a quick reference to you site...initially....
ie: submitted to "your site"-"the coolest site" etc.

just an idea...
good question though....

3
DonXoop
Re: How to Change Heading Names in the Search Engine

Did you change the name shown in the menu via Admin/Modules? When I do a search I get results showing the name I set it to. I see "SPDA News" instead of "News" for example.

4
abdala
Re: How to Change Heading Names in the Search Engine
  • 2003/12/17 15:25

  • abdala

  • Just popping in

  • Posts: 42

  • Since: 2003/2/5 1


yup! that does it. I remember trying it once before on a different site with XOOPS 1.3 or so an dit did not work. Most likely I was doing something wrong then.

Thanks anyways,
Abdala

Login

Who's Online

236 user(s) are online (153 user(s) are browsing Support Forums)


Members: 0


Guests: 236


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits