| 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:52 | mstenta[m] | paul121: there are a few potential ways to do this |
| 11:53 | mstenta[m] | Views has some hooks that can add content to various places |
| 11:53 | mstenta[m] | drupal.stackexchange.com/questions/22143 |
| 11:54 | mstenta[m] | (That actually uses a theme preprocess hook, not a Views hook - but same idea) |
| 11:55 | mstenta[m] | That would be putting your custom content (form) into the View header itself |
| 11:55 | mstenta[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:10 | mstenta[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:10 | mstenta[m] | kirsten-mc great!! Taking a look now - I'll comment in the PR conversation tab |
| 15:16 | paul121[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:16 | paul121[m] | ah yea, I thought this might work too. I'll try this too. Thanks! |
| 16:39 | mindcls[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:40 | symbioquine[m] | It should remember which layer you selected previously. |
| 16:40 | mstenta[m] | @mindcls:matrix.org: it should remember which base map you select, but there's an outstanding issue we are trying to debug |
| 16:41 | mstenta[m] | github.com/farmOS/farmOS-map/issues/65 |
| 16:41 | mindcls[m] | mstenta: ah ok, good to know that it's not necessarily something I'm doing at least |
| 16:41 | mstenta[m] | It's been hard to bail down |
| 16:41 | mstenta[m] | nail* |
| 16:42 | mstenta[m] | @mindcls:matrix.org: are you self hosting or using Farmier? |
| 16:42 | mindcls[m] | I'm self hosting |
| 16:43 | mindcls[m] | Shared hosting server, so it could/does cause me issues on certain things I want/try to do |
| 16:43 | mstenta[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:45 | mindcls[m] | Can't think of what server requirement that I may not have on/available that could block it |
| 16:47 | mindcls[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:52 | mstenta[m] | Right. I really can't think of why the server would make a difference |
| 17:00 | mindcls[m] | I don't think it's a server issue, every refresh it resets the base layer |
| 17:03 | mindcls[m] | It does the same using FF76 and Chrome83 on Win10, as well as FF76 on Ubuntu19.10 and FF76 Debian10 |
| 17:04 | mstenta[m] | Question: |
| 17:05 | mstenta[m] | Go to /admin/config/development/performance |
| 17:05 | mstenta[m] | Is JS aggregation enabled? |
| 17:06 | mindcls[m] | No it's not |
| 17:06 | mstenta[m] | Ok try turning it on... |
| 17:06 | mindcls[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:06 | mindcls[m] | ok, I'll give it a shot |
| 17:09 | mindcls[m] | nah, soft or hard refresh and it still defaults to no selected base layer |
| 17:10 | mstenta[m] | Ok was worth a try thanks |
| 17:10 | mstenta[m] | And just to confirm: does it work here? |
| 17:10 | mstenta[m] | farmOS.github.io/farmOS-map |
| 17:13 | mindcls[m] | It defaulted to Mapbox Satellite when I loaded that.. |
| 17:14 | mstenta[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:14 | mstenta[m] | And if you change to Google and refresh? |
| 17:16 | mindcls[m] | FF/Linux went back to Mapbox Sat, FF/win and Chrome/win both refreshed fine, just reset zoom levels |
| 17:17 | mstenta[m] | Ok |
| 17:17 | mstenta[m] | That's similar to what others have said |
| 17:17 | mstenta[m] | The demo works |
| 17:17 | mstenta[m] | Inside farmOS doesn't |
| 17:17 | mstenta[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:18 | mindcls[m] | I cleared all cookies/cache and tried again, FF/linux went back to Google maps for me this time |
| 17:18 | mstenta[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:19 | mstenta[m] | Oh ok interesting |
| 17:24 | mindcls[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:27 | mindcls[m] | The clean profile doesn't even default to OpenStreetMap (well, not selected in the list) |
| 17:32 | mstenta[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:32 | mindcls[m] | Thanks for the help.. got me digging deeper now |
| 17:33 | mindcls[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:35 | mstenta[m] | Thank you!! |