File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,9 +32,10 @@ protected function getSettings()
3232 $ settings = [];
3333
3434 foreach ($ models as $ model ) {
35- $ settings [$ model ->getAttribute ('name ' )] = $ model ->getAttribute ('value ' );
35+ $ settings ['title ' ] = $ model ->title ;
36+ $ settings ['htmlCode ' ] = $ model ->htmlCode ;
37+ $ settings ['sortOrder ' ] = $ model ->sortOrder ;
3638 }
37-
3839 return $ settings ;
3940 }
4041
@@ -81,4 +82,4 @@ public function getOrder()
8182 {
8283 return $ this ->getSetting ('sortOrder ' , 100 );
8384 }
84- }
85+ }
Original file line number Diff line number Diff line change 11# Changelogs
22
3+ ### Release v1.2.3 (** TBA** )
4+ - Fix: Sort Order
5+
36### Release v1.2.2 (* 7/10/2024* )
47- Enh: New HTML Parser class
58- Enh: Display render of HTML widgets in settings
Original file line number Diff line number Diff line change 11{
22 "id" : " codebox" ,
3- "version" : " 1.2.2 " ,
3+ "version" : " 1.2.3 " ,
44 "name" : " Codebox" ,
55 "description" : " Allows you to add and use HTML snippets on your Dashboard sidebar." ,
66 "humhub" : {
You can’t perform that action at this time.
0 commit comments