Loading...
 
Skip to main content

Features / Usability


database search module

I am interested in a module (or just a php page) that will search a mysql db and spit out the findings into the main page of the tikiwiki being viewd.

I am a novice, noob, or what have you, to coding. Mostly do sysadmin stuff. So if anyone has any ideas, or would like to help create one with me...
I could always use more knowledge of how php and db's work.

Thanks!

There is a plugin that does that, I think its called DSN - you'll have to find it in the documentation as I'm not very familiar with it. It allows you to run a SQL query and output its contents I believe.

Another way is to create your own php page that resembles the same format as tiki-index.php, except rather than displaying a wiki page, you're displaying custom code.

Yet another way is to recreate a database from scratch using the trackers feature - I've done this myself for some things.

The way I've approached this problem (and I'm not sure if I'm doing it the right way - honestly haven't gotten any feedback about it from the IRC chat) is by creating a custom plugin. Custom plugins allow you to insert any PHP code into a wiki page. As a result, I've created entire custom AJAX'd applications using a single plugin - thus I feel its a kludge (but it'll work!).


Sorry, instead of dsn, it might be a pluginsql that runs off of the dsn feature.
Thanks clicc, I will look into this and let you know how it goes.