1
emmade
search and keywords
  • 2006/5/7 21:45

  • emmade

  • Just popping in

  • Posts: 9

  • Since: 2003/3/17


after an exstensive search I would like to ask you a question.
Is it possible to define keywords in a news article and when someone clicks on them he/she is directed to all the links on the website with that keyword

thanks for you energy!

emma

2
emmade
Re: search and keywords
  • 2006/5/8 3:06

  • emmade

  • Just popping in

  • Posts: 9

  • Since: 2003/3/17


or is this not something you can do in xoops?

thanks
emma

3
wtravel
Re: search and keywords

I think it would be quite easy to add it to any news/articles module. I think the easiest would be to replace the matched keywords with the output of the article field right before it is assigned to the template. Each link should lead to the search page in XOOPS, with the keywords for $_GET variable q.

HTH

4
emmade
Re: search and keywords
  • 2006/5/8 16:35

  • emmade

  • Just popping in

  • Posts: 9

  • Since: 2003/3/17


hi,

thanks for you answer, I am not that handy in code so can you give me some direction how to do this

thanks!!!
emma

5
wtravel
Re: search and keywords

Well...it does require some coding skills indeed . I think you will need someone to develop it for you if you really require this hack. Creating this hacked module will also mean that whenever a new release of the official module comes out, you will need to make sure that you do not overwrite your 'hacked' files or that you put your hack into the newer release as well.

I wish I could help you with this but I am extremely busy at the moment.

Best regards/Groetjes

6
emmade
Re: search and keywords
  • 2006/5/9 20:20

  • emmade

  • Just popping in

  • Posts: 9

  • Since: 2003/3/17


thanks!

can you tell me how to make a link to search with a search frase like search.php .... so I can past that link as a keyword search

emma

7
wtravel
Re: search and keywords

For example, when I want to search for Emma Netherlands on the xoops.org website I end up at:

https://xoops.org/search.php?query=emma+Netherlands...

So all you need is to construct a similar link with the tag referring to the search.php page with the query and the necessary variable and place it around the keywords.

8
emmade
Re: search and keywords
  • 2006/5/9 21:33

  • emmade

  • Just popping in

  • Posts: 9

  • Since: 2003/3/17


you are great!

thanks
emma

Login

Who's Online

166 user(s) are online (96 user(s) are browsing Support Forums)


Members: 0


Guests: 166


more...

Donat-O-Meter

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

Latest GitHub Commits