@Aaron Cooper If that doesn’t work how about
Requirements::insertHeadTags('<meta content="whatever" />')
yeah it’s a clever solution!
@Bryn Heveldt see the docs: https://github.com/tractorcow/silverstripe-opengraph#configuration if you set the app ID and admin ID in your yml config, it won’t show a field in the CMS
@jonom has joined the channel
Any recommendations for managed north american reseller hosting providers? Looking for good value of course, but quality/reliability/performance is more important. For low traffic SS websites.
Since SS4 uses bootstrap, does anyone know if it’s possible/easy to use bootstrap input groups in the CMS? Would be nice to have an API for adding a field prefix/suffix like this:
@andrewhoule you might find ClassInfo handy too for inspecting class children and ancestry: https://api.silverstripe.org/4/SilverStripe/Core/ClassInfo.html
Hey all. I really like form scaffolding in SS so it bugs me that I have to manually create CMS fields for Pages. I often do shortcuts like
$this->dbObject('MyField')->scaffoldFormField() to save time, but there’s no such shortcut for hasMany or manyMany relations AFAIK, even though the logic is built in to FormScaffolder. I’m wondering if some of the logic from FormScaffolder should be redistributed and a
scaffoldFormField method added to HasManyList and ManyManyList so that we could get a quick an easy grid field from e.g.
$this->MyManyManyRelation()->scaffoldFormField(). Thoughts? (Start a thread pls!)
I’m off for the (Sun)day, thanks for the help everyone, definitely saved me some time!