- last update
about 1 year ago 93 pass - π©πͺGermany Antoniya
Rerolled the last patch as it was failing to apply with the latest module version.
- last update
10 months ago PHPLint Failed - last update
10 months ago 93 pass
When creating/editing a node, I'd like to only show the Domain Access field in the advanced node settings, not the "Send to all affiliates" field. However, in this case neither shows.
This is because the code which moves the fields into the advanced node settings checks for the presence of _both_ fields, not just either one.
Enable Domain Content. At /admin/config/domain/domain_access
check Move Domain Access fields to advanced node settings.
Go to Manage form display
on a content type, and enable both Domain Access and "Send to all affiliates" fields. Verify that when creating/editing a node of that content type, both fields show up in the advanced node settings.
Then go back to Manage form display
and disable the "Send to all affiliates". Go back to the node add/edit form; neither field is visible now, but it's expected to see the Domain Access field.
Change the if
statement in domain_access_form_node_form_alter()
to check separately for the presence of each field.
Patch to follow.
Needs review
1.0
- Domain Content
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Rerolled the last patch as it was failing to apply with the latest module version.