Skip to content

Commit 577bdb1

Browse files
committed
signalpoint#376. Add change note.
1 parent 56ecfd8 commit 577bdb1

File tree

1 file changed

+33
-10
lines changed

1 file changed

+33
-10
lines changed

Diff for: UPGRADE.txt

+33-10
Original file line numberDiff line numberDiff line change
@@ -39,32 +39,55 @@ version of DrupalGap to another.
3939
| Version Change Notes for Developers |
4040
|=====================================|
4141

42-
7.x-1.0-rc2 => 7.x-1.0-rc3
42+
# 7.x-1.0-rc3 => 7.x-1.0-rc4
4343

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
4664

47-
OLD WAY:
65+
## Views row_callback row position has moved
4866

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+
```
4972
function my_module_articles_list_row(view, row) {
5073
return 'The position for this row is: ' + row.count;
5174
}
75+
```
5276

53-
NEW WAY:
54-
77+
*NEW WAY*
78+
```
5579
function my_module_articles_list_row(view, row) {
5680
return 'The position for this row is: ' + row._position;
5781
}
82+
```
5883

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
6285

6386
Required select lists now use an empty string value instead of -1 for the
6487
placeholder option. Any custom form validation you may have used that
6588
depended on this -1 value, needs to check for an empty string now instead.
6689

67-
7.x-1.7-alpha => 7.x-1.8-alpha
90+
# 7.x-1.7-alpha => 7.x-1.8-alpha
6891

6992
The user-profile.tpl.html file now contains a {:content:} placeholder to
7093
properly render a user account's content. If you have a custom theme, update

0 commit comments

Comments
 (0)