Search code examples
phplaravelpyrocms

how to add new field in post table in Pyrocms with Laravel


I want to add a new field in post table in Pyrocms with laravel. I just add a new field in the table but I cannot send data in the field.


Solution

  • You would need to bind your own PostTableBuilder to the core one and just modify the $columns attribute.

    Keep an eye on https://pyrocms.com/help/developer-tools/extending-pyrocms for more help on the subject.