| 02:31 | * | JustTB has quit (Ping timeout: 248 seconds) |
| 02:46 | * | JustTB has joined |
| 03:14 | johanness_charle | Assistance please I get this error while accessing my FarmOs : |
| 03:14 | johanness_charle | Error |
| 03:14 | johanness_charle | The website encountered an unexpected error. Please try again later. |
| 03:14 | johanness_charle | Error messagePDOException: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in lock_may_be_available() (line 167 of /var/www/html/includes/lock.inc). |
| 06:46 | * | JustTB has quit (Quit: Leaving.) |
| 07:43 | * | JustTB has joined |
| 07:53 | karna[m] | mstenta: got it! I'd been looking into the Node View Permissions Drupal module used to limit permission for individuals to their own content but not sure how relevant that is |
| 07:54 | karna[m] | I'm only getting to know Drupal now for the first time but gonna play around with things and see what I can come up with |
| 07:54 | karna[m] | I'll keep you posted |
| 08:31 | * | JustTB has quit (Quit: Leaving.) |
| 08:35 | * | JustTB has joined |
| 10:07 | karna[m] | I've just been working on installing a database for Drupal using MAMP (OSX) to configure Drupal locally. |
| 10:07 | karna[m] | Any idea how I go about getting farmOS into my local environment in the same way such that I have access to the graphical content management tools? Do I need to build the codebase with Drush first? |
| 11:56 | mstenta[m] | @karna:matrix.org: farmOS is a Drupal distribution, which basically means it includes Drupal core and farmOS modules together |
| 11:56 | mstenta[m] | You can download the full package from drupal.org/project/farm |
| 11:56 | mstenta[m] | And treat that the same way you would a normal drupal codebase |
| 11:57 | mstenta[m] | You can't really add farmOS to an existing Drupal codebase... At least not easily |
| 11:57 | mstenta[m] | (well you could, if you knew what you needed, but much easier to start with the packaged release) |
| 14:13 | mstenta[m] | ATTENTION! |
| 14:13 | mstenta[m] | Official announcement... :-) |
| 14:13 | mstenta[m] | farmOS now has a community forum: farmos.discourse.group |
| 14:14 | mstenta[m] | Hosting and maintenence generously provided by Discourse |
| 14:15 | mstenta[m] | Hopefully this will provide a better place for long-running discussions, support requests, etc |
| 14:15 | mstenta[m] | Github can still be used for feature requests, bug reports, etc |
| 15:08 | karna[m] | Good stuff Mike, I've got it how I need it now :) |
| 15:18 | * | JustTB has quit (Ping timeout: 272 seconds) |
| 15:50 | mstenta[m] | karna: great! |
| 16:19 | * | JustTB has joined |
| 18:18 | * | JustTB has quit (Ping timeout: 258 seconds) |
| 20:14 | * | JustTB has joined |
| 22:09 | * | uploaded an image: Screenshot 2019-06-19 at 23.09.05.png (93KB) < matrix.org/_matrix/media/v1/download/mat > |
| 22:10 | karna[m] | mstenta: As a simple modification, I want to remove 'Animals' from the assets drop-down button. I've deleted a bunch of things using phpmyadmin, which has removed it from the list but it still appears on the drop-down menu. Any idea where I should be looking? |
| 22:11 | mstenta[m] | @karna:matrix.org: you can just disable the livestock module |
| 22:12 | mstenta[m] | > I've deleted a bunch of things using phpmyadmin, which has removed it from the list but... |
| 22:12 | mstenta[m] | Yikes! You shouldn't make direct changes to the database - you may be in a broken state now |
| 22:12 | mstenta[m] | Do you have a backup? |
| 22:15 | * | JustTB has quit (Quit: Leaving.) |
| 22:19 | * | farmBOT has joined |
| 22:19 | mstenta[m] | > Oh crap was that all I needed to do? |
| 22:19 | mstenta[m] | > Yep I have a back-up, lemme get everything back in order |
| 22:20 | mstenta[m] | Hehe yep that's all! Glad to hear you have a backup! :-) |
| 23:18 | karna[m] | Messed up a bit worse than i realised so took a lil while to rectify but all good now! |
| 23:18 | karna[m] | Now say I wanted to modify the log drop-down/limit it to just harvests and activities, what would be the best way to go about that? |
| 23:18 | karna[m] | I'm then gonna play around with the form for recording harvest data to make it more suitable for my team's use which seems to be quite straightforward by altering the farm_log_harvest.etc files |
| 23:24 | mstenta[m] | Most of the log types are provided by individual modules that can be disabled |
| 23:25 | mstenta[m] | Except for ones that come with other asset types |
| 23:25 | mstenta[m] | For example: equipment module provides the equipment asset type and the maintenance log type |
| 23:25 | mstenta[m] | And crop module provides planting assets as well as seeding and transplanting logs |
| 23:26 | mstenta[m] | Regarding harvest customization: you might want to consider writing a quick form |
| 23:26 | mstenta[m] | Instead of modifying farmOS code |
| 23:27 | mstenta[m] | The risk of modifying farmOS code is that you will have trouble upgrading in the future |
| 23:27 | mstenta[m] | You can avoid that by building/modifying things via custom modules |
| 23:28 | mstenta[m] | Take a look at the egg module for an very simple example quick form |
| 23:28 | mstenta[m] | GitHub.com/farmOS/farm_eggs |
| 23:30 | * | farmBOT has joined |
| 23:31 | mstenta[m] | > That makes sense. I'll take a look tomorrow and see what I can come up with. Thank you so much for your help Mike |
| 23:31 | mstenta[m] | Sure thing! Good luck! |