skip to main content

kiesler.at

phpWebSite Suche reparieren
updated by rck, 2004-05-19

Beim Article-Manager hat bis jetzt die Suchfunktion nicht funktioniert. Gerade beim Article-Manager, wo sie so wichtig ist. Mir hat das keine Ruhe gelassen und ich habe mich in die Untiefen des phpWebSite Quellcodes gestürzt.

Modul in die Suchtabelle eintragen

Ein Blick in die Tabelle mod_search verrät: Uns fehlen einige Module!


mysql>select * from mod_search;

+----+------------+------------+---------------+
| id | module     | show_block | block_title   |
+----+------------+------------+---------------+
|  1 | comments   |          1 | Comments      |
|  2 | calendar   |          1 | Events        |
|  3 | documents  |          1 | Documents     |
|  4 | faq        |          1 | FAQs          |
|  5 | linkman    |          1 | Links         |
|  6 | announce   |          1 | Announcements |
|  7 | pagemaster |          1 | Web Pages     |
+----+------------+------------+---------------+
7 rows in set (0.00 sec)

mysql> insert into mod_search (id, module, show_block, block_title) values (8, "article", 1, "Articles");

-- das ID Feld ist -nicht- autoincrement!

mysql> select * from mod_search;

+----+------------+------------+---------------+
| id | module     | show_block | block_title   |
+----+------------+------------+---------------+
|  1 | comments   |          1 | Comments      |
|  2 | calendar   |          1 | Events        |
|  3 | documents  |          1 | Documents     |
|  4 | faq        |          1 | FAQs          |
|  5 | linkman    |          1 | Links         |
|  6 | announce   |          1 | Announcements |
|  7 | pagemaster |          1 | Web Pages     |
|  8 | article    |          1 | Articles      |
+----+------------+------------+---------------+
8 rows in set (0.00 sec)

Einleitung
Die Suchkonfiguration
Modul in die Suchtabelle eintragen
Fazit



RSSComments
The comments are owned by the poster. We are not responsible for its content.
RSSAll Articles
2008, 2007, 2006, 2005, 2004

What's Related

Article Manager

Hacks

Latest Updates

AdministrativeTexts
updated by freddiemac1993, 2013-06-14
wiki

Re: adventures
created by brittdavis10, 2012-02-23 (1 rply, 3 views)
thread

Re: how to run phpwebsite...
created by alexander, 2011-08-25 (2 rpls, 3607 views)
thread

Re: Forum tags
created by HaroldFaragher, 2011-08-22 (3 rpls, 8488 views)
thread


Zu den KO2100 Foren