Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Okay, I give up. I am writing a plug-in that has an onAfterUserUpdate event handler. I have verified that the handler gets called (so do all the other handlers in this plugin). Good so far. However, I am calling $params->get('cb_myfield',0) to try to fetch the value of a checkbox field that is not defined in the install XML file. This field was added manually in the Field Manager to a tab that is defined in the XML file. I always get the default value for this field, which leads me to believe this can't be done.
I have tried forcing the plugin_id field to equal the id of the plugin where this handler is defined, but that made no difference. Is this a requirement to be able to use the $params->get function? Is having defined the tab in the XML for the plugin a requirement? The API document only talks about fields defined in the XML file being accessible this way in plugin code.
What am I missing?
Thanks in advance,
Bruce
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Helloworld does not clear anything up for me Nick. Sorry.
Please Log in or Create an account to join the conversation.