Blesta Addons Posted April 14, 2018 Report Posted April 14, 2018 we have a plugin widget, that is well rendered and working, the only issue we have that this widget not remember the area placed in it last time as other widget. and every time we change place area, after a page reload it return to the first place in the area_1 . is their any think we should look to it? Quote
Blesta Addons Posted April 16, 2018 Author Report Posted April 16, 2018 We have found the solution, it not mentioned in the docs and it should be, the widget id should be semilar to the widget path . for example the widget path is : widget/cashbox/admin_widget the widget create id attribute should be some thing like : $this->Widget->create( $this->_('AdminWidget.index.boxtitle', true), ['id'=>'widget_cashbox_admin_widget'], $this->Html->ifSet($render_section, null) ); so if you put anything else the order will not work, ['id'=>'cashbox_widget_admin'] Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.