So you need a Form. Where do you start?
If you're anything like me (which I hope you are, because you're reading this!), then you'll want to look at the Drupal Forms API.
If you're anything like me (which I hope you are, because you're reading this!), then you'll want to look at the Drupal Forms API.
Last time we covered how to create a nice paged, sortable Drupal table with a selection of simple code snippets.
I don't know about you, but I hate repeating myself in my code. Tables are the kind of thing you need in nearly every module to keep track of the data you have added, so rewriting the same code can get very tedious very quickly.
Have you ever wanted to make a table in Drupal, using theme_table? Well, what about adding extra links, like for options (Edit / Delete etc)? And how about sorting it? Pager anyone? Well this tutorial will show you how to do all that. After this you will be a Drupal Table master!
Ok, last time we looked at the ideas behind Input Filters in Drupal, so we covered Input Formats, how to configure them and what they can do for you. Now we get the real good stuff; how to make one.
Input Filters are a great feature of Drupal. They can be very useful. They allow you to:
What do I mean by these things? well, allow me to explain.