Skip to main content
Dalton Rooney's user avatar
Dalton Rooney's user avatar
Dalton Rooney's user avatar
Dalton Rooney
  • Member for 8 years, 3 months
  • Last seen more than 1 year ago
answered
Loading…
revised
Loading…
comment
How to programatically disable an entry for a specific site
I just figured that out too. That works for me!
comment
How to programatically disable an entry for a specific site
Even when selecting a specific site in the query, $entry->enabled = false disabled the entry for all sites. I actually figured out why it wasn't saving (unrelated issue) but I'm still not clear on how to set the site for setEnabledForSite() In the docs it says "This can also be set to an array of site ID/site-enabled mappings" but I'm not clear on the format.
Loading…
awarded
awarded
answered
Loading…
revised
Loading…
revised
Multi-site entries have incorrect preview target
deleted 3 characters in body; edited title
Loading…
Loading…
Loading…
comment
Generating srcset in a similar way to WordPress
Yeah we don’t use many named transforms so that typically hasn’t been a problem in our case. We just generate them on the fly whenever the template is rendered and then the transformed assets are cached for future use.
answered
Loading…
comment
Feedme Pagination by Token
@dmatthams - Awesome, glad to hear it!
awarded
comment
Using a GraphQL mutation to append a block to a Neo field
This is the only working example of a matrix mutation I've been able to find. Thank you for posting!