Raúl Anguita Posted February 27 Share Posted February 27 Hello, I'm a retail developer. I'm not professional, just a hobbyist one. I worked before with Wordpress and Processwire and I'm used to work with PHP. I bought a week ago Invision Community and I'm trying to create a custom item type. I just need to create a content item with Title and Description (no categories or taxonomies implied) All examples I saw in doc was to create the source (model) but the documentation provided for the controller is (on my own view) useless or does not provide the info I need. There is any blank example or hello world with the CRUD to know how the Invision engine works? Thank you. Link to comment Share on other sites More sharing options...
Adriano Faria Posted February 27 Share Posted February 27 4 minutes ago, Raúl Anguita said: All examples I saw in doc was to create the source (model) but the documentation provided for the controller is (on my own view) useless or does not provide the info I need. The best way to do it is by viewing other examples. This may be outdated in some ways due to the time it was posted but the main idea is there: Link to comment Share on other sites More sharing options...
Raúl Anguita Posted February 27 Author Share Posted February 27 Wooo Thank you so much. I think Invision should re-think their own doc.... Thank you again. Link to comment Share on other sites More sharing options...
Daniel F Posted February 27 Share Posted February 27 We have a Hello World example in our docs Adriano Faria 1 Link to comment Share on other sites More sharing options...
Adriano Faria Posted February 27 Share Posted February 27 I tried the marketplace but didn't find. I seem to remember one of this there. Link to comment Share on other sites More sharing options...
Marc Stridgen Posted February 27 Share Posted February 27 Glad you have what you need there 🙂 Link to comment Share on other sites More sharing options...
Raúl Anguita Posted February 27 Author Share Posted February 27 28 minutes ago, Daniel F said: We have a Hello World example in our docs This example is not a CRUD one. In my point of view, your docs fails to explain all the methods implied on that. G17 Media 1 Link to comment Share on other sites More sharing options...
Adriano Faria Posted February 27 Share Posted February 27 12 minutes ago, Raúl Anguita said: This example is not a CRUD one. For a classic content item type, you just create the item, add the required methods, the form via formElements() and treat what's posted via formatFormValues() and/or processForm() method and you're done. The framework will do the rest. Link to comment Share on other sites More sharing options...
Recommended Posts