jim

Apologies, I didn't get one second to myself at the weekend 😿

jim

I don't have the env (or docker) set up at the moment so it won't be trivial for me, but I might get time to take a look this weekend

jim

Is this basically: > HTTP request using cURL or file_get_contents to retrieve the global-nav.html file

jim

I'm moving a hierarchal yaml config into the SiteConfig so it can be CMS editable.

  1. databases:
  2. staging:
  3. this:
  4. name:
  5. api:
  6. that:
  7. name:
  8. api
  9. production:
  10. ...etc.

In order to keep the strucure, would this be best done using a grid of DataObjects, or is there anything else magical?

jim

I'm just trying to work out what would warrant the extension over the utility class..

jim

@flamerohr by helper function you mean on a new class right? (my option 2)

jim

It's basically checking to see if the current subsite has been checked as "starred" (using CheckboxSetField) from the main site