Sometimes it is necessary to place a shortcode where the attributes of the shortcode are set according to the current context. For example, if you need to show a logged-in user the list of records that belong to them, you need to use a dynamic shortcode something like this: echo do_shortcode(‘ First NameLast NameClub RoleCityStateMain… (read)
If you’re looking for a compact and visually striking way to show records from Participants Database, a Grid is a great way to go. Modern browsers all support grid layouts using the CSS3 Grid display mode, and it makes it easy to get great grid layouts with a few simple CSS rules. In this tutorial… (read)
Responsive layouts are increasingly a necessity in current web design. More and more people will access your site using devices with small screens, and really, screens of a wide variety of sizes and aspect ratios. A responsive layout is a layout that can accommodate all the possible devices: it is responsive to the size and… (read)
When using Participants Database to represent two or more classes of people or things, you sometimes need to customize the frontend edit form so that is only shows the fields that are relevant to the type of record that is getting edited. We can easily do this with a custom template. If you’re not familiar… (read)
The PDb_Template helper class makes setting up a custom display for a Participants Database record much easier in situations where you don’t want to just loop through the values. Sometimes you don’t want to treat each value the same, you want to lay out each value in a way that fits the information better. This… (read)
Sometimes you need to set the default value of a field depending on the context of the form you are using. Or perhaps you know what the field should default to because of which page the form is on or some other factor. This is easy to do using a custom template. If you’re not… (read)
There is now an add-on you can get to add Google maps to Participants Database records and list displays: Location Maps Google Maps offers an easy way to show a location map without needing to register for and use the Google Maps API. This method is available to websites on a limited basis: if you… (read)
This article demonstrates how to set up a list search the works on only one field, eliminating the field selector dropdown.