@@ -39,32 +39,55 @@ version of DrupalGap to another.
39
39
| Version Change Notes for Developers |
40
40
|=====================================|
41
41
42
- 7.x-1.0-rc2 => 7.x-1.0-rc3
42
+ # 7.x-1.0-rc3 => 7.x-1.0-rc4
43
43
44
- The "row_callback" function is now passed the row position in a different within
45
- a different variable:
44
+ ## New page.tpl.html placeholder token required
45
+
46
+ All themes must update their page.tpl.html file to include a single placeholder
47
+ for the div container attributes.
48
+
49
+ *OLD WAY*
50
+ ```
51
+ <div id="{:drupalgap_page_id:}" data-role="page" class="{:drupalgap_page_class:}">
52
+ <!-- ... -->
53
+ </div>
54
+ ```
55
+
56
+ *NEW WAY*
57
+ ```
58
+ <div {:drupalgap_page_attributes:}>
59
+ <!-- ... -->
60
+ </div>
61
+ ```
62
+
63
+ # 7.x-1.0-rc2 => 7.x-1.0-rc3
46
64
47
- OLD WAY:
65
+ ## Views row_callback row position has moved
48
66
67
+ The "row_callback" function is now passed the row position in a different within
68
+ a different variable (@see http://www.drupalgap.org/node/219):
69
+
70
+ *OLD WAY*
71
+ ```
49
72
function my_module_articles_list_row(view, row) {
50
73
return 'The position for this row is: ' + row.count;
51
74
}
75
+ ```
52
76
53
- NEW WAY:
54
-
77
+ * NEW WAY*
78
+ ```
55
79
function my_module_articles_list_row(view, row) {
56
80
return 'The position for this row is: ' + row._position;
57
81
}
82
+ ```
58
83
59
- For more info, see: http://www.drupalgap.org/node/219
60
-
61
- 7.x-1.0-rc1 => 7.x-1.0-rc2
84
+ # 7.x-1.0-rc1 => 7.x-1.0-rc2
62
85
63
86
Required select lists now use an empty string value instead of -1 for the
64
87
placeholder option. Any custom form validation you may have used that
65
88
depended on this -1 value, needs to check for an empty string now instead.
66
89
67
- 7.x-1.7-alpha => 7.x-1.8-alpha
90
+ # 7.x-1.7-alpha => 7.x-1.8-alpha
68
91
69
92
The user-profile.tpl.html file now contains a {:content:} placeholder to
70
93
properly render a user account's content. If you have a custom theme, update
0 commit comments