| 01:15 | * | anashaddad[m] has quit (Ping timeout: 244 seconds) |
| 01:15 | * | michail[m] has quit (Ping timeout: 244 seconds) |
| 01:16 | * | peter[m]3 has quit (Ping timeout: 244 seconds) |
| 01:16 | * | samrose[m] has quit (Ping timeout: 244 seconds) |
| 01:16 | * | rafaeltcc[m] has quit (Ping timeout: 244 seconds) |
| 01:16 | * | abinash[m] has quit (Ping timeout: 260 seconds) |
| 01:17 | * | anashaddad[m] has joined |
| 01:17 | * | rafaeltcc[m] has joined |
| 01:17 | * | samrose[m] has joined |
| 01:19 | * | michail[m] has joined |
| 01:22 | * | peter[m]3 has joined |
| 01:22 | * | abinash[m] has joined |
| 01:31 | * | michail[m] has quit (Ping timeout: 244 seconds) |
| 01:46 | * | michail[m] has joined |
| 03:08 | * | JustTB has quit (Ping timeout: 256 seconds) |
| 03:21 | * | JustTB has joined |
| 04:42 | * | JustTB has quit (Quit: Leaving.) |
| 04:56 | * | JustTB has joined |
| 09:00 | * | antoine[m] has left ("Kicked by @appservice-irc:matrix.org : Idle for 30+ days") |
| 09:08 | * | JustTB has quit (Ping timeout: 240 seconds) |
| 09:23 | * | JustTB has joined |
| 09:54 | * | JustTB has quit (Ping timeout: 244 seconds) |
| 10:08 | * | JustTB has joined |
| 12:52 | tool172[m] | Question -> i created the farm_usda_reports.inc and .module. Since i need to store an api key, i figured i would rinse and reuse rather than rebuild, i stole from farm_maps_google for the api key hooks since there done and it needs to go under config. Do I need to add it to the install and uninstall files for the link before it will populate under the configuration page? |
| 12:53 | tool172[m] | i'm still trying to assimilate entity, bundle, node, field to my usual thinking of database, php, classes, etc. hence why 8 and 9 will be easier for me |
| 12:54 | mstenta[m] | tool172: do you have your code in a repo i can look at? |
| 12:54 | tool172[m] | i'll create it later today push it to git |
| 12:55 | mstenta[m] | my first thought: did you install the module and then add the config form? if so, you may need to clear caches or rebuild the menu in order to see it appear |
| 12:55 | tool172[m] | i did install, i need to probably install the config form on the install |
| 12:55 | tool172[m] | instead of assuming it would magically appear |
| 12:55 | tool172[m] | that's what i'm thinking the issue is. |
| 12:56 | tool172[m] | module shows up nicely and all that is bueno |
| 12:56 | mstenta[m] | yea, Drupal maintains a `{menu_router}` database table that is only rebuilt when modules are installed or when the menu cache is explicitly rebuilt |
| 12:56 | mstenta[m] | so if you installed the module and THEN added the menu item, it wouldn't show up automatically |
| 12:56 | mstenta[m] | need to rebuild the menu |
| 12:56 | tool172[m] | ah |
| 12:56 | mstenta[m] | easiest way to do that is just go to /admin/modules and click the submit button |
| 12:57 | mstenta[m] | alternatively, if you are using the official `farmos/farmos:dev` docker image, that includes Drush, and you can run: |
| 12:57 | mstenta[m] | `sudo docker exec -it farmos_www_1 drush cc menu` |
| 12:58 | tool172[m] | i'm working trowards setting up a docker for it |
| 12:58 | tool172[m] | i'm on adobe cs 5.5 |
| 12:58 | tool172[m] | so debating on buying phpstorm |
| 12:59 | tool172[m] | it worked |
| 12:59 | tool172[m] | no form so it crashed |
| 12:59 | tool172[m] | thanks |
| 13:00 | mstenta[m] | ah great! |
| 13:00 | mstenta[m] | the `farm_map_google` module might not be the best example of a simple config form... because it alters itself into another form |
| 13:01 | tool172[m] | i already chased it |
| 13:01 | tool172[m] | and edited the parent |
| 13:01 | tool172[m] | on my module |
| 13:01 | mstenta[m] | take a look at the config form for `farm_map` itself (which is what `farm_map_google` adds to) |
| 13:01 | mstenta[m] | ah ok great |
| 13:01 | tool172[m] | after this i'l have to use feeds to import |
| 13:01 | tool172[m] | then setup a feeds_ui wizard for report types ...yadda...yadda |
| 13:01 | tool172[m] | i'll open git once i start coding that part probably |
| 13:03 | tool172[m] | i need to fork it and run a docker image and all that |
| 13:04 | tool172[m] | right now i'm just deving on my production server site instead of my docker testing site |
| 13:04 | tool172[m] | i gotta run for the day, thanks for that...i'll take some notes into docker with me and work on getting the git setup |
| 13:05 | mstenta[m] | sounds good! good luck tool172 ! |