Title property missing

Im new to twill so apologies for the newb question. I've created a module and don't want the title field, I need a "registration" field instead. I saw somewhere in the docs that this is possible but not how to do it. I looked in the controller and Ive set $titleFormKey, $titleColumnKey and $modelTitle all to "registration" and ive figured I need to set $title property to "registration" in the model. Most of that now seems to work but when I save the record (which says its successful) I get a "missing title" in red at the top of the screen. If I click "missing title" and provide the registration again, it then shows the registration at the top of the screen but when i go back to the index list it doesnt show the registration and if i click to edit it again, I'm back to the "missing title" prompt I guess I am missing something else. Can you point me in the right direction ? (Twill 3) This is not a translating system, its just a single UK language Many thanks
1 Reply
FutterByngus
FutterByngus12mo ago
Have managed to solve the problem. Thanks. In case anyone else has similar issues, I erroneously set a "title" property on the model to be my registration when in fact i needed to set a registration property to "registration" and the slugAttributes to registration and then things started to work