mak001

i'm not a big fan of most amp implementations because they are missing basic features or images and graphs in articles

mak001

https://github.com/silverstripe/silverstripe-admin/issues/955

Show 1 attachment(s)
GitHub  
Expose InputField and FieldHolder for use in other modules · Issue #955 · silverstripe/silverstripe-admin

Exposing the InputField and the FieldHolder would allow developers to easily create their own custom field types that could not be done with a higher order component. An example of this would be a ...

Hide attachment content
mak001

display logic might work. https://github.com/unclecheese/silverstripe-display-logic

Show 1 attachment(s)
unclecheese/silverstripe-display-logic

The Display Logic module allows you to add conditions for displaying or hiding certain form fields based on client-side behavior.

Hide attachment content
mak001

i would also use $this->MemberID instead of $this->Member()->ID as it is simpler and will return 0 if there is no member associated with the dataobject. I can't remember how having no member association with $this->Member() works

👍 (1)
mak001

Security::getCurrentUser() might be returning null if not logged in

mak001

do you have a belongs_many_many on the page/dataobject (whichever doesn't have the many_many)?

vanny

it was only in model admin, the rest was fine, it would save. I made a couple of changes and it works now, I have a many many and a has many

mak001

at first i thought you typed the same package name twice

mak001

it works, i just forgot that ElementalAreasExtension removes the content field and the project needed it back in