View more context

 

nontgor

been a while since I've dealt with SS email. Is it possible to have a master template for the email and then, likes of Layout folder in site templates, have the actual email content embedded in that? I don't want to be editing multiple files if I can just edit one 🙂

sander_ha

@nontgor I useally use includes inside email templates

Dennis Basa Guinto

~Hello! Does anyone know an easy way to add plain column headers (no sorting) in a GridField?~ I just found gridfieldextensions' GridFieldTitleHeader. I almost created a custom GridField_HTMLProvider. https://gyazo.com/0bd0437fa05e947f8b7d277727b80622

Dennis Basa Guinto

I'm using the GridFieldSortableHeader as a component in there. The headers go away without it.

Dennis Basa Guinto

And I'm using the userforms module there by the way. It's just implemented on a certain non-SiteTree DataObject.

greg_808

Will silverstripe-mock-dataobjects be updated to work with ss4. Or is anyone planning to write a Faker module?

notim

Am I right in thinking that

  1. $gridFieldConfig = GridFieldConfig_RelationEditor::create();
  2. $gridFieldConfig->removeComponentsByType("GridFieldAddNewButton");

should remove the Add New button from the relation editor gridfield?