Creating Express object worked fine and I need to create form for it as well. The form is created and the field set 'basics' is appearing as well but there are no fields in the Basics field set. Here's the code I used. It's basically a copy paste from the docs but not working.
Have one more related(I think) problem. I am reading a CSV and Creating Entry from it. That works just fine. They are listing. The problem is when I try to view them. The following error pops up.
Argument 1 passed to Concrete\Core\Express\Form\AbstractRenderer::__construct() must implement interface Concrete\Core\Express\Form\FormInterface,null given
I Solved this problem. It's just that the default form for view and edit was not being set in edit entity option. Also I couldn't find code to do that either.
I found that if the entity has been created with errors during a package installation, then you delete the package, change the code, reinstall the package - the old entity (assuming it's the same name) is still preserved.
After I uninstalled the package, deleted the entity manually in the Dashboard, reinstalled the package - the default form appeared.
Code
Post Reply
Delete Post
You are allowed to delete your post for 5 minutes after it's posted.
This website stores cookies on your computer. These cookies are used to improve
your website experience and provide more personalized services to you, both on this website and through
other media. To find out more about the cookies we use, see our Privacy Policy.
Any help appreciated :)