I’m just getting up and running with farmOS. FYI, I am not currently a farmer, but that is on the near horizon. That is why I’m trying this out as a self-hosted application on my personal computer.
I’ve gone through quite a bit of the administration aspect, and can’t seem to find where I can edit the asset navigation dropdown menu to reflect the assets I’ve added so far. Also, I won’t be tracking livestock, so I disabled the “Add Animal” menu link, yet it still shows up in the menu.
OK. I’ve gone through the links and played around a bit more. I was trying to update that menu through “Administration/Structure/Menus/Navigation”. After editing one of my asset links and changing the parent to “–Assets”, it shows up properly. I was then able to see how to access that menu in the future at “Administrarion/Structure/Menus/Farm”.
If you aren’t working with animals, you can turn off the “Farm Livestock” module entirely, and that will remove it from the menu. I would recommend that over messing with the “Admin > Structure > Menus” config (best to leave that default IMO - any changes to that will NOT be migrated into farmOS 2.x).
Adding custom asset types to farmOS is much easier in 2.x than in 1.x, FWIW. Here is the docs for that: Entities - farmOS 2.x Docs - If you’re just starting out and want to add custom types I might recommend waiting for that. You can begin playing around with 2.x now for custom module development, but I’d advise against using it with real data until the first “beta” release is tagged. In the meantime, use 1.x for real data.
@mstenta I just tried to turn off the “Farm Livestock” module. However, it is grayed out and I am unable to turn it off.
I’ve added a few custom asset types, but there isn’t any real data in there yet.
So I think I’ll just start from scratch to see if I can turn off the “Farm Livestock” module during setup.
This whole process is a way for me to learn farmOS and prepare for the farm my business partner and I are starting in the next couple of months. If I can have the software set up properly before we begin, it will make the record-keeping and data entry much easier.
That happens when the module is required by another one. My guess is the “Farm Livestock Weight” module is enabled, and that depends on “Farm Livestock”.
Also note: uninstalling is a two-step process: 1. Disable the module (in /admin/modules), 2. Uninstall the module (in /admin/modules/uninstall). In farmOS 2.x (Drupal 9) there is no “enabled/installed” distinction and you can only “uninstall” (which deletes any data from the database associated with that module).
The weight module wasn’t on. So I ended up deleting the entire site from my localhost, unzipped the file to my “www” directory, and did a fresh install.
It only took 10 minutes. Super easy to accomplish.
Now I can start fresh and install the mushroom module.
Great! For future reference you can see what modules are depending on a module by clicking on the little arrow next to the module description to expand it.