stephenmcm

Actually you want to do composer remove package/name

stephenmcm

It needs to be an ArrayList/ArrayData raw arrays don't work well in templates

stephenmcm

After that either xdebug or var_dump will clue you in

stephenmcm
  1. <% with $Results %>
  2. $Debug
  3. <% end_with %>
✔️ (1)
stephenmcm

Right. I can't think of anything to improve it otherwise, plus what's there is clearly understandable.

stephenmcm

Assuming messages are in time sequence order couldn't you do $msg->ID - 4 and limit 9?

stephenmcm

I know at least in the unit test harness it cleans up during execution

stephenmcm

You'll need to add a has_many relationship and then use a eerr... I can never remember which one DropdownField on the getCMSFields of Product to bind the relation