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