Blesta Addons Posted August 28, 2014 Report Share Posted August 28, 2014 i want to set teh order widgets in client area . in the announcement plugin , i want to put a widget in the top of other widgets , now he is renderer as the last widget . in the docs class there are a reorderWidgets() function , but no more info how it work . Quote Link to comment Share on other sites More sharing options...
Blesta Addons Posted August 29, 2014 Author Report Share Posted August 29, 2014 i'm almost sure there are no option to order the widget is client side . but i have get what i want with a tips . i have make in the widget a blestaRequest to another widget and i append the html data to the right_content div . in the second widget i have put my sql result also i have just discover that $this->setMessage is not working with $this->outputAsJson($response); Quote Link to comment Share on other sites More sharing options...
Daniel B Posted August 29, 2014 Report Share Posted August 29, 2014 widgets are drag and drop, so can be put in any order the client wants, or are they only drag and drop in the admin panel? Quote Link to comment Share on other sites More sharing options...
Blesta Addons Posted August 29, 2014 Author Report Share Posted August 29, 2014 reorder widget is just for admin panel . for client area , i beleive it take the order from thier ID in database . so now way now to re-order widget in client side . Quote Link to comment Share on other sites More sharing options...
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.