| 1 |
Upgrading Pageroute from 4.7.x to a 5.x version
|
| 2 |
------------------------------------------------
|
| 3 |
|
| 4 |
Pageroute has been substantially improved for 5.x, so some things have changed.
|
| 5 |
Most things do only concern developers, who should look at API.txt for a
|
| 6 |
documentation of the new API.
|
| 7 |
|
| 8 |
This document is about the changes, which are important and visible for users:
|
| 9 |
|
| 10 |
* You can upgrade pageroute like any other module, remove the old files,
|
| 11 |
add all new files and run your drupal's update.php.
|
| 12 |
|
| 13 |
* Pageroute arguments changed!
|
| 14 |
In 4.7.x the first pageroute argument was always interpreted as a user id and
|
| 15 |
the second argument as a node id.
|
| 16 |
I've changed the argument order for 5.x, so the first one is the node id and the
|
| 17 |
second one the user id.
|
| 18 |
So to go through the route as another user e.g. as user with the id 5, but without
|
| 19 |
passing a node id just us the URL:
|
| 20 |
pageroute_url/0/5
|
| 21 |
|
| 22 |
I've changed the argument's order, because of pageroute's future of a general
|
| 23 |
node creation/edit tool. So working with nodes is becoming more important, so
|
| 24 |
passing a node id will be used much more often than passing an user id!
|
| 25 |
|
| 26 |
|
| 27 |
* The experimental pageroute_workflow module has been removed. If you haven't used it,
|
| 28 |
nevermind. Otherwise have a look at the "States Module Integration", which is described
|
| 29 |
in the README.
|
| 30 |
|