Support » Fixing WordPress » insering database into a site

Viewing 15 replies - 1 through 15 (of 21 total)
  • you would probably have to create your own widget to do so, or pay/ask someone to create it for you.

    creating a widget to read a database table and display the data isn’t too difficult if you are familiar with php, however, if you want to be able to modify the database, then you might actually want to think about creating an entire plugin with a widget to give you not only the widget, but the admin abilities as well

    Thread Starter charlietech

    (@charlietech)

    well Im not familiar with php but if you give me a good direction to start, I will spend the time to figure it out cuz I really want to have this on my site.

    are you trying to have each one of the “widgets” that they have on their site? or just 1 of them?

    Thread Starter charlietech

    (@charlietech)

    Just one, the food-a-pedia one because I have a food database similar to their.

    ok, well, technically, you’ll still need a plugin of some sort, since their “widget” is just a search form really, you’ll still need something to know how to display the results and then where to go/what to show when they click on one of the results

    Thread Starter charlietech

    (@charlietech)

    Ok well I seen a not up to date custom search plugin that display the serach form similar to it but I didnt know how to insert the database in there.

    I doubt that you will find a plugin that you can just use to read a custom database, you would definitely have to have one built for you

    Thread Starter charlietech

    (@charlietech)

    Ok, thanks so much cause I been looking like crazy and really havent found one.

    Thread Starter charlietech

    (@charlietech)

    OK another question, What if I found the php files for majority of the functions for the widget that I was trying to use from that site, What would the next move? how could I implement them on the site?

    http://www.darrenhoyt.com/2009/12/22/creating-custom-wordpress-widgets/

    that was one of the better demos I found on creating a custom widget

    Thread Starter charlietech

    (@charlietech)

    Thank you, still a little slow with it but understand things a little clearer. Ok the file that I downloaded have 16 php files which basically does the same thing I showed you but dont look as clean. When writing the widget, Im using all of the php file and putting it into one or Im taking different functions and adding them into the widget?

    Thread Starter charlietech

    (@charlietech)

    Hey luckdragon,

    Could you check out http://wordpress.org/extend/plugins/advanced-custom-fields/ and tell me if this the right plugin I need.

    all that plugin does is add extra fields to the posts, what you need is something to read an entirely separate database table, I haven’t seen a plugin that will do that.

    Thread Starter charlietech

    (@charlietech)

    Hey there,

    Thanks for replying back and working with me. really appreciate it. Ok I found this plugin. http://wordpress.org/extend/plugins/wp-table-reloaded/

    Now it allow me to make the tables and have a search box to look through the items, probably the closest thing to what I was trying to do, but I dont know how to hide the tables so the items are only showed in the search box like the link I sent to you.

    I could help you with it, tho I’m not sure how we can get in contact with each other on here, since they keep blocking email addresses when someone posts them.

    guess you could check out my old website. I’m still working on re-designing it with WP so that my plugins and the like have a place to be demo’d 🙂

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘insering database into a site’ is closed to new replies.