Forum

Thread tagged as: Question, Problem

Creating a table template

I'm creating table rows with the perch repeater tag, and it's working nicely - but how do I accommodate varying amounts of HTML <td></td> tags? For unstance, 2-column, 3-column, 4-column tables etc...

If these need to be created as separate templates, is there a way for the editor to choose which template should be used in the admin panel, perhaps in a select menu?

James Holmes

James Holmes 0 points

  • 6 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

If you want to allow editors to choose from a number of template you can use Blocks.

https://docs.grabaperch.com/docs/templates/blocks/

Great, that helps. Thanks Rachel.