purplespider

I've discovered you can do it on a per-field basis (http://www.silverstrip.es/blog/ss4-add-html-to-a-formfield-label/) but for this particular site it would be much easier to do it for all fields.

purplespider

Is there a way to revert the casting of FormField titles from 'Text' to 'HTMLFragment' so that they behave like they did in SS3?

purplespider

Any mod_rewrite masters around? The following used to block access to the CMS, but no longer does and I can't work out why!

  1. RewriteCond %{REQUEST_URI} ^/(admin|Security) [NC]
  2. RewriteRule (.*) $1 [R=404,L]
purplespider

Although not totally convinced the search for scaffoldSearchField is working due to the 's in the error message.

purplespider

Upgraded from 4.2.2 to 4.3.0, but getting [Emergency] Uncaught BadMethodCallException: Object->__call(): the method 'scaffoldSearchField' does not exist on 'PurpleSpider\StRule\PeopleGroup' and struggling to work out why, other than it’s probably to do with the new GridFieldFilterHeader. Anyone come across this?

purplespider

There we go, easy when you know how! Used getIDList() and then byIDs(), thanks @wmk!

🎸 (1)
purplespider

Thanks all! Ok, I'll give that a go. Yeh, thought it was odd there was no intersection method.

purplespider

If I have two different DataLists how can I end up with a new DataList which only includes the items that exist in both of the initial DataLists? (SS4.2)