How access widget from an action?

14 views
Skip to first unread message

ihsoil

unread,
Jun 27, 2012, 8:18:32 AM6/27/12
to diem-...@googlegroups.com
Hi,

I follow that tutorial: http://diem-project.org/diem-5-1/doc/en/howtos/add-a-form-on-your-site
And in the action apps/front/modules/contact/actions/actions.class.php I want to access to the widget. I want to have the id of the widget which have the form.

The dmFrontModuleActions can access to the dmPage (via getPage())... but I want to access to the widget... If someone can do that...


Stéphane

unread,
Jun 27, 2012, 6:27:07 PM6/27/12
to diem-...@googlegroups.com
You don't access widgets, but their forms. Via $this->forms[]

Regards

ihsoil

unread,
Jun 28, 2012, 7:17:40 AM6/28/12
to diem-...@googlegroups.com
Ok, thanks. I
Reply all
Reply to author
Forward
0 new messages