IRC logs for #farmOS, 2020-03-18 (GMT)

2020-03-17
2020-03-19
TimeNickMessage
[21:58:59]* JustTB has quit (Quit: Leaving.)
[22:07:32]* JustTB has joined #farmos
[06:49:03]* JustTB has quit (Quit: Leaving.)
[07:43:42]* JustTB has joined #farmos
[10:50:43]* jpamias[m] has quit (Ping timeout: 245 seconds)
[10:50:45]* ringo[m] has quit (Ping timeout: 245 seconds)
[10:51:08]* alumbradr[m] has quit (Ping timeout: 245 seconds)
[10:51:08]* mstenta[m] has quit (Ping timeout: 245 seconds)
[10:51:33]* yenzand[m] has quit (Ping timeout: 245 seconds)
[10:52:24]* alumbradr[m] has joined #farmos
[10:52:29]* mstenta[m] has joined #farmos
[10:52:39]* yenzand[m] has joined #farmos
[10:53:53]* ringo[m] has joined #farmos
[10:54:29]* jpamias[m] has joined #farmos
[13:01:02]<skipper_is[m]>Good evening again :P I'm looking to rename some area types in FarmOS... I did this before by renaming paddock to pasture, but is there a way of adding a new area type?
[13:02:43]<mstenta[m]>Yes skipper_is you can via a module
[13:02:57]<skipper_is[m]>Yea, thats what I was thinking
[13:03:13]<mstenta[m]>https://github.com/farmOS/farmOS/blob/7.x-1.x/modules/farm/farm_crop/far...
[13:03:16]<skipper_is[m]>I was just looking to see whether there are any existing examples
[13:03:34]<skipper_is[m]>Oh yea, I suppose I could just look at the source :P
[13:03:38]<mstenta[m]>https://github.com/farmOS/farmOS/blob/7.x-1.x/modules/farm/farm_livestoc...
[13:03:51]<mstenta[m]>I'm on a call at the moment - but hopefully that helps!
[13:04:14]<skipper_is[m]>Yea, no worries! I'll have a poke about!
[13:06:19]<mstenta[m]>You basically just need a custom module with that hook
[13:08:29]<skipper_is[m]>Thats great, thank you!
[14:49:42]<skipper_is[m]>Will that work with the previous version of FarmOS?
[14:56:10]<mstenta[m]>yep!
[14:56:37]<mstenta[m]>oh i think
[14:56:42]<mstenta[m]>yea i don't think that hook changed...
[14:56:52]<mstenta[m]>only thing that was removed was the `zoom_levels` property that you might have noticed in the crop area types module
[19:47:49]* JustTB has quit (Quit: Leaving.)
[19:56:22]* JustTB has joined #farmos