< 012023-06-02⋎03 >

Topic for #farmOS is: farmOS (farmos.org) is a free and open source, web-based farm management system. User guide: farmos.org/guide/ - Forum: farmOS.discourse.groupSet by mstenta on 2021-06-15 at 12:52
11:50*UzelJames[m] has joined
11:50UzelJames[m]Hi guys
11:52UzelJames[m]can anyone show me how to create forms on farmos?
11:52mstenta[m]Hi Uzel James
11:53mstenta[m]This might be a good place to start: farmos.org/development/module/quick/
11:53mstenta[m]And if you are new to module development, start here: farmos.org/development/module/
11:53UzelJames[m]Im grateful
11:53mstenta[m]farmOS is built on Drupal, and farmOS "Quick Forms" are basically a thin layer on top of Drupal's Form API - so you can refer to Drupal documentation for a LOT more details on what's possible
11:54mstenta[m]www.drupal.org/docs/drupal-apis/form-api
11:54UzelJames[m]Alright
11:54mstenta[m]A great place to start is by looking at example code in the Drupal Examples project: www.drupal.org/project/examples/
11:54mstenta[m]If you look at the code in that repo, you will see that it contains a number of Drupal modules, each demonstrating different core Drupal things.
11:55mstenta[m]This is the Form API examples module specifically: git.drupalcode.org/project/examples/-/tr
11:56UzelJames[m]okay thanks
11:57mstenta[m]All of that assumes that you want to build forms IN farmOS (in PHP)
11:57mstenta[m]Alternatively, you could build a form OUTSIDE of farmOS, which pushes data in via the API
11:57mstenta[m]In that case, you can build it in any language you feel comfortable with
11:57mstenta[m]Depends on what you are hoping to build
12:11UzelJames[m]I want to build a farm traceability app
12:12mstenta[m]Cool!
12:58*uploaded an image: (10KiB) < libera.ems.host/_matrix/media/v3/downloa >
12:58UzelJames[m]has anyone ever encountered this issue when running on docker ?
12:58UzelJames[m]if yes, how did he / she fix it?
12:59mstenta[m]Are you using the official Docker images and suggested Docker Compose? Or are you using your own custom configurations?
12:59UzelJames[m]official docker image for development
12:59mstenta[m]Was this set up using the development environment instructions? farmos.org/development/environment/
12:59UzelJames[m]yes
13:00mstenta[m]Hmm I'm not sure then. I've never encountered this.
13:00mstenta[m]What operating system?
13:00UzelJames[m]windows 11
13:00mstenta[m]Ah
13:00mstenta[m]Probably a windows vs linux file permissions issue?
13:00mstenta[m]I am unfamiliar with Windows, so I'm afraid I can't be much help
13:01mstenta[m]It says that it can't read the .htaccess file
13:01UzelJames[m]Will just switch to linux soon
13:01UzelJames[m]windows has issues
13:01UzelJames[m]mstenta[m]: yes

< 012023-06-02⋏03 >