Silverstripe Version: 4.1
Question:
I’m trying to build an extension for blog categories so I can add a ‘tagline’ field that appears under the category page title. I’ve managed to add the field to the db but I can’t figure out how to get the field to show up in the category editor.
Any ideas?
Hi Peter, you need to use updateCMSFields(), you can see an example here: Extensions – SilverStripe Documentation
updateCMSFields()
If you’re already using that can you share the code you’ve written so far so we can help you debug it.
Thanks Jono,
Could’ve sworn I tried that the first time, but it’s working now
Cheers