Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi, i have alot of content on my site that i cannot access via any domain. i think this may have happened when i upgraded from drupal 6 but due to the amount of nodes i have i didnt notice till it was far too late
so what i would like to be able to do is access content that is not assigned to a domain at all. then assign it to a domain. like the find orphaned products feature for the ubercart catalog
if you require more information let me know
Cheers
Comments
Comment #1
agentrickardIf you rebuild node access normally, all orphaned content will be assigned to the default domain.
Comment #2
human1101 CreditAttribution: human1101 commentedHi agentrickard, can you please elaberate on that a little as i dont know exactly what you mean by the "rebuild node access normally".
cheers
Comment #3
agentrickard* Go to admin/reports/status
* Find the "Node Access Permissions" section
* Follow the "Rebuild permissions" link.
Comment #4
human1101 CreditAttribution: human1101 commentedHi, agentrickard. i have rebuilt the node access permissions and i still have content that is not available on my default domain. its in the nabourhood of around 6,000 nodes. my experiance with the domain attribution area is that anything greater than say 300 does not get processed correctly by the bulk domain attribution area. so maybe there is something else that can be done
Comment #5
agentrickardYou could write an update hook to insert records into {domain_access} for nodes that are not present.
Comment #6
human1101 CreditAttribution: human1101 commentedSorry it took me a while to get back, Been away from my project for a bit.
I'm not really sure how to write the update hook that you are talking about. cheers