I have this module that I made. It works fine, I can create entries and all. But i can't seem to figure out the proper way to use the tools that AdminController is giving me.
At this very moment, the field does appear in the edit panel of the object...
I've tried looking for tutorials, guides, scoured forums.... I'm lost. Why is it so hard?
PS : Small random question, how do i know which mode i'm in when in renderForm() ?
Question
SiliticX
I have this module that I made. It works fine, I can create entries and all. But i can't seem to figure out the proper way to use the tools that AdminController is giving me.
I tried adding this in my ObjectModel
'picture' => array('type' => self::TYPE_STRING, 'validate' => 'isString', 'required' => false),
And the field in my inputs list:
Then I tried adding this in my construct:
At this very moment, the field does appear in the edit panel of the object... I've tried looking for tutorials, guides, scoured forums.... I'm lost. Why is it so hard?
PS : Small random question, how do i know which mode i'm in when in renderForm() ?
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now