New Tutorials on How to Extend and Customize Toolset
If you’ve been using Toolset for a while already, you probably needed to add your own features here and there. New tutorials that we published will help you extend Toolset even further.
What it means to “extend Toolset”
Out-of-the-box, Toolset lets you do quite a lot without writing PHP. But there are cases that Toolset’s GUI cannot cover. For example, let’s say that you need to do some math between two fields. Implementing this in Toolset’s GUI is possible, but would be extremely inefficient and limited. Instead, you can achieve this with several lines of PHP.
Or, let’s say that when submitting a CRED form, you want to trigger some actions. Again, we could build a monster GUI that will list all the different actions that WordPress offers and allow you to run them. That’s nice, but our list will never cover your own functions of actions coming from other plugins.
The answer to these lies in Toolset’s API.
We gave the API documentation a major update, focusing on the kinds of customizations that site developers often need. The main entry points depend on what you’re trying to accomplish:
- Building Web-apps with Toolset – this guide will teach you how to use CRED hooks to run your own actions with CRED forms. This technique will let you build sites with advanced workflows with a tiny bit of PHP and most everything else coming from Toolset.
- Displaying Custom Functions with Views and Using Them in Conditional Logic – learn how to create shortcodes for your custom functions, display them and use them in conditionals. With this, you can easily display the distance between two points, the area of a field, etc.
Finally, when you’re facing large scale custom development, you might want to check out our recent blog post about WordPress Development – Coding from Scratch vs. Using Plugins. We show how we’ve developed our Contractors System, with Toolset, Gravity Forms and a bit of custom code.
What else do you need?
We want to make sure that you have everything you need when you go to build advanced sites with Toolset. Let us know by leaving your comments. Your feedback is what drives Toolset development and documentation.