I’m using the List of Sites block to create a page for browsing all sites. However, I’m achieving this desired functionality by having a dedicated site for the browsing. Naturally, I don’t want to have the site listing site in the list of sites. I have hacked at the problem for a while, but can’t manage to exclude the site listing site from the listed sites and exclude it appropriately from the pagination navigation. That is, I can exclude it from
$sites that then gets iterated over to display the sites and I can decrement the navigation ceiling, but then I get a page with one fewer site than it should have, where “should have” means the navigation asserts the visitor is seeing sites 1–3 but only 1–2 are displayed.
I started down the road of essentially recreating the
Site/BlockLayout/ListOfSites functionality, but can’t figure out how to paginate the API results and realized I needed to come here to see whether there’s not a simpler/better way to do it.
To foreclose one possible response, the instance is hosted in such a way that I cannot write a custom module for this. Alas.