Zus. Contenttabelle

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
Zebra
Posts: 4
Joined: Fri Jun 09, 2006 9:31 am

Zus. Contenttabelle

Post by Zebra »

Hey!

Hab folgende Frage:

Ist es möglich die search Funktion auch auf andere Tabellen (nicht nur faqdata) auszuweiten?

Mfg

Zebra
matteo
Posts: 572
Joined: Sun Nov 20, 2005 6:53 pm
Location: Italy

Post by matteo »

Hi,
basically, it depends :wink:. What kind of search hack are you thinking of?

PS: FYI, read here
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
Zebra
Posts: 4
Joined: Fri Jun 09, 2006 9:31 am

Post by Zebra »

Hi again!

Sorry for the question in german :wink: .

I have to have two kinds of (FAQ) input:

- The normal one already implemented by you (and searchable).
- A checklist with various fields (eg: symptom, how to analyse, ...).

I have to save the checklist in a separate table. So my (big :cry: ) problem is, how to make my checklist-table also full-text searchable.

I tried to understand the function searchEngine but I havnt been very successful - BIG :?: - so far.
matteo
Posts: 572
Joined: Sun Nov 20, 2005 6:53 pm
Location: Italy

It seems to be an HARD hack...

Post by matteo »

Hi,
Zebra wrote:I have to have two kinds of (FAQ) input:

- The normal one already implemented by you (and searchable).
- A checklist with various fields (eg: symptom, how to analyse, ...).

I have to save the checklist in a separate table. So my (big :cry: ) problem is, how to make my checklist-table also full-text searchable.

I tried to understand the function searchEngine but I havnt been very successful - BIG :?: - so far.
You must define a foreign key for giving the possibility to join AND you must take a look also at the search method inside the selected DB layer (e.g.: if you're using MySQL 4.0.x-, inc/mysql.php).
Generally speaking, it could be a big hack and maybe it would be more simple for you to rewrite the searchEngine function query builder from scratch.

Is using faqdata table, keywords field an option for your refining the search? If yes, adding an extra field in which searching for could be more easy than joining 3 tables.
Zebra wrote:Sorry for the question in german :wink: .
It's just a temporary "constraint": I'm not able to read/write German and using babelfish for translating each post sometimes doesn't help me enough to understand questions and to track threads.
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
Post Reply