A little more Updated (farmOS v1 -> v3)

Yes, we follow the best practice of keeping the vendor directory outside of the webroot. So our tarball is actually meant to be one level up from the webroot. That’s why I said above:

Yes farmOS v1 and v2+ are very different (again, because Drupal 7 and Drupal 9 are very different). Thankfully this will not be the case with major version changes moving forward. It’s a shame you didn’t start building on v3. :sweat_smile:

Yes that is one difference with v1. The season terms used to have a start and end date on them. They do not anymore. If you need them, I can help show you how to add fields to entities from within your custom module.

This page lists some of the other changes: https://farmos.org/development/api/changes/#2x-vs-1x

Is it any database entity model diagram that can be use? Other deep mod was around UI platform… A report and quick form created in V1 it doesn’t show anywhere in V3… I believe that is something about hook… Am I right? Tks

:grin:

that’s ok… the benefit of using the most current drupal platform makes me think that it is worth any new effort

1 Like

Here are some resources we wrote for v3, in case they are helpful!

If you had a custom report (or any custom routes/pages) this generic Drupal documentation may help: https://www.drupal.org/docs/drupal-apis/routing-system/introductory-drupal-routes-and-controllers-example

Hello again Mike and others,

I’ve been very busy in the last few weeks and I haven’t been able to continue my studies with creating a module for version 3. This week I went back to my studies, but in none of these links I was able to see anything clear on how to start a module.

Another thing, my module needs to plot a graph and I also didn’t see the same tool that I used before, on this new version for the farmOs

Many thanks… But, sorry, on this links that you posted, I could not see any rich contribution like this link for old release:

Please, is there a path of links or a simple one with better explanation? I confess that I have difficult to understand the connection with .yml files with the pratice found on the screens

TIA

1 Like

Hi @brazilcr - did you see the development docs on farmOS.org? It isn’t a video walkthrough but should cover most of the basics.

You might also find some useful information by watching this recent recording about creating a custom CSV importer module: