[05:00:05] | * linus0[m] has quit (Quit: Idle for 30+ days) |
[10:44:18] | <symbioquine[m]> | ACTION uploaded an image: (140KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/lkHQgYVqFhiuKLPO... > |
[10:45:55] | <symbioquine[m]> | Got it working ^ |
[10:46:16] | <symbioquine[m]> | It turns out that [this declaration](https://github.com/farmOS/farmOS/blob/92f854b9be271e06f2e005f14d64653eb4...) via [this logic](https://github.com/farmOS/farmOS/blob/92f854b9be271e06f2e005f14d64653eb4...) is how the plantings view gets placed at the bottom of the Crop/Varieties taxonomy pages. |
[10:47:07] | <symbioquine[m]> | However, that logic can't be used by other asset types to also place their views on the taxonomy because it's an associative array that can only have one value for `farm_asset`. |
[10:48:04] | <symbioquine[m]> | `hook_farm_ui_entity_views` is the way to go... |
[10:48:56] | <symbioquine[m]> | The format I was trying to figure out for those preview args is `all/{taxonomy_term_id}` |
[10:49:36] | <symbioquine[m]> | ACTION uploaded an image: (79KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/gSypHEHWhspHclki... > |
[10:51:06] | <symbioquine[m]> | ACTION < https://matrix.org/_matrix/media/r0/download/matrix.org/BQwBtYHsZdJrlPrf... > |
[13:20:51] | <paul121[m]> | Nice! |
[13:27:28] | <symbioquine[m]> | Is there a recommended strategy for turning off the bootstrap CDN usage for an offline-hosting use-case? I tried changing the Theme's CDN setting to "None", but that seems to result in the bootstrap CSS not getting loaded at all. I'm sure I can muddle through it by downloading the files that are being loaded from the CDN and changing the CDN settings to point at paths hosted by farmOS, but I'm curious whether there's |
[13:27:28] | <symbioquine[m]> | an easier/recommended way... |
[13:29:36] | <symbioquine[m]> | ACTION uploaded an image: (127KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/tMUIBedJNIXpQdvL... > |
[13:30:23] | <mstenta[m]> | Hmm yea I know it's possible but my memory of that themes internals is very fuzzy |
[13:30:32] | <mstenta[m]> | There might be instructions on the module project page |
[13:30:45] | <mstenta[m]> | Drupal.org/project/bootstrap |
[13:31:05] | <mstenta[m]> | (be sure they are D7 instructions..) |
[13:31:15] | <symbioquine[m]> | Cool, I'll look there... |
[13:31:28] | <mstenta[m]> | I think we have an open issue about Bootstrap CDN too fwiw |
[13:32:16] | <symbioquine[m]> | This one: https://www.drupal.org/project/farm/issues/2699109 ? |
[13:32:41] | <mstenta[m]> | Yes |
[13:33:10] | <symbioquine[m]> | Cool |
[13:33:16] | <mstenta[m]> | Oh already closed as won't fix haha |
[13:33:22] | <symbioquine[m]> | :) |
[13:35:15] | <symbioquine[m]> | Unless I find something clever in the Drupal Bootstrap docs, I think I'll probably go with the brute-force approach of downloading the files and pointing the custom CDN paths to copies hosted on the same server... |
[13:37:12] | <mstenta[m]> | I think that's roughly the "recommended" process too :-) |
[13:37:32] | <mstenta[m]> | farm_theme.info might be a place to start |
[13:37:43] | <mstenta[m]> | or admin/appearance |
[13:37:46] | <symbioquine[m]> | yeah |
[15:04:23] | <symbioquine[m]> | Any thoughts as to why it might be ignoring my custom paths and still loading the assets from jsdelivr? |
[15:04:30] | <symbioquine[m]> | ACTION uploaded an image: (163KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/RKfkxXNCWoBLxpXB... > |
[15:06:32] | <symbioquine[m]> | Interestingly, it's loading an asset that isn't even listed there too: https://cdn.jsdelivr.net/npm/@unicorn-fail/drupal-bootstrap-styles@0.0.2/dist/3.3.1/7.x-3.x/drupal-bootstrap.min.css |
[15:07:36] | <symbioquine[m]> | I've already cleared my caches to no avail. |