Jump to content
Sign in to follow this  
Blesta Addons

Plugin Widget Order

Recommended Posts

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?


Share this post

Link to post
Share on other sites

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->_('AdminWidget.index.boxtitle', true), 
			$this->Html->ifSet($render_section, null)

so if you put anything else the order will not work, 



Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this