< 112020-06-12⋎13 >

farmOS (farmos.org) is a free and open source, web-based farm management system. User guide: farmos.org/guide/ - Feature requests and bug reports: github.com/farmOS/farmOS/issuesSet by ChanServ on 2018-08-16 at 14:32
02:04*farmBOT has joined
02:35*JustTB has quit (Quit: Leaving.)
02:48*JustTB has joined
09:05*JustTB has quit (Quit: Leaving.)
10:50*JustTB has joined
11:52mstenta[m]paul121: there are a few potential ways to do this
11:53mstenta[m]Views has some hooks that can add content to various places
11:53mstenta[m]drupal.stackexchange.com/questions/22143
11:54mstenta[m](That actually uses a theme preprocess hook, not a Views hook - but same idea)
11:55mstenta[m]That would be putting your custom content (form) into the View header itself
11:55mstenta[m]But another option would be to use the dashboard pane callback to add a form and a view side-by-side (rather than the form inside the View's markup)
12:10mstenta[m]> OK, pull request created. It's just your Navigation script, @mstenta - I wanted to be sure I had the workflow ok and all the bits on my machine.
12:10mstenta[m]kirsten-mc great!! Taking a look now - I'll comment in the PR conversation tab
15:16paul121[m]> But another option would be to use the dashboard pane callback to add a form and a view side-by-side (rather than the form inside the View's markup)
15:16paul121[m]ah yea, I thought this might work too. I'll try this too. Thanks!
16:39mindcls[m]Is there a way to set the default base map layer? I have to switch it every time I login to my site. I can't seem to find where to set Google Satellite or Hybrid as the default.
16:40symbioquine[m]It should remember which layer you selected previously.
16:40mstenta[m]@mindcls:matrix.org: it should remember which base map you select, but there's an outstanding issue we are trying to debug
16:41mstenta[m]github.com/farmOS/farmOS-map/issues/65
16:41mindcls[m]mstenta: ah ok, good to know that it's not necessarily something I'm doing at least
16:41mstenta[m]It's been hard to bail down
16:41mstenta[m]nail*
16:42mstenta[m]@mindcls:matrix.org: are you self hosting or using Farmier?
16:42mindcls[m]I'm self hosting
16:43mindcls[m]Shared hosting server, so it could/does cause me issues on certain things I want/try to do
16:43mstenta[m]Ok I wonder if there's some correlation there... I think most others who have had this problem are also around hosting. But I can't think why
16:45mindcls[m]Can't think of what server requirement that I may not have on/available that could block it
16:47mindcls[m]phpinfo shows it as a fairly typical setup as far as I can tell (been away from programming/webdev for a number of years now)
16:52mstenta[m]Right. I really can't think of why the server would make a difference
17:00mindcls[m]I don't think it's a server issue, every refresh it resets the base layer
17:03mindcls[m]It does the same using FF76 and Chrome83 on Win10, as well as FF76 on Ubuntu19.10 and FF76 Debian10
17:04mstenta[m]Question:
17:05mstenta[m]Go to /admin/config/development/performance
17:05mstenta[m]Is JS aggregation enabled?
17:06mindcls[m]No it's not
17:06mstenta[m]Ok try turning it on...
17:06mindcls[m]I thought it might have been something from an add-on, but I have absolutely no add-ons in my Chrome and it still managed to mess with things
17:06mindcls[m]ok, I'll give it a shot
17:09mindcls[m]nah, soft or hard refresh and it still defaults to no selected base layer
17:10mstenta[m]Ok was worth a try thanks
17:10mstenta[m]And just to confirm: does it work here?
17:10mstenta[m]farmOS.github.io/farmOS-map
17:13mindcls[m]It defaulted to Mapbox Satellite when I loaded that..
17:14mstenta[m]That is a standalone demo of the farmOS-map library, which is used in farmOS, but which has the same base layer memory code
17:14mstenta[m]And if you change to Google and refresh?
17:16mindcls[m]FF/Linux went back to Mapbox Sat, FF/win and Chrome/win both refreshed fine, just reset zoom levels
17:17mstenta[m]Ok
17:17mstenta[m]That's similar to what others have said
17:17mstenta[m]The demo works
17:17mstenta[m]Inside farmOS doesn't
17:17mstenta[m]But it does work for me. I've never been able to replicate, which is part of the reason it hasn't been fixed :-)
17:18mindcls[m]I cleared all cookies/cache and tried again, FF/linux went back to Google maps for me this time
17:18mstenta[m]Although interesting that FF/Linux didn't work for you. That's what I use and it works. Could be related to settings/plugins though
17:19mstenta[m]Oh ok interesting
17:24mindcls[m]Tried another FF/linux test.. started a new instance of FF with a new clean profile in safe mode. It handled a hard refresh and still shows Google Maps
17:27mindcls[m]The clean profile doesn't even default to OpenStreetMap (well, not selected in the list)
17:32mstenta[m]Thanks @mindcls ! I wish I could stay to debug more but gotta watch the toddlers... If you discover anything please comment on the GitHub issue!
17:32mindcls[m]Thanks for the help.. got me digging deeper now
17:33mindcls[m]comparing my addon laden FF to a clean one, I'll dig a bit more yet and see if I can be of any help
17:35mstenta[m]Thank you!!

< 112020-06-12⋏13 >