verbb / tablemaker

A user-definable table field type for Craft CMS
MIT License
40 stars 32 forks source link

Update tablemaker for Craft 4 #26

Closed michaelpelletier closed 2 years ago

michaelpelletier commented 2 years ago

I think this project is probably dead (based on the lack of response to issues / PRs) but I'll be keeping a fork of this alive over at https://github.com/upstatement/tablemaker. In case I'm wrong, here's a PR to upgrade Tablemaker to use Craft 4.

The biggest change here is that renderTemplateMacro was deprecated in 3.6 and is removed completely in 4.0, so it refactors a bit to use renderTemplate instead. Table permissions have also changed, which has necessitated a few new parameters being added.